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 declare function _args(): string[]; export declare function _cwd(): string; export declare function _env(name: string): string | null; export declare function _exit(code: number): void; export declare function _isTTY(): boolean; export declare function _readStdin(): Promise; export declare function _setEnv(name: string, value: string): void; /** Deprecated context-injected wrapper kept during the ALS migration; * see `_openUrl`. */ export declare function __internal_openUrl(ctx: RuntimeContext, stack: StateStack, _threads: ThreadStore, url: string): Promise; /** ALS-reading replacement for `__internal_openUrl`. */ export declare function _openUrl(url: string): Promise; /** Deprecated; see `_screenshot`. */ export declare function __internal_screenshot(ctx: RuntimeContext, stack: StateStack, _threads: ThreadStore, filepath: string, x: number, y: number, width: number, height: number): Promise; /** ALS-reading replacement for `__internal_screenshot`. */ export declare function _screenshot(filepath: string, x: number, y: number, width: number, height: number, allowedPaths?: string[]): Promise; export declare function _setTitle(title: string): void;