export interface DeployCommonOptions { repository?: string; commit?: string; json?: boolean; /** Injectable for tests. */ git?: (args: string) => string; fetchImpl?: typeof fetch; cwd?: string; } export interface DeployRecordOptions extends DeployCommonOptions { env?: string; status?: string; deployId?: string; deployUrl?: string; smokeJunit?: string; smokePassed?: string; smokeFailed?: string; smokeSuite?: string; } export interface DeployGateOptions extends DeployCommonOptions { from?: string; to?: string; } export interface ResolvedContext { repository: string; commitSha: string; licenseKey: string; } /** Exported for `journey run`, which posts through the same trust chain. */ export declare function resolveContext(options: DeployCommonOptions): ResolvedContext | null; /** * Minimal JUnit XML summary: sums tests/failures/errors/skipped attributes * across elements (§8 ingestion v1 — JUnit). */ export declare function parseJunitSummary(xml: string): { passed: number; failed: number; skipped: number; } | null; /** Exported for `journey run` — one posting path, not a copy (license + OIDC). */ export declare function postWithAttestation(params: { path: string; body: Record; licenseKey: string; fetchImpl: typeof fetch; }): Promise<{ status: number; ok: boolean; body: { ok?: boolean; error?: string; data?: Record; }; }>; export declare function deployRecordCommand(options?: DeployRecordOptions): Promise; export declare function deployGateCommand(options?: DeployGateOptions): Promise<'PROMOTE' | 'HOLD' | null>; //# sourceMappingURL=deploy.d.ts.map