import type { ExtensionCommandContext } from "@earendil-works/pi-coding-agent"; export interface Phase4Result { kbPathFinal: string; } export interface Phase4Context { cwd: string; bundleRoot: string; toolsRoot: string; projectName: string; configCache: Record; ctx: ExtensionCommandContext; isPiRuntime: () => boolean; getBundledToolsRoot: () => string; } /** * Run Phase 4 — Register: 11 deterministic steps. * * Returns `Phase4Result` on success or `"abort"` if Step 4-1 fails (missing store-cli.cjs). */ export declare function runPhase4(ctx4: Phase4Context): Promise;