import type { Approval } from "#public/definitions/approval.js"; /** * Returns an `approval` callback that always requires user approval before * the tool executes. */ export declare function always(): Approval; /** * Returns an `approval` callback that never requires user approval before * the tool executes. */ export declare function never(): Approval; /** * Returns an `approval` callback that requires approval until the user * approves this tool once in the current session. A tool is recorded as * approved only on an explicit approval; a denial (or continuing without * responding) leaves it unrecorded, so the next call prompts again. Keys off * the bare tool name, so it ignores compound approval keys. */ export declare function once(): Approval;