import type { CliEvent, RuntimeState } from "../core/cli-types.js"; import type { RuntimeCapabilities } from "./core/index.js"; export interface RuntimeInstallResult { runtime: RuntimeState; runtimePath: string | null; logPath?: string; } export interface RunConnectorOptions { connectorPath: string; source: string; /** Output path for this run; defaults to the source's standard result path. */ resultPath?: string; pretty?: boolean; noInput?: boolean; signal?: AbortSignal; onNeedInput?: (event: NeedInputEvent) => Promise>; } export interface NeedInputEvent { message?: string; schema?: { properties?: Record; }; fields: string[]; responseInputPath: string; /** Collection Profile interaction kind; `manual_action` has no fields to fill. */ kind?: string; } export declare class ManagedPlaywrightRuntime { readonly kind: "playwright"; get installSummary(): { lines: string[]; phase: string; }; get capabilities(): RuntimeCapabilities; get runtimePath(): string | null; get state(): RuntimeState; ensureInstalled(_autoApprove: boolean): Promise; fetchConnector(source: string, currentVersion?: string): Promise<{ connectorPath: string; logPath: string; version?: string; exportFrequency?: string; updated?: boolean; previousVersion?: string; }>; runConnector(options: RunConnectorOptions): AsyncGenerator; } export declare function installChromium(logPath: string): Promise; export declare function installChromiumViaPackagedCli(logPath: string, browserCacheDir: string): Promise; export declare function getPlaywrightCliPath(): string | null; //# sourceMappingURL=managed-playwright.d.ts.map