import type { ClickParams, ClickResponse, Config, CreateTabParams, HealthResponse, LinkResponse, NavigationActionResponse, NavigateResponse, PresetsResponse, SnapshotResponse, StatsResponse, TabResponse, ToggleDisplayResponse, YouTubeTranscriptResponse } from "./types.js"; export declare class CamofoxClient { private readonly baseUrl; private readonly timeout; private readonly apiKey?; constructor(config: Config); healthCheck(): Promise; listPresets(): Promise; createTab(params: CreateTabParams): Promise; closeTab(tabId: string, userId: string): Promise; navigate(tabId: string, url: string, userId: string): Promise; navigateMacro(tabId: string, macro: string, query: string, userId: string): Promise; goBack(tabId: string, userId: string): Promise; goForward(tabId: string, userId: string): Promise; refresh(tabId: string, userId: string): Promise; click(tabId: string, params: ClickParams, userId: string): Promise; typeText(tabId: string, locator: { ref?: string; selector?: string; }, text: string, userId: string): Promise; smartTypeText(tabId: string, locator: { ref?: string; selector?: string; }, text: string, userId: string): Promise; pressKey(tabId: string, key: string, userId: string): Promise; scroll(tabId: string, direction: string, amount: number | undefined, userId: string): Promise; scrollElement(tabId: string, params: { selector?: string; ref?: string; deltaX?: number; deltaY?: number; scrollTo?: { top?: number; left?: number; }; }, userId: string): Promise<{ ok: boolean; scrollPosition: { scrollTop: number; scrollLeft: number; scrollHeight: number; clientHeight: number; scrollWidth: number; clientWidth: number; }; }>; evaluate(tabId: string, expression: string, userId: string, timeout?: number): Promise<{ ok: boolean; result?: unknown; resultType?: string; truncated?: boolean; error?: string; errorType?: string; }>; waitForReady(tabId: string, userId: string, timeout?: number, waitForNetwork?: boolean): Promise<{ ready: boolean; }>; hover(tabId: string, params: { ref?: string; selector?: string; }, userId: string): Promise; waitForText(tabId: string, userId: string, text: string, timeoutMs?: number): Promise; closeSession(userId: string): Promise; toggleDisplay(userId: string, headless: boolean | "virtual"): Promise; snapshot(tabId: string, userId: string, offset?: number): Promise; youtubeTranscript(url: string, languages?: string[]): Promise; screenshot(tabId: string, userId: string): Promise; getLinks(tabId: string, userId: string): Promise; getLinksWithOptions(tabId: string, userId: string, options?: { scope?: string; extension?: string; downloadOnly?: boolean; }): Promise; listTabDownloads(tabId: string, userId: string, filters?: { status?: string; extension?: string; mimeType?: string; minSize?: number; maxSize?: number; sort?: string; limit?: number; offset?: number; }): Promise; listUserDownloads(userId: string, filters?: { status?: string; extension?: string; mimeType?: string; minSize?: number; maxSize?: number; sort?: string; limit?: number; offset?: number; }): Promise; getDownload(downloadId: string, userId: string): Promise; getDownloadContent(downloadId: string, userId: string): Promise; deleteDownload(downloadId: string, userId: string): Promise; extractResources(tabId: string, params: { userId: string; selector?: string; ref?: string; types?: string[]; extensions?: string[]; resolveBlobs?: boolean; triggerLazyLoad?: boolean; maxDepth?: number; }): Promise; extractStructured(tabId: string, params: { userId: string; schema: Record; }): Promise; batchDownload(tabId: string, params: { userId: string; selector?: string; ref?: string; types?: string[]; extensions?: string[]; resolveBlobs?: boolean; concurrency?: number; maxFiles?: number; }): Promise; resolveBlobs(tabId: string, userId: string, urls: string[]): Promise; getStats(tabId: string, userId: string): Promise; exportCookies(tabId: string, userId: string): Promise; importCookies(userId: string, cookies: unknown[], tabId?: string): Promise; private requestJson; private requestBinary; private requestNoContent; private request; private buildHttpError; } //# sourceMappingURL=client.d.ts.map