import type { IntrinsicTool } from "./intrinsicTools.js"; /** Character count for the acknowledgment message. Never throws: the * value normally comes from model tool args (JSON, so circular refs * and BigInt are unreachable), but this is an exported helper, so it * honors the claim for arbitrary inputs too. */ export declare function draftCharCount(value: unknown): number; /** `saveDraft` passed as a tool. Recognition is by `registeredName` * (the registry key `.rename()` preserves, #653) plus the stdlib * module id: aliases (`const s = saveDraft`), `.rename()`d copies, * and derived forms all recognize, while a user's own def named * saveDraft carries its own module id and runs as an ordinary tool. * The synthesized definition advertises `fn.name` — the renamed name * when there is one — because that is what the model calls and what * tool-call dispatch matches against (#654). */ export declare const saveDraftIntrinsic: IntrinsicTool;