import type { AxiosInstance } from 'axios'; export declare const EVIDENCE_SCHEMA_VERSION: "newo.evidence/v1"; export type EvidenceState = 'PASS' | 'FAIL' | 'INCONCLUSIVE' | 'SUCCEEDED' | 'FAILED' | 'PARTIAL'; export type FaultOwner = 'client' | 'platform' | 'harness' | 'product' | 'unknown'; export interface EvidenceLocator { kind: string; path?: string; sha256?: string; media_type?: string; row_count?: number; identifiers?: Record; } export interface SideEffectRecord { kind: string; locator: Record; state: 'created' | 'updated' | 'completed' | 'residual' | 'unknown'; cleanup: { owner: 'caller' | 'platform' | 'harness' | 'unsupported' | 'none'; supported: boolean; state: 'not_required' | 'pending' | 'completed' | 'unsupported' | 'unknown'; }; } export interface EvidenceEnvelope> { schema_version: typeof EVIDENCE_SCHEMA_VERSION; result_kind: string; run_id: string; execution_id?: string; account?: Record; environment?: Record; phase: string; state: EvidenceState; fault_owner: FaultOwner | null; retryable: boolean | null; fault_message?: string; evidence: EvidenceLocator[]; side_effects: SideEffectRecord[]; cleanup_owner: 'caller' | 'platform' | 'harness' | 'unsupported' | 'none'; timestamps: { started_at: string; completed_at: string; }; limitations: string[]; details: TDetails; } export declare function createRunId(): string; export declare function sha256Bytes(value: string | Buffer): string; export interface ManifestAccountIdentity { account: Record; limitations: string[]; } /** Resolve the authenticated customer only when a manifest is requested. */ export declare function resolveManifestAccount(client: AxiosInstance, customerAlias: string): Promise; export declare function writeJsonFile(filePath: string, value: unknown): Promise; //# sourceMappingURL=contract.d.ts.map