import { type SourceIntegrationPolicyManifest } from "./source-policy.js"; /** Return the restriction established for the exact project source executing this run. */ export declare function getActiveSourceIntegrationPolicy(): SourceIntegrationPolicyManifest | undefined; /** Require the exact-source policy before crossing an isolated execution boundary. */ export declare function requireActiveSourceIntegrationPolicy(): SourceIntegrationPolicyManifest; /** * Establish the policy belonging to an exact source target. * * Nested exact-source selection replaces the outer source. Runtime boundary * manifests are intersected separately by `resolveEffectiveSourceIntegrationPolicy`. */ export declare function runWithExactSourceIntegrationPolicy(policy: SourceIntegrationPolicyManifest, fn: () => T): T; /** Resolve the one effective restriction consumed by an agent runtime. */ export declare function resolveEffectiveSourceIntegrationPolicy(explicitBoundaryPolicy: unknown): SourceIntegrationPolicyManifest | undefined; /** Run a nested operation without allowing its explicit policy to widen the active source. */ export declare function runWithEffectiveSourceIntegrationPolicy(explicitBoundaryPolicy: unknown, fn: () => T): T; //# sourceMappingURL=source-policy-context.d.ts.map