import type { CaptchaAction } from 'src/llm-connectors/llm-connector.js'; import { DOMHistoryElement } from '../dom/history-tree-processor/view.js'; import { DOMElementNode, DOMState } from '../dom/views.js'; import type { SelectorMap } from '../dom/views.js'; export declare class TabInfo { pageId: number; url: string; title: string; constructor(pageId: number, url: string, title: string); toDict(): { [key: string]: any; }; } export declare class BrowserState extends DOMState { url: string; title: string; tabs: TabInfo[]; screenshot?: string; captchaScreenshot?: string; captchaElem: DOMElementNode | null; pixelsAbove: number; pixelsBelow: number; browserErrors: string[]; pendingActions: CaptchaAction[]; pastActions: CaptchaAction[]; constructor(url: string, title: string, tabs: TabInfo[], elementTree: DOMElementNode, selectorMap: SelectorMap, screenshot?: string, pixelsAbove?: number, pixelsBelow?: number, browserErrors?: string[], pendingActions?: CaptchaAction[], pastActions?: CaptchaAction[]); } export declare class BrowserStateHistory { url: string; title: string; tabs: TabInfo[]; interactedElement: (DOMHistoryElement | null)[]; screenshot?: string; constructor(url: string, title: string, tabs: TabInfo[], interactedElement: (DOMHistoryElement | null)[], screenshot?: string); toDict(): { [key: string]: any; }; } export declare class BrowserError extends Error { constructor(message: string); } export declare class URLNotAllowedError extends BrowserError { constructor(message: string); } //# sourceMappingURL=view.d.ts.map