import type { ReceiptV2 } from '../workflow/types'; export type ProvenanceProvider = 'anthropic' | 'openai' | 'google' | 'mistral' | 'meta' | 'cohere' | 'fireworks' | 'baseten' | 'together' | 'deepseek' | 'moonshot' | 'alibaba' | 'self_hosted' | 'unknown'; export type WeightsOriginCountry = 'US' | 'EU' | 'UK' | 'CA' | 'CN' | 'unknown'; export type JurisdictionCountry = 'US' | 'EU' | 'UK' | 'CA' | 'CN' | 'AU' | 'JP' | 'unknown'; export interface ModelIdentity { provider: ProvenanceProvider; model_id: string; model_version: string; model_family: string; weights_origin_country: WeightsOriginCountry; } export interface HostingProvenance { provider_route: string; jurisdiction_country: JurisdictionCountry; jurisdiction_region: string; } export interface ComplianceInferenceBillingDetail { via: 'openrouter_key' | 'openrouter_workspace'; workspace_id?: string | null; key_hash?: string | null; tier: 'solo_pro' | 'startup_pro' | 'growth_pro'; guardrails_active: string[]; } export interface ComplianceProvenance { baa_in_force: boolean; baa_vendor: string | null; hipaa_eligible: boolean; data_retention_days: number | null; data_residency_attested: boolean; foreign_origin_weight_flag: boolean; foreign_origin_consent_receipt_id: string | null; inference_billing: 'agentguard_managed' | 'customer_managed'; inference_billing_detail?: ComplianceInferenceBillingDetail | null; } export interface ProvenanceBlock { model_identity: ModelIdentity; hosting: HostingProvenance; compliance: ComplianceProvenance; captured_at: string; } export interface ReceiptV1 { receipt_id: string; schema_version?: 1; signature?: string; [key: string]: unknown; } export type ReceiptV3 = Omit & { schema_version: 3; provenance: ProvenanceBlock; }; export type AnyReceipt = ReceiptV1 | ReceiptV2 | ReceiptV3; export declare function receiptSchemaVersion(receipt: unknown): 1 | 2 | 3; export declare function isReceiptV3(receipt: unknown): receipt is ReceiptV3; export declare function assertReceiptV3(receipt: unknown): asserts receipt is ReceiptV3; //# sourceMappingURL=schema.d.ts.map