import type { AgentTool } from '@earendil-works/pi-agent-core'; import type { AgentTurnPolicyOptions } from './agent-turn-policy.js'; interface DelegationScope { tools: AgentTool[]; authorizeToolCall?: AgentTurnPolicyOptions['authorizeToolCall']; } export declare function withDelegationScope(scope: DelegationScope, run: () => T): T; export declare function getDelegationScope(): DelegationScope | undefined; export {};