export { getRedactApiUrl } from './config.js'; export interface RedactCredentials { apiKey: string; apiUrl: string; } export declare class NoRedactKeyError extends Error { constructor(); } export interface RedactCredentialOptions { apiKey?: string; } /** * Resolve the redaction API credentials with the documented precedence: * --api-key flag > TREZA_REDACT_API_KEY env var > config redactApiKey * * Throws NoRedactKeyError when no key is available anywhere. The thrown * error has a friendly multiline message that command handlers can print * directly to the user. */ export declare function resolveRedactCredentials(options?: RedactCredentialOptions): RedactCredentials; export declare function saveRedactApiKey(key: string): void; //# sourceMappingURL=redact-config.d.ts.map