import { type NormalizedPolicy, type PolicySpec } from "../../policy/index.js"; import type { IntegrationApplyReceipt, IntegrationPlan, WorkspaceProvider } from "./types.js"; export interface PrepareIntegrationInput { coordRoot: string; runId: string; provider: WorkspaceProvider; policy: PolicySpec | NormalizedPolicy; targetRoot?: string; review?: { actor: string; reason?: string; }; acceptedUnknowns?: readonly string[]; approvalAddressee?: string; } export interface ApplyIntegrationInput { coordRoot: string; runId: string; provider: WorkspaceProvider; plan?: IntegrationPlan; } /** Host-policy ASK still pending during integration prepare. Carries the exact * durable IDs an operator needs to approve and resume the same plan. */ export declare class IntegrationPrepareParkedError extends Error { readonly runId: string; readonly planId: string; readonly approvalId: string; constructor(runId: string, planId: string, approvalId: string); } export declare function prepareIntegration(input: PrepareIntegrationInput): Promise; export declare function applyIntegration(input: ApplyIntegrationInput): Promise; //# sourceMappingURL=integration.d.ts.map