export interface DatasetVersion { dataset_id: string; version: number; tenant_id: string; project_id: string; /** Canonical ST0RE artifact refs that make up this immutable version. */ artifact_refs: string[]; schema_version: string; record_count?: number; description?: string; created_at: string; created_by: string; correlation_id?: string; } export interface CreateDatasetVersionInput { dataset_id: string; tenant_id: string; project_id: string; /** Immutable input — callers may hand us readonly arrays (as const); we never mutate. */ readonly artifact_refs: readonly string[]; schema_version: string; record_count?: number; description?: string; created_by: string; correlation_id?: string; idempotency_key?: string; } export interface DatasetExport { export_id: string; dataset_id: string; version: number; tenant_id: string; artifact_ref: string; format: "parquet" | "csv" | "json"; created_at: string; }