/** * Runtime attestation (ADR 0005 H9). Declares the implementation status * of each runtime export in this module. See CONTRIBUTING.md ยง Module * attestations for the category definitions and the convention for * updating these when sync or rebrand changes the surface. */ export declare const MODULE_ATTESTATIONS: { readonly normalizeToolName: "live"; readonly defaultTitle: "live"; readonly normalizeVerb: "live"; readonly resolveActionArg: "live"; readonly resolveToolVerbAndDetailForArgs: "live"; readonly coerceDisplayValue: "live"; readonly lookupValueByPath: "live"; readonly formatDetailKey: "live"; readonly resolvePathArg: "live"; readonly resolveReadDetail: "live"; readonly resolveWriteDetail: "live"; readonly resolveWebSearchDetail: "live"; readonly resolveWebFetchDetail: "live"; readonly resolveExecDetail: "live"; readonly resolveActionSpec: "live"; readonly resolveDetailFromKeys: "live"; readonly resolveToolVerbAndDetail: "live"; readonly formatToolDetailText: "live"; }; export type ToolDisplayActionSpec = { label?: string; detailKeys?: string[]; }; export type ToolDisplaySpec = { title?: string; label?: string; detailKeys?: string[]; actions?: Record; }; export type CoerceDisplayValueOptions = { includeFalse?: boolean; includeZero?: boolean; includeNonFinite?: boolean; maxStringChars?: number; maxArrayEntries?: number; }; export declare function normalizeToolName(name?: string): string; export declare function defaultTitle(name: string): string; export declare function normalizeVerb(value?: string): string | undefined; export declare function resolveActionArg(args: unknown): string | undefined; export declare function resolveToolVerbAndDetailForArgs(params: { toolKey: string; args?: unknown; meta?: string; spec?: ToolDisplaySpec; fallbackDetailKeys?: string[]; detailMode: "first" | "summary"; detailCoerce?: CoerceDisplayValueOptions; detailMaxEntries?: number; detailFormatKey?: (raw: string) => string; }): { verb?: string; detail?: string; }; export declare function coerceDisplayValue(value: unknown, opts?: CoerceDisplayValueOptions): string | undefined; export declare function lookupValueByPath(args: unknown, path: string): unknown; export declare function formatDetailKey(raw: string, overrides?: Record): string; export declare function resolvePathArg(args: unknown): string | undefined; export declare function resolveReadDetail(args: unknown): string | undefined; export declare function resolveWriteDetail(toolKey: string, args: unknown): string | undefined; export declare function resolveWebSearchDetail(args: unknown): string | undefined; export declare function resolveWebFetchDetail(args: unknown): string | undefined; export declare function resolveExecDetail(args: unknown): string | undefined; export declare function resolveActionSpec(spec: ToolDisplaySpec | undefined, action: string | undefined): ToolDisplayActionSpec | undefined; export declare function resolveDetailFromKeys(args: unknown, keys: string[], opts: { mode: "first" | "summary"; coerce?: CoerceDisplayValueOptions; maxEntries?: number; formatKey?: (raw: string) => string; }): string | undefined; export declare function resolveToolVerbAndDetail(params: { toolKey: string; args?: unknown; meta?: string; action?: string; spec?: ToolDisplaySpec; fallbackDetailKeys?: string[]; detailMode: "first" | "summary"; detailCoerce?: CoerceDisplayValueOptions; detailMaxEntries?: number; detailFormatKey?: (raw: string) => string; }): { verb?: string; detail?: string; }; export declare function formatToolDetailText(detail: string | undefined, opts?: { prefixWithWith?: boolean; }): string | undefined;