type ResolvedReceiptScope = { invocationRoot: string; workingDirectory: string; repoRoot: string; runsRoot: string; }; export type NativePhaseSubcommand = "status" | "contract" | "session-start" | "preflight" | "run"; export type NativePhaseCommandOptions = { rootDir?: string; invocationRoot?: string; runsDir?: string; host?: string; runScanLimit?: number; }; export type NativePhaseContract = { objective: string; phase: string; allowedPaths: string[]; blockedPaths: string[]; budget: { maxUsd: number; maxIterations: number; maxCommands: number; }; verifiers: string[]; riskLevel: "medium" | "high"; requiresApproval: boolean; missingSafeguards: string[]; source: string; }; export type NativePhaseSnapshot = { ok: true; schemaVersion: "martin.phase-command-center.v1"; generatedAt: string; receiptScope: ResolvedReceiptScope; root: { hasPhaseWorkspace: boolean; hasSessionHook: boolean; }; phaseWorkspace: { available: boolean; activePhase: string | null; state: string; planTitle: string | null; sources: { plan: string | null; state: string | null; contract: string | null; }; missingSafeguards: string[]; }; runStore: { available: boolean; inspectedRuns: number; scanLimit: number; scanLimited: boolean; totalRuns: number; latestRun: NativePhaseRunSummary | null; runsNeedingTriage: NativePhaseRunSummary[]; warnings: string[]; }; contract: NativePhaseContract; sessionStart: { host: string; recommendedNextAction: string; commands: string[]; receiptScope: ResolvedReceiptScope; hostDiagnostics: { mode: "live" | "proof"; engine: string; codex?: { available: boolean; detail: string; resolvedPath?: string; candidatePaths?: string[]; selectedPath?: string; hostPlatform?: string; installKind?: string; nativeInstallValid?: boolean; invocationMode?: string; sandboxMode?: string; sandboxCompatible?: boolean; launchReady?: boolean; summary?: string; remediation?: string; candidateProbeResults?: Array<{ path: string; installKind: string; invocationMode: string; nativeInstallValid: boolean; sandboxCompatible: boolean; launchReady: boolean; summary: string; remediation?: string; nativeDependencyStatus?: string; nativeDependencyPackage?: string; }>; }; }; }; }; type NativePhaseRunSummary = { loopId: string; status: string; lifecycleState: string; title: string; verifier?: "passed" | "failed" | "unavailable"; budgetUsedUsd?: number | null; updatedAt: string | null; }; export declare function createNativePhaseCommandCenterSnapshot(options?: NativePhaseCommandOptions): Promise; export declare function buildNativePhaseRunRequest(contract: NativePhaseContract, options?: { cwd?: string; runsDir?: string; }): { deniedPaths: string[]; allowedPaths?: string[] | undefined; runsDir?: string | undefined; cwd?: string | undefined; workspaceId: string; projectId: string; title: string; objective: string; verificationPlan: string[]; metadata: { source: string; phase: string; riskLevel: "medium" | "high"; }; budget: { maxUsd: number; softLimitUsd: number; maxIterations: number; }; }; export declare function buildNativePhaseInvocation(command: "preflight" | "run", contract: NativePhaseContract, options?: { cwd?: string; runsDir?: string; }): string[]; export declare function selectNativePhasePayload(snapshot: NativePhaseSnapshot, subcommand: NativePhaseSubcommand): Record; export declare function renderNativePhaseHuman(snapshot: NativePhaseSnapshot): string[]; export {};