import { CRuntime } from "@collabs/collabs";
export declare class BroadcastSync {
    private name;
    private logger;
    private channel;
    constructor(name: string, logger?: typeof console.log | undefined);
    /** @internal **/
    listen(doc: CRuntime): void;
    private onMessage;
}
export type BroadcastSyncMessage = {
    type: 'update' | 'state' | 'getState';
    targetID: string | undefined;
    senderID: string;
    data: Uint8Array;
    clock: Map<string, number>;
};
