export type PacketImpulse = 0 | 1; export declare const TYPE_PING = 0; export declare const TYPE_GET = 1; export declare const TYPE_SET = 2; export declare const TYPE_CALL = 3; export declare const TYPE_TASK = 4; export declare const TYPE_STREAM = 5; export declare const TYPE_STREAM_ERROR = 6; export type PacketType = typeof TYPE_GET | typeof TYPE_SET | typeof TYPE_CALL | typeof TYPE_TASK | typeof TYPE_STREAM | typeof TYPE_STREAM_ERROR; export declare enum StreamType { FIRST = 1, MIDDLE = 2, LAST = 3 }