import IPostMessage from '../../FrontApplet/IPostMessage';
export default interface Exchange<TResponse> {
    postMessage: IPostMessage<TResponse>;
    messageNameToType(name: string): string;
    createNamespaced<TNamespacedResponse>(namespace: string): Exchange<TNamespacedResponse>;
}
export declare function createExchange<TResponse>(messagePrefix: string, postMessage: IPostMessage<any>): Exchange<TResponse>;
