import { IConnectMessage } from './IConnectMessage';
export default class Connect {
    readonly window: Window;
    private messagePrefix;
    static MESSAGE_PREFIX: string;
    private connectedBaseUrl;
    private errorsMap;
    /** @internal */
    constructor(window: Window, messagePrefix: string);
    /** @internal */
    handleMessageData(data: IConnectMessage): void;
    private updateConnectedBaseUrl;
    private interceptConsoleLogging;
    private bindErrorHandling;
    private polyfillErrorWithStack;
    private polyfillErrorEvent;
    private pushError;
    private getMessage;
}
