export interface AppiumInPageDriverConfig {
    hostname?: string;
    isW3C?: boolean;
    path?: string;
    port?: number;
    protocol?: string;
    sessionId: string;
    capabilities: object;
    isMobile?: boolean;
    isIOS?: boolean;
    isAndroid?: boolean;
}
export interface Web2DriverSession {
    cmd: (commandName: string, ...args: any[]) => Promise<unknown>;
    connectedUrl: () => string;
    sessionId: () => string;
    capabilities: () => object;
    findElement: (using: string, value: string) => Promise<unknown>;
    findElements: (using: string, value: string) => Promise<unknown[]>;
    waitForElement: (ms: number, using: string, value: string) => Promise<unknown>;
    waitForElements: (ms: number, using: string, value: string) => Promise<unknown[]>;
    executeBase: (cmd: string, script: string, args: any[]) => Promise<unknown>;
    executeScript: (script: string, args: any[]) => Promise<unknown>;
    executeAsyncScript: (script: string, args: any[]) => Promise<unknown>;
}
export declare function initializeDriverInPage(config: AppiumInPageDriverConfig): Promise<unknown>;
export declare function setSessionInfo(config: AppiumInPageDriverConfig): void;
export declare function getSessionInfo(): AppiumInPageDriverConfig;
export declare function getDriver(): Promise<Web2DriverSession>;
//# sourceMappingURL=index.d.ts.map