import { AGENT_BROWSER_SANDBOX_VERSION } from "./version.js"; export { AGENT_BROWSER_SANDBOX_VERSION }; export type AgentBrowserArgs = readonly string[]; export interface AgentBrowserInstallOptions { readonly installBrowser?: boolean; readonly installSpec?: string; /** Install Chromium system libraries before installing agent-browser. Defaults to true. */ readonly installSystemDependencies?: boolean; } export interface AgentBrowserRunOptions { readonly binary?: string; readonly json?: boolean; readonly session?: string; } export interface AgentBrowserCommandResult { readonly command: string; readonly exitCode: number; readonly json: TJson | null; readonly stderr: string; readonly stdout: string; } export interface BuildAgentBrowserArgvOptions { readonly json?: boolean; readonly session?: string; } export interface BuildShellCommandOptions extends BuildAgentBrowserArgvOptions { readonly binary?: string; readonly env?: Readonly>; } export declare const DEFAULT_AGENT_BROWSER_INSTALL_SPEC = "agent-browser@0.34.0"; export declare class AgentBrowserCommandError extends Error { readonly command: string; readonly exitCode: number; readonly stderr: string; readonly stdout: string; constructor(result: Pick); } export declare function resolveAgentBrowserInstallSpec(options?: AgentBrowserInstallOptions): string; export declare function quoteShellArg(value: string): string; export declare function buildAgentBrowserArgv(args: AgentBrowserArgs, options?: BuildAgentBrowserArgvOptions): string[]; export declare function buildShellCommand(args: readonly string[], options?: BuildShellCommandOptions): string; export declare function createAgentBrowserCommandResult(input: { readonly command: string; readonly exitCode?: number; readonly stderr?: string; readonly stdout?: string; }): AgentBrowserCommandResult; export declare function throwIfCommandFailed(result: AgentBrowserCommandResult): AgentBrowserCommandResult; export declare function defaultSessionName(prefix: string, id: string): string; //# sourceMappingURL=shared.d.ts.map