Public declaration syntax from forge-ts/packages/forge-tool/src/approval.ts Original source SHA-256: b46992776447278b15f73ef023e9e199c814a9b7e8bd364daf015f7e524977b4 Function bodies and constant values are omitted. This is not the complete implementation. Source line 44 export interface ApprovalHandler { /** * Checks whether a tool call should be approved, denied, or modified. * * @param call - The tool call to evaluate. * @param tier - The tool's tier classification. * @returns A ToolApproval indicating the decision. */ check(call: ToolCall, tier: ToolTier): Promise; } Source line 72 export class AutoApprove implements ApprovalHandler { async check(_call: ToolCall, _tier: ToolTier): Promise; } Source line 99 export class DenyAll implements ApprovalHandler { constructor(reason: string); async check(_call: ToolCall, _tier: ToolTier): Promise; } Source line 147 export class TierBasedApproval implements ApprovalHandler { async check(call: ToolCall, tier: ToolTier): Promise; }