/**
 * Sesame Wire Protocol - TypeScript Implementation
 *
 * Protobuf-based wire framing for all websocket packets.
 * Format: [4-byte LE header_size][serialized FrameHeader][payload]
 */
import { sesame } from './proto/api';
export declare const FrameType: typeof sesame.v1.wire.FrameType;
export type IFrameHeader = sesame.v1.wire.IFrameHeader;
export declare const FrameHeader: typeof sesame.v1.wire.FrameHeader;
export type IMediaCodecData = sesame.v1.wire.IMediaCodecData;
export declare const MediaCodecData: typeof sesame.v1.wire.MediaCodecData;
export declare const CodecType: typeof sesame.v1.wire.CodecType;
export interface ParsedFrame {
    valid: boolean;
    header: sesame.v1.wire.FrameHeader | null;
    payload: Uint8Array | null;
}
export declare class WireProtocol {
    /**
     * Serialize a wire frame: 4-byte LE header_size + protobuf FrameHeader + payload.
     */
    static serialize(header: sesame.v1.wire.IFrameHeader, payload?: Uint8Array | null): Uint8Array;
    /**
     * Parse an incoming wire frame.
     */
    static parse(data: Uint8Array): ParsedFrame;
}
//# sourceMappingURL=sesame-wire-protocol.d.ts.map