import { type CodaliStorageDatasetRecord, type CodaliStorageExportKind, type CodaliStorageExportManifest, type CodaliStorageObjectRef } from "./CodaliStorageContracts.js"; import { type CodaliDatasetPrivacyPurpose } from "./CodaliDatasetPrivacyEngine.js"; import { type GatewayDatasetObjectStore, type GatewayDatasetStorageScope } from "./GatewayDatasetStore.js"; export declare const CODALI_DATASET_EXPORT_JOB_SCHEMA_VERSION: "codali.dataset.export.job.v1"; export declare const CODALI_DATASET_REPLAY_FIXTURE_SCHEMA_VERSION: "codali.dataset.replay.fixture.v1"; export declare const CODALI_DATASET_SFT_EXPORT_KINDS: ("extractor-sft" | "tool-router-sft" | "planner-sft" | "verifier-sft" | "query-expander-sft" | "repair-sft" | "context-refiner-sft")[]; export type CodaliDatasetExportStatus = "dry_run" | "exported" | "blocked"; export interface CodaliDatasetExportExclusionReason { recordId: string; code: string; message: string; purpose: CodaliDatasetPrivacyPurpose; path?: string; } export interface CodaliDatasetExportDryRunSummary { totalCount: number; eligibleCount: number; excludedCount: number; exclusionReasonCounts: Record; } export interface CodaliDatasetExportJobInput { exportKind: CodaliStorageExportKind; records: CodaliStorageDatasetRecord[]; objectStore: GatewayDatasetObjectStore; scope: GatewayDatasetStorageScope; dryRun?: boolean; generatedBy?: string; manifestId?: string; exportFormat?: "jsonl"; now?: () => Date; metadata?: Record; } export interface CodaliDatasetExportJobResult { schemaVersion: typeof CODALI_DATASET_EXPORT_JOB_SCHEMA_VERSION; accepted: boolean; status: CodaliDatasetExportStatus; dryRun: CodaliDatasetExportDryRunSummary; exportKind: CodaliStorageExportKind; exportFormat: "jsonl"; manifest?: CodaliStorageExportManifest; manifestRef?: CodaliStorageObjectRef; jsonlRef?: CodaliStorageObjectRef; replayFixtureRef?: CodaliStorageObjectRef; exclusionReasons: CodaliDatasetExportExclusionReason[]; } export declare class CodaliDatasetExportJobError extends Error { readonly code: string; constructor(code: string, message: string); } export declare const runCodaliDatasetExportJob: (input: CodaliDatasetExportJobInput) => Promise; //# sourceMappingURL=DatasetExportJob.d.ts.map