import type { AgentTool } from '@earendil-works/pi-agent-core'; export declare const TASK_EXECUTION_TOOL_IDS: readonly string[]; /** Only these 4 product tools are exclusive to the Personal Agent permanent conversation. */ export declare const ASSISTANT_ONLY_TOOL_IDS: ReadonlySet; export type ExecutionToolPolicy = Readonly<{ assistantConversation: boolean; taskExecution: boolean; mcpDelegation?: boolean; privateRoutine?: boolean; followUp?: boolean; readOnly?: boolean; readOnlyRetry?: boolean; nativeMcp: boolean; externalMaterialization: boolean; discovery: boolean; codemode: boolean; revision: string; }>; /** Resolve from persisted execution identity, never from tool names or model input. */ export declare function resolveExecutionToolPolicy(conversationId: string): ExecutionToolPolicy; export declare function allowsExecutionTool(policy: ExecutionToolPolicy, name: string): boolean; export declare function filterExecutionTools(policy: ExecutionToolPolicy, tools: readonly AgentTool[]): AgentTool[];