import { type Capability, type Host, type HostNetwork, type HostTerminal, type MakeHostArgs } from "./host.js"; export type BrowserHostOptions = { /** Defaults to the browser's row in `PLATFORM_CAPABILITIES`. */ capabilities?: Capability[]; /** The variables `env.get` and `settings.read` answer from: the API * keys and switches the app wants the program to see. */ variables?: Record; /** Where printed text goes. Without one, `print` and `writeOut` go to * `console.log` and `writeErr` to `console.error`. */ terminal?: Partial; /** What `network.fetch` answers with; the page's own `fetch` without. */ fetch?: HostNetwork["fetch"]; /** The working directory to report. "/" without. */ cwd?: string; onUse?: MakeHostArgs["onUse"]; onCallable?: MakeHostArgs["onCallable"]; }; export declare function browserHost(options?: BrowserHostOptions): Host;