export declare const REDACTED = "\u00AB[redacted]\u00BB"; /** * Every form in which an upstream can echo an injected credential: the full header value, the * token without its auth scheme, the decoded `user:password` of a Basic value, and the cookie * value without its name, each also JSON-escaped and URL-encoded. Parts under 8 characters are * left out so they do not redact unrelated text. */ export declare function secretEchoForms({ header, value }: { header: string; value: string; }): string[]; export declare function redactSecretsFromString(text: string, secretValues: readonly string[]): string; export declare function redactSecretValuesFromHeaders(headers: Record, secretValues: readonly string[]): Record; export declare function redactHeaders(headers: Record, extraSensitiveNames?: readonly string[]): Record; //# sourceMappingURL=redact.d.ts.map