import * as z from "zod"; import { type BrowserControlDependencies, type BrowserControlInput, BrowserSessionVideoRecordingSchema, type BrowserControlToolOptions } from "./browser_runtime.js"; import type { BrowserSessionManager } from "./browser_session_manager.js"; export interface BrowserSessionToolOptions extends BrowserControlToolOptions { ownerId: string; sessionManager: BrowserSessionManager; } type BrowserSessionStartInput = BrowserControlInput & { recordVideo?: z.infer; }; export declare const createBrowserSessionStartTool: (options: BrowserSessionToolOptions, dependencies?: Partial) => import("langchain").DynamicStructuredTool; actions: z.ZodDefault; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"url">; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open">; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"goto">; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"click">; selector: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"type">; selector: z.ZodString; text: z.ZodString; submit: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"press">; key: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"wait">; ms: z.ZodOptional; selector: z.ZodOptional; url: z.ZodOptional; load: z.ZodOptional>; fn: z.ZodOptional; timeoutMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"ms">; ms: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sleep">; ms: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pause">; ms: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ selector: z.ZodOptional; url: z.ZodOptional; load: z.ZodOptional>; fn: z.ZodOptional; timeoutMs: z.ZodOptional; type: z.ZodLiteral<"wait_for">; }, z.core.$strip>, z.ZodObject<{ selector: z.ZodOptional; url: z.ZodOptional; load: z.ZodOptional>; fn: z.ZodOptional; timeoutMs: z.ZodOptional; type: z.ZodLiteral<"wait_until">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"extract_text">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"selector">; selector: z.ZodString; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"extract">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"getContent">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_content">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"querySelector">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"query_selector">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"screenshot">; path: z.ZodOptional; fullPage: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"path">; path: z.ZodString; fullPage: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"snapshot">; path: z.ZodString; fullPage: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"capture">; path: z.ZodString; fullPage: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"evaluate">; expression: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"expression">; expression: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"js">; expression: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"script">; expression: z.ZodString; }, z.core.$strip>], "type">>>>; headless: z.ZodOptional; timeoutMs: z.ZodDefault>; executablePath: z.ZodOptional; transport: z.ZodOptional>; recordVideo: z.ZodOptional; size: z.ZodOptional>; }, z.core.$strip>]>>; }, z.core.$strip>, BrowserSessionStartInput, { url?: string | undefined; actions?: ({ type: "wait"; ms?: number | undefined; selector?: string | undefined; url?: string | undefined; load?: "load" | "domcontentloaded" | "networkidle" | undefined; fn?: string | undefined; timeoutMs?: number | undefined; } | { type: "wait_for"; selector?: string | undefined; url?: string | undefined; load?: "load" | "domcontentloaded" | "networkidle" | undefined; fn?: string | undefined; timeoutMs?: number | undefined; } | { type: "wait_until"; selector?: string | undefined; url?: string | undefined; load?: "load" | "domcontentloaded" | "networkidle" | undefined; fn?: string | undefined; timeoutMs?: number | undefined; } | { type: "navigate"; url: string; } | { type: "url"; url: string; } | { type: "open"; url: string; } | { type: "goto"; url: string; } | { type: "click"; selector: string; } | { type: "type"; selector: string; text: string; submit?: boolean | undefined; } | { type: "press"; key: string; } | { type: "ms"; ms: number; } | { type: "sleep"; ms: number; } | { type: "pause"; ms: number; } | { type: "extract_text"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "selector"; selector: string; maxChars?: number | undefined; } | { type: "extract"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "getContent"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "get_content"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "querySelector"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "query_selector"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "screenshot"; path?: string | undefined; fullPage?: boolean | undefined; } | { type: "path"; path: string; fullPage?: boolean | undefined; } | { type: "snapshot"; path: string; fullPage?: boolean | undefined; } | { type: "capture"; path: string; fullPage?: boolean | undefined; } | { type: "evaluate"; expression: string; } | { type: "expression"; expression: string; } | { type: "js"; expression: string; } | { type: "script"; expression: string; })[] | undefined; headless?: boolean | undefined; timeoutMs?: number | undefined; executablePath?: string | undefined; transport?: "auto" | "playwright" | "relay" | undefined; recordVideo?: boolean | { dir?: string | undefined; size?: { width: number; height: number; } | undefined; } | undefined; }, { content: ({ name?: string | undefined; mimeType?: string | undefined; type: "resource_link"; uri: string; } | { type: "text"; text: string; } | null)[]; structuredContent: Record; }, "browser_session_start">; export declare const createBrowserSessionActionTool: (options: BrowserSessionToolOptions) => import("langchain").DynamicStructuredTool; actions: z.ZodDefault; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"url">; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open">; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"goto">; url: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"click">; selector: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"type">; selector: z.ZodString; text: z.ZodString; submit: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"press">; key: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"wait">; ms: z.ZodOptional; selector: z.ZodOptional; url: z.ZodOptional; load: z.ZodOptional>; fn: z.ZodOptional; timeoutMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"ms">; ms: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sleep">; ms: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pause">; ms: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ selector: z.ZodOptional; url: z.ZodOptional; load: z.ZodOptional>; fn: z.ZodOptional; timeoutMs: z.ZodOptional; type: z.ZodLiteral<"wait_for">; }, z.core.$strip>, z.ZodObject<{ selector: z.ZodOptional; url: z.ZodOptional; load: z.ZodOptional>; fn: z.ZodOptional; timeoutMs: z.ZodOptional; type: z.ZodLiteral<"wait_until">; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"extract_text">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"selector">; selector: z.ZodString; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"extract">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"getContent">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"get_content">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"querySelector">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"query_selector">; selector: z.ZodOptional; maxChars: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"screenshot">; path: z.ZodOptional; fullPage: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"path">; path: z.ZodString; fullPage: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"snapshot">; path: z.ZodString; fullPage: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"capture">; path: z.ZodString; fullPage: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"evaluate">; expression: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"expression">; expression: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"js">; expression: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"script">; expression: z.ZodString; }, z.core.$strip>], "type">>>>; timeoutMs: z.ZodDefault>; }, z.core.$strip>, { session_id: string; actions: ({ type: "wait"; ms?: number | undefined; selector?: string | undefined; url?: string | undefined; load?: "load" | "domcontentloaded" | "networkidle" | undefined; fn?: string | undefined; timeoutMs?: number | undefined; } | { type: "wait_for"; selector?: string | undefined; url?: string | undefined; load?: "load" | "domcontentloaded" | "networkidle" | undefined; fn?: string | undefined; timeoutMs?: number | undefined; } | { type: "wait_until"; selector?: string | undefined; url?: string | undefined; load?: "load" | "domcontentloaded" | "networkidle" | undefined; fn?: string | undefined; timeoutMs?: number | undefined; } | { type: "navigate"; url: string; } | { type: "url"; url: string; } | { type: "open"; url: string; } | { type: "goto"; url: string; } | { type: "click"; selector: string; } | { type: "type"; selector: string; text: string; submit: boolean; } | { type: "press"; key: string; } | { type: "ms"; ms: number; } | { type: "sleep"; ms: number; } | { type: "pause"; ms: number; } | { type: "extract_text"; maxChars: number; selector?: string | undefined; } | { type: "selector"; selector: string; maxChars: number; } | { type: "extract"; maxChars: number; selector?: string | undefined; } | { type: "getContent"; maxChars: number; selector?: string | undefined; } | { type: "get_content"; maxChars: number; selector?: string | undefined; } | { type: "querySelector"; maxChars: number; selector?: string | undefined; } | { type: "query_selector"; maxChars: number; selector?: string | undefined; } | { type: "screenshot"; fullPage: boolean; path?: string | undefined; } | { type: "path"; path: string; fullPage: boolean; } | { type: "snapshot"; path: string; fullPage: boolean; } | { type: "capture"; path: string; fullPage: boolean; } | { type: "evaluate"; expression: string; } | { type: "expression"; expression: string; } | { type: "js"; expression: string; } | { type: "script"; expression: string; })[]; timeoutMs: number; url?: string | undefined; }, { session_id: string; url?: string | undefined; actions?: ({ type: "wait"; ms?: number | undefined; selector?: string | undefined; url?: string | undefined; load?: "load" | "domcontentloaded" | "networkidle" | undefined; fn?: string | undefined; timeoutMs?: number | undefined; } | { type: "wait_for"; selector?: string | undefined; url?: string | undefined; load?: "load" | "domcontentloaded" | "networkidle" | undefined; fn?: string | undefined; timeoutMs?: number | undefined; } | { type: "wait_until"; selector?: string | undefined; url?: string | undefined; load?: "load" | "domcontentloaded" | "networkidle" | undefined; fn?: string | undefined; timeoutMs?: number | undefined; } | { type: "navigate"; url: string; } | { type: "url"; url: string; } | { type: "open"; url: string; } | { type: "goto"; url: string; } | { type: "click"; selector: string; } | { type: "type"; selector: string; text: string; submit?: boolean | undefined; } | { type: "press"; key: string; } | { type: "ms"; ms: number; } | { type: "sleep"; ms: number; } | { type: "pause"; ms: number; } | { type: "extract_text"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "selector"; selector: string; maxChars?: number | undefined; } | { type: "extract"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "getContent"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "get_content"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "querySelector"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "query_selector"; selector?: string | undefined; maxChars?: number | undefined; } | { type: "screenshot"; path?: string | undefined; fullPage?: boolean | undefined; } | { type: "path"; path: string; fullPage?: boolean | undefined; } | { type: "snapshot"; path: string; fullPage?: boolean | undefined; } | { type: "capture"; path: string; fullPage?: boolean | undefined; } | { type: "evaluate"; expression: string; } | { type: "expression"; expression: string; } | { type: "js"; expression: string; } | { type: "script"; expression: string; })[] | undefined; timeoutMs?: number | undefined; }, { content: ({ name?: string | undefined; mimeType?: string | undefined; type: "resource_link"; uri: string; } | { type: "text"; text: string; } | null)[]; structuredContent: Record; }, "browser_session_action">; export declare const createBrowserSessionCloseTool: (options: BrowserSessionToolOptions) => import("langchain").DynamicStructuredTool, { session_id: string; }, { session_id: string; }, { content: ({ name?: string | undefined; mimeType?: string | undefined; type: "resource_link"; uri: string; } | { type: "text"; text: string; } | null)[]; structuredContent: Record; }, "browser_session_close">; export declare const createBrowserSessionListTool: (options: BrowserSessionToolOptions) => import("langchain").DynamicStructuredTool, Record, Record, { content: ({ name?: string | undefined; mimeType?: string | undefined; type: "resource_link"; uri: string; } | { type: "text"; text: string; } | null)[]; structuredContent: Record; }, "browser_session_list">; export {};