import { RedactionPattern } from "./patterns.js"; import { Sensitivity } from "@graphorin/core"; //#region src/redaction/config.d.ts /** * @stable */ interface ValidationConfig { /** Lowest tier that may pass through the validator. */ readonly minTier?: Sensitivity; /** * When `true`, the validator throws on dropped values instead of * silently dropping + counting. Use in tests; production should * keep the default. * * @default false */ readonly failOnUnredactedSensitive?: boolean; /** * Custom pattern catalogue. Defaults to the 14 default-on built-in * patterns. */ readonly patterns?: ReadonlyArray; /** Per-name allow-list. */ readonly enabledPatterns?: ReadonlyArray; /** Per-name deny-list. */ readonly disabledPatterns?: ReadonlyArray; } /** * Default validation configuration. Mirrors the runtime defaults used * by `createTracer({ ... })` when `validation` is omitted. * * @stable */ declare const DEFAULT_VALIDATION_CONFIG: Required>; //#endregion export { DEFAULT_VALIDATION_CONFIG, ValidationConfig }; //# sourceMappingURL=config.d.ts.map