import { Action } from '../types/Action';
export declare function openReceiverChannel(channel: string): BroadcastChannel;
export declare function openTransmitterChannel(channel: string): BroadcastChannel;
export declare function listenChannel(channel: string, listener: (data: {
    broadcastId: string;
    action: Action;
}) => void): () => void;
export declare function postMessage(channel: string, message: any): void;
