import type { McpClientLike } from "../storage/backends/fortemi.js"; import { type FortemiCapabilityDecision } from "./fortemi-capability.js"; import { type FortemiDatasetRunReceipt } from "./fortemi-run-receipt.js"; export declare const FORTEMI_DATASET_EXECUTION_TOOL = "manage_dataset_execution"; export declare function fortemiDatasetRequestDigest(request: Record): string; /** MCP transport binding; receipt verification is implemented independently in AIWG. */ export declare class FortemiDatasetExecutionClient { private readonly client; private readonly runs; constructor(client: McpClientLike); private call; capabilities(): Promise>; /** * Negotiate the request against the advertised descriptor without trusting the * server's own decision, then require the two to agree. */ private negotiate; preview(request: Record): Promise>; private previewWithDecision; /** The caller must approve the exact digest returned by read-only preview. */ execute(request: Record, approvedRequestDigest: string): Promise; private verifyResult; /** The decision AIWG negotiated for a run, not the one the server reported. */ capabilityDecision(runId: string): FortemiCapabilityDecision; private knownRun; retry(runId: string, action?: "retry" | "resume"): Promise; status(runId: string): Promise>; checkpoint(runId: string): Promise>; cancel(runId: string): Promise>; archive(runId: string): Promise>; } //# sourceMappingURL=fortemi-dataset-execution.d.ts.map