interface WebBrowserOptions {
    headless?: boolean;
    humanize?: boolean;
    proxy?: string;
    persistent?: boolean;
    userDataDir?: string;
    [key: string]: unknown;
}
export declare class WebBrowser {
    private browser;
    private context;
    private page;
    launch(options?: WebBrowserOptions): Promise<WebBrowser>;
    private launchPersistentContext;
    goto(url: string): Promise<string>;
    getContent(): Promise<string>;
    getText(selector: string): Promise<string>;
    screenshot(path: string): Promise<void>;
    evaluate<T>(script: string | ((arg: unknown) => unknown)): Promise<T>;
    waitForLoadState(state?: 'load' | 'domcontentloaded' | 'networkidle'): Promise<void>;
    close(): Promise<void>;
    findElements(selector: string): Promise<PageElement[]>;
}
interface PageElement {
    textContent: Promise<string | null>;
    exists: Promise<number>;
}
export declare const createWebBrowser: () => WebBrowser;
export {};
//# sourceMappingURL=web-browser.d.ts.map