/** * Converts an integration value to bounded JSON data while redacting secrets * in values and keys. Colliding redacted keys are retained with stable suffixes. * * @param {unknown} value - Integration value. * @param {string[]} secrets - Secrets to remove. * @param {number} [depth] - Current depth. * @returns {any} JSON-safe value or undefined. */ export function sanitizeAdapterValue(value: unknown, secrets: string[], depth?: number): any; /** * @param {unknown} error - Deployment failure. * @param {string[]} secrets - Secrets to remove. * @returns {{message: string, recovery: any, exitCode?: number, signal?: string, step?: string}} Safe failure payload. */ export function sanitizeErrorPayload(error: unknown, secrets: string[]): { message: string; recovery: any; exitCode?: number; signal?: string; step?: string; }; export type SanitizerState = { visited: number; }; //# sourceMappingURL=sanitize.d.ts.map