import type { DatasetOrchestrationRepository } from "./orchestration-repository.js"; import { type CapabilityProfile, type ProcessingPlan } from "./types.js"; import { type DatasetOrchestrationDependencies, type DatasetResult, type RegisteredSource } from "./orchestration-types.js"; export declare class DatasetOrchestrationError extends Error { readonly code: string; readonly boundary: DatasetResult["diagnostics"][number]["boundary"]; readonly retryable: boolean; constructor(code: string, message: string, boundary?: DatasetResult["diagnostics"][number]["boundary"], retryable?: boolean); } export declare class DatasetOrchestrationService { private readonly repo; private readonly deps; constructor(repo: DatasetOrchestrationRepository, deps: DatasetOrchestrationDependencies); private now; private offlineRemote; source(source: RegisteredSource): Promise>; private context; check(id: string, offline?: boolean): Promise>; preview(id: string, count?: number, offline?: boolean, signal?: AbortSignal): Promise>; plan(input: { id: string; sourceId: string; profile: CapabilityProfile; schemas: ProcessingPlan["schemas"]; policy: ProcessingPlan["policy"]; backend?: "local" | "fortemi-core"; fallback?: "local"; estimates?: ProcessingPlan["estimates"]; approvals?: ProcessingPlan["approvals"]; reconciliation?: ProcessingPlan["reconciliation"]; steps: ProcessingPlan["steps"]; artifactClasses: ProcessingPlan["artifactClasses"]; createdBy: string; offline?: boolean; }): Promise>; ingest(input: { planId: string; planDigest: string; idempotencyKey: string; approvalIds?: string[]; reconciliationApproval?: { previewDigest: string; threshold: number; }; signal?: AbortSignal; }): Promise>; status(runId: string): Promise>; show(id: string): Promise>; verify(runId: string): Promise>; query(artifactId: string): Promise>; lineage(runId: string): Promise>; export(artifactId: string): Promise>; cancel(runId: string): Promise>; retry(runId: string, signal?: AbortSignal): Promise>; } //# sourceMappingURL=orchestration-service.d.ts.map