import { type SourceIntegrationPolicyManifest } from "../integrations/source-policy.js"; import type { WorkflowRun } from "./types.js"; /** Capture an immutable-by-value policy snapshot for a newly created workflow run. */ export declare function captureWorkflowSourceIntegrationPolicy(): SourceIntegrationPolicyManifest; /** Require the policy snapshot that belongs to the source which created this run. */ export declare function requireWorkflowSourceIntegrationPolicy(run: Pick): SourceIntegrationPolicyManifest; /** Restore a run snapshot without allowing an active reloaded source to widen it. */ export declare function runWithWorkflowSourceIntegrationPolicy(run: Pick, fn: () => T): T; //# sourceMappingURL=source-integration-policy.d.ts.map