/** * Argument inspection for the interception layer: bound the amount of data the * guard walks and detect credentials that would otherwise leave the host as a * tool argument. Detection is delegated to the redaction rules. * @module dsh-sensitive-guard/argguard */ import type { Redactor } from '../contracts.js'; export interface ArgumentInspection { /** Serialized arguments exceed `limits.maxArgsBytes`. */ tooLarge: boolean; /** A tier-0 secret rule matched somewhere in the arguments. */ hasSecret: boolean; bytes: number; } /** * Walk a JSON-like argument tree, never logging values. Circular structures * are treated as too large/invalid rather than crashing the hook. */ export declare function inspectArguments(value: unknown, redactor: Redactor, maxArgsBytes: number): ArgumentInspection; //# sourceMappingURL=inspect.d.ts.map