import type { RuntimeContext } from "../runtime/state/context.js";
import type { StateStack } from "../runtime/state/stateStack.js";
import type { ThreadStore } from "../runtime/state/threadStore.js";
export type BrowserUseResult = {
    output: string;
    status: string;
    sessionId: string;
};
export type BrowserUseOptions = {
    apiKey?: string;
    model?: string;
    maxCostUsd?: number;
    proxyCountryCode?: string;
    outputSchema?: Record<string, unknown>;
    timeout?: number;
    allowedDomains?: string[];
};
/** Deprecated context-injected wrapper kept during the ALS migration;
 *  see `_browserUse`. */
export declare function __internal_browserUse(ctx: RuntimeContext<any>, stack: StateStack, _threads: ThreadStore, task: string, options?: BrowserUseOptions): Promise<BrowserUseResult>;
/** ALS-reading replacement for `__internal_browserUse`. */
export declare function _browserUse(task: string, options?: BrowserUseOptions): Promise<BrowserUseResult>;
