import { type StoredSession } from '@opensip-cli/contracts'; import { type CommandMountContext, type CommandSpec, type ToolRunCompletion } from '@opensip-cli/core'; import type { StagedEnvelopeEvidence } from '../bootstrap/run-plane.js'; import type { EvidenceBundleRun } from '@opensip-cli/session-store'; export interface ProjectStandaloneRunInput { readonly spec: CommandSpec; readonly opts: Readonly>; readonly positionals: readonly unknown[]; readonly ctx: TCtx; readonly stagedSession?: StoredSession; readonly stagedEnvelope?: StagedEnvelopeEvidence; readonly correlationRunId?: string; /** A separately proven delegated child already owns the authoritative row. */ readonly skipDelegatedSupervisor?: boolean; readonly suppressParent?: boolean; } export interface StandaloneRunProjection { readonly evidence: EvidenceBundleRun; readonly missingEvidence: boolean; readonly sessionId?: string; readonly tool: string; readonly command: string; } /** * Pure parent projection over evidence already staged by the host. This module * performs no datastore reads or writes: the command finalizer sends the * returned Run/RunStep beside the staged Session to one atomic bundle commit. */ export declare function projectStandaloneRun(input: ProjectStandaloneRunInput): StandaloneRunProjection | undefined; export declare function isDelegatedCompletion(value: unknown): value is ToolRunCompletion; export declare function commandLabel(spec: Pick): string; //# sourceMappingURL=run-ledger-standalone.d.ts.map