
    d                       d dl mZ d dlmZ d dlmZmZmZmZm	Z	 	 d dlm
Z
 eZeeeegdf   Zee   Z G d d      Z G d d	      Z G d
 d      Z G d de
      Z G d de
d      Z G d dee      Z G d d      Zy#  d dlm
Z
 Y hxY w)    )annotations)Enum)AbstractSetAnyCallableLiteralUnion)	TypedDictNc                      e Zd Zy)ConsoleN__name__
__module____qualname__     H/server/volume/plugins/@scrypted/onnx/zip/unzipped/scrypted_sdk/other.pyr   r          r   r   c                  2    e Zd ZddZddZd	dZd
dZd Zy)Storagec                     y Nr   selfkeys     r   getItemzStorage.getItem       r   c                     y r   r   )r   r   values      r   setItemzStorage.setItem   r   r   c                     y r   r   r   s     r   
removeItemzStorage.removeItem   r   r   c                     y r   r   r   s    r   getKeyszStorage.getKeys   r   r   c                     y r   r   r$   s    r   clearzStorage.clear    r   r   N)r   strreturnr(   )r   r(   r   r(   )r   r(   )r)   zAbstractSet[str])r   r   r   r   r    r"   r%   r'   r   r   r   r   r      s    r   r   c                      e Zd ZU ded<   y)MediaObjectr(   mimeTypeNr   r   r   __annotations__r   r   r   r+   r+   $   s    Mr   r+   c                      e Zd Zy)RTCSessionDescriptionInitNr   r   r   r   r0   r0   (   r   r   r0   c                  ,    e Zd ZU ded<   ded<   ded<   y)NotificationActionr(   actiontitleiconNr-   r   r   r   r2   r2   ,   s    KJ
Ir   r2   F)totalc                      e Zd ZdZdZdZy)NotificationDirectionautoltrrtlN)r   r   r   r9   r:   r;   r   r   r   r8   r8   3   s    D
C
Cr   r8   c                      e Zd ZU ded<   ded<   ded<   ded<   ded<   ded	<   ded
<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   ded<   dddZdddZddZdddZd dZy)!	WebSocketintCLOSEDCLOSING
CONNECTINGdictEventTargetOPENzLiteral['blob', 'arraybuffer']
binaryTypebufferedAmountr(   
extensionsCallable[[dict], None]oncloseonerror	onmessageonopenprotocol
readyStateurlNc                     y r   r   r   typelisteneroptionss       r   addEventListenerzWebSocket.addEventListenerL   r   r   c                     y r   r   )r   codereasons      r   closezWebSocket.closeO   r   r   c                     y r   r   )r   events     r   dispatchEventzWebSocket.dispatchEventR   r   r   c                     y r   r   rQ   s       r   removeEventListenerzWebSocket.removeEventListenerU   r   r   c                     y r   r   )r   datas     r   sendzWebSocket.sendX   r   r   r   )rR   r(   rS   rH   rT   rB   r)   None)NN)rW   r>   rX   r(   r)   rb   )r[   rB   r)   bool)r`   z,str | bytes | bytearray | int | float | boolr)   rb   )	r   r   r   r.   rU   rY   r\   r^   ra   r   r   r   r=   r=   :   sm    KLO
I..O####%%""MO	Hr   r=   )
__future__r   enumr   typingr   r   r   r   r	   r
   typing_extensionsr(   SettingValueEventListenerlistr>   VibratePatternr   r   r+   r0   r2   r8   r=   r   r   r   <module>rl      s    "  = =,  #sC$./c	 	 " 		 	% C  g,+s   B   B
