import type { ExtensionContext } from "@earendil-works/pi-coding-agent"; import type { CodexConversionConfig } from "../adapter/activation/config.ts"; import { type PreparedRealtimeContext, type RealtimePeerPlan, type VoiceControllerRuntime } from "./controller-start.ts"; import type { CodexRealtimeConversation } from "./conversation/session.ts"; interface RealtimeCompactionRefreshCallbacks { inputMuted(): boolean; replace(ctx: ExtensionContext, config: CodexConversionConfig, previous: CodexRealtimeConversation, plan: RealtimePeerPlan | undefined, inputMuted: boolean, prepared: PreparedRealtimeContext, signal: AbortSignal): Promise; } export declare class RealtimeCompactionRefresh { private readonly runtime; private readonly callbacks; private abortController; constructor(runtime: VoiceControllerRuntime, callbacks: RealtimeCompactionRefreshCallbacks); cancel(): void; run(ctx: ExtensionContext, config: CodexConversionConfig): Promise; private isCurrent; } export {};