import type { ExtensionContext } from "@earendil-works/pi-coding-agent"; import type { AdapterState } from "../activation/state.ts"; export declare function stashLatestNativeWindowForPiCompactionFallback(ctx: ExtensionContext, branchEntries: ReturnType, runtime: { provider: string; api: string; baseUrl: string; }, state: AdapterState): boolean; export declare function getSupportedNativeCompactionProviders(state: AdapterState): string[]; export declare function rewriteCodexCompactedProviderRequest(payload: unknown, ctx: ExtensionContext, state: AdapterState): Promise; export declare function injectPendingNativeWindowIntoPiCompactionRequest(payload: unknown, ctx: ExtensionContext, state: AdapterState): Promise;