import type { Context } from '@wrongstack/core/agent'; import type { Tool } from '@wrongstack/core/types'; export interface BrowserOpenInput { url?: string | undefined; width?: number | undefined; height?: number | undefined; trace?: boolean | undefined; } export interface BrowserNavigateInput { sessionId: string; url: string; } export interface BrowserSnapshotInput { sessionId: string; } export interface BrowserScreenshotInput { sessionId: string; fullPage?: boolean | undefined; selector?: string | undefined; } export interface BrowserSelectorInput { sessionId: string; selector: string; } export interface BrowserTypeInput extends BrowserSelectorInput { text?: string | undefined; secretEnv?: string | undefined; } export interface BrowserSelectInput extends BrowserSelectorInput { value: string; } export interface BrowserPressInput { sessionId: string; key: string; } export interface BrowserDragInput { sessionId: string; from: string; to: string; } export interface BrowserWaitInput { sessionId: string; selector?: string | undefined; timeoutMs?: number | undefined; } export interface BrowserEvaluateInput { sessionId: string; expression: string; } export interface BrowserUploadInput extends BrowserSelectorInput { files: string[]; } export interface BrowserCloseInput { sessionId: string; } export declare const browserOpenTool: Tool; export declare const browserListTool: { name: string; description: string; permission: "auto"; mutating: false; riskTier: "safe"; capabilities: "net.outbound"[]; inputSchema: { type: string; properties: {}; }; execute(_input: Record, ctx: Context, _opts?: { signal: AbortSignal; }): Promise; }; export declare const browserStatusTool: Tool>; export declare const browserNavigateTool: Tool; export declare const browserSnapshotTool: Tool; export declare const browserScreenshotTool: Tool; export declare const browserClickTool: Tool; export declare const browserHoverTool: Tool; export declare const browserTypeTool: Tool; export declare const browserSelectTool: Tool; export declare const browserPressTool: Tool; export declare const browserDragTool: Tool; export declare const browserWaitTool: Tool; export declare const browserEvaluateTool: Tool; export declare const browserUploadTool: Tool; export declare const browserCloseTool: Tool; export declare const browserTools: Tool[]; export declare const BROWSER_TOOL_NAMES: readonly string[]; /** Bulk enable all browser automation tools in a ToolRegistry. */ export declare function enableBrowserSuite(registry: { enable(name: string): boolean; }): number; /** Bulk disable all browser automation tools in a ToolRegistry so they do not enter context. */ export declare function disableBrowserSuite(registry: { disable(name: string, reason?: 'user' | 'auto-thinned'): boolean; }): number; /** Check whether all browser tools are currently enabled in the registry. */ export declare function isBrowserSuiteEnabled(registry: { isDisabled(name: string): boolean; get(name: string): unknown; }): boolean; export declare function shutdownBrowserTools(): Promise; //# sourceMappingURL=tools.d.ts.map