import { Graph } from '../../../Class/Graph';
import { Unlisten } from '../../../types/Unlisten';
export declare const LOCAL_STORAGE_PREFIX_BROADCAST_SOURCE = "__BROADCAST__SOURCE__";
export declare const LOCAL_STORAGE_PREFIX_BROADCAST_TARGET = "__BROADCAST__TARGET__";
export type SystemBroadcast = {
    channel: BroadcastChannel;
    id: string;
};
export declare function localBroadcastSourceName(id: string): string;
export declare function localBroadcastTargetName(id: string): string;
export declare function hasLocalBroadcastSource(id: string): boolean;
export declare function hasLocalBroadcastTarget(id: string): boolean;
export declare function startBroadcast(prefix: string): SystemBroadcast;
export declare function startBroadcastSource(): SystemBroadcast;
export declare function startBroadcastTarget(): SystemBroadcast;
export declare function stopBroadcastSource(id: string): void;
export declare function stopBroadcastTarget(id: string): void;
export declare function shareLocalGraph(graph: Graph): {
    id: string;
    terminate: Unlisten;
};
