/** * Build one short, redacted action summary for the approval prompt. Secrets are * replaced with placeholders and URL userinfo/query values are removed before * the string reaches displayReason. * @module dsh-sensitive-guard/action-summary */ import type { Redactor } from './contracts.js'; import { type LocalizedAction } from './messages.js'; /** * Summarize the concrete operation: shell command, URL, path, or compact JSON. * The caller decides whether to display it; deny reasons never receive it. */ export declare function summarizeAction(tool: string, args: unknown, redactor: Redactor): LocalizedAction | undefined; //# sourceMappingURL=action-summary.d.ts.map