export interface DeployStepLike { status: string; detail: string; evidence?: Record; } export interface DeployInstanceLike { instance: string; wallet?: string; strategyId?: string; funded?: number; runtimeId?: string; /** D-6: this job created the wallet, its install failed, and the close+refund completed. */ rolledBack?: boolean; steps: Record; } export interface DeployReportLike { packageId: string; version: string; overall: string; instances: DeployInstanceLike[]; next?: string; /** The SOFT calculated-minimum tier — advisory, and never part of `overall`. */ minBudget?: number; minWalletCount?: number; belowMin?: boolean; minBudgetNote?: string; minBudgetUnresolved?: string[]; /** The OUTCOME tier — the backend funded a wallet short of the ask. Advisory, like the above. */ partialFundNote?: string; /** The OUTCOME tier's other half — the backend reported no readable funded amount. Advisory. */ fundedUnreadableNote?: string; } export interface DeployEventLike { seq: number; ts: string; type: string; phase?: string; instance?: string; step?: string; status?: string; detail: string; } export interface DeployLiveLayerLike { strategies: Array<{ strategyName: string; status: string; strategyWalletAddress: string; totalFunded?: number; }>; runtimes: Array<{ id: string; wallet?: string; }>; unavailable?: string; } export interface DeploySnapshotLike { meta: { deployId: string; packageId: string; version: string; packageDir: string; budget?: number; startedAt: string; }; state: { status: "running"; phase: string; stopRequested: boolean; } | { status: "done"; overall: string; } | { status: "interrupted"; }; events?: DeployEventLike[]; report?: DeployReportLike; live?: DeployLiveLayerLike; next?: string; /** ISO, quoted from the terminal journal line — see {@link durationEndMs}. */ endedAt?: string; } export declare function renderHeader(snap: DeploySnapshotLike, now: number): string; export declare function renderStepTable(report: DeployReportLike): string[]; export declare function renderEventsTail(events: DeployEventLike[], carried?: ReadonlyMap): string[]; export declare function renderReportFooter(report: DeployReportLike): string[]; /** Fresh-read layer, printed beside (never instead of) the journal narration. */ export declare function renderLiveLayer(live: DeployLiveLayerLike): string[]; export declare function renderDeploySnapshotLines(snap: DeploySnapshotLike, now?: number): string[]; /** The ONE place the D-12 map lives; the status action calls it. */ export declare function exitCodeForDeploy(snap: DeploySnapshotLike): number; /** CLI entry point: print the snapshot rendering. */ export declare function renderDeploySnapshot(snap: DeploySnapshotLike, now?: number): void; //# sourceMappingURL=deploy-render.d.ts.map