import { AgentSessionRuntime, SettingsManager, type LoadExtensionsResult } from "@earendil-works/pi-coding-agent"; import type { DurableWorkerOptions } from "./worker-options.js"; /** Delete fabric_exec journals older than the retention window. Exported for tests. */ export declare function sweepFabricJournals(directory: string, now?: number): Promise; /** Match native headless trust: only global/explicit extensions can decide trust. */ export declare function resolveDurableProjectTrust(options: { cwd: string; agentDir: string; extensionsResult: LoadExtensionsResult; defaultProjectTrust: "ask" | "always" | "never"; }): Promise; /** * Apply the HTTP policy Pi's CLI applies at startup: the global `httpProxy` * setting, then a proxy-aware dispatcher honoring HTTP(S)_PROXY, NO_PROXY and * the idle timeout. The SDK does not export this bootstrap, so load the pinned * SDK's own module beside its entry instead of copying the proxy logic (#270). */ export declare function configureDurableHttp(settings: SettingsManager): Promise; /** A full native Pi runtime host whose Agent scheduling is owned by pi-durable. */ export declare function createDurableWorkerRuntime(options: DurableWorkerOptions): Promise; export declare function runDurableWorker(options: DurableWorkerOptions): Promise; //# sourceMappingURL=worker-host.d.ts.map