import type { Tool, ToolCall } from '../../../types/tools.js';
import type { ToolRuntimeContext } from '../context.js';
import type { PhaseResult, ToolExecutionRecord } from '../types.js';
/**
 * permission — Phase 3 of the tool execution pipeline.
 *
 * Delegates to PermissionManager.check(). If permission is denied,
 * the phase aborts and no further phases are run.
 *
 * The resolved args used here account for any input updates from the
 * prehook phase (stored as `_updatedArgs` on the record).
 */
export declare function permissionPhase(call: ToolCall, _tool: Tool, context: ToolRuntimeContext, record: ToolExecutionRecord): Promise<PhaseResult>;
//# sourceMappingURL=permission.d.ts.map