export declare type ConnectionOptions = {
    sharedWorkerUrl: string;
    experimental?: {
        crossTab?: 'same-site' | 'none';
    };
};

export declare const init: (options: ConnectionOptions) => Promise<void>;

export declare function rejectConnections(options?: {
    reason: string;
}): void;

export { }
