/**
 * Batched update message format - matches Python server's 'u' type
 * The updates are sent as a flat object with 'type: u' for compatibility
 */
export interface BatchedMessage {
    type: 'u';
    [key: string]: unknown;
}
export declare class BatchedUpdate {
    private updates;
    add(key: string, value: unknown): void;
    get isEmpty(): boolean;
    /**
     * Convert to message format matching Python server's 'u' type
     * Updates are spread as top-level properties (not nested)
     */
    toMessage(): BatchedMessage;
    clear(): void;
}
//# sourceMappingURL=BatchedUpdate.d.ts.map