/**
 * CollabAwareness — broadcasts workbook state changes to collab peers.
 *
 * Subscribes to workbook events (sheetAdded, sheetRemoved, sheetRenamed,
 * activeSheetChanged) and sends awareness updates via the CollabClient.
 * Debounces to avoid flooding (100ms).
 */
import type { CollabClient } from './collab-client.js';
export interface WorkbookLike {
    sheets: {
        on(event: 'sheetAdded' | 'sheetRemoved' | 'sheetRenamed' | 'activeSheetChanged', handler: (event: unknown) => void): () => void;
    };
    exportSnapshot(): Promise<{
        sheets: Array<{
            id: string;
            name: string;
            usedRange: string | null;
            cellCount: number;
        }>;
    }>;
}
export declare class CollabAwareness {
    private workbook;
    private client;
    private unsubscribers;
    private debounceTimer;
    constructor(workbook: WorkbookLike, client: CollabClient);
    private scheduleUpdate;
    private sendUpdate;
    destroy(): void;
}
//# sourceMappingURL=awareness.d.ts.map