import type { CliEvent, RuntimeState } from "../core/cli-types.js"; import type { RunConnectorOptions } from "../runtime/managed-playwright.js"; import { type LocalConnectorDeps } from "./local-connectors.js"; export interface PdppRuntimeOptions { /** A data-connectors checkout to run the connector from, instead of an artifact. */ from?: string; /** Limit collection and publication to these declared stream names. */ streams?: readonly string[]; /** Owner of the Personal Server the data goes to; state is kept per owner. */ owner?: string | null; /** How saved local connectors are looked up; tests inject their own. */ deps?: Partial; } /** * Runs Collection Profile connectors behind the same interface as the * managed Playwright runtime, so `vana connect` keeps one flow, one set of * prompts and one stream of JSON events for both connector formats. */ export declare class PdppRuntime { private readonly options; readonly kind: "pdpp"; private launch; private localPath; private cachedState; constructor(options?: PdppRuntimeOptions); get installSummary(): { lines: string[]; phase: string; }; get state(): RuntimeState; ensureInstalled(_autoApprove: boolean): Promise<{ runtime: RuntimeState; runtimePath: string | null; logPath?: string; }>; fetchConnector(source: string, _currentVersion?: string): Promise<{ connectorPath: string; logPath: string; version?: string; exportFrequency?: string; updated?: boolean; previousVersion?: string; /** The directory unsigned source runs from; absent for a pinned artifact. */ localPath?: string; }>; runConnector(options: RunConnectorOptions): AsyncGenerator; private execute; private interact; } //# sourceMappingURL=runtime.d.ts.map