import { EPageToHostCmd } from "./EPageToHostCmd";
import { IDataCallback } from "./IDataCallback";
import { IDriver } from "./IDriver";
export interface IDataReceivedFromHost {
    transactionCode: string;
    data: any;
}
export declare class DriverWeb extends IDriver {
    _recipient: string;
    /** Stores callback functions by TAN */
    private callbackList;
    private static _instance;
    private static ALNUMCHARS;
    constructor();
    /**
     * Needed for identifying answers to requests sent back from host
     * @result: pseudo-random string
     */
    private generateTAN;
    private listenerFromHost;
    sendToHost(cmd: EPageToHostCmd, dataObj: any, callback?: IDataCallback<any>): void;
    detachListeners(): void;
}
