import type { ExtensionContext } from "@earendil-works/pi-coding-agent"; import type { AdapterState } from "../../adapter/activation/state.ts"; import type { createLazyCodexDiagnostics } from "../../diagnostics/lazy.ts"; import type { CodexPrewarmResult } from "../runtime.ts"; export declare function createCacheKeepaliveScheduler(state: AdapterState, startPrewarm: (ctx: ExtensionContext) => Promise | undefined, cancelPendingPrewarm: () => void, diagnostics: ReturnType): { arm: (ctx: ExtensionContext) => void; cancel: () => void; };