import { type ProgramIO } from '../cli-helpers.js'; /** The `--project` / `--json` pair every verb in this family declares. */ export type SopBaseOptions = { project?: string; json?: boolean; }; /** The fields a family success envelope carries. */ export type SopOutcome = { readonly json: boolean | undefined; readonly command: string; readonly data: unknown; readonly nextActions?: readonly string[]; }; /** The fields a family failure envelope carries. */ export type SopFailure = SopOutcome & { readonly code: string; readonly message: string; readonly data: Record; }; /** Print the family's success envelope. */ export declare function printSopOk(io: ProgramIO, outcome: SopOutcome): void; /** Print the family's failure envelope and mark the process failed. */ export declare function printSopFailure(io: ProgramIO, failure: SopFailure): void;