import { LogMethod } from 'simple-leveled-log-methods';
/**
 * securely reports an auth error to whodis
 *
 * for the purpose of:
 * - automatically detecting security attacks and mitigating
 * - aiding in debugging, with proactive and reactive support
 *
 * messages encrypted in flight and at rest destination
 */
export declare const reportAuthErrorForDiagnosis: ({ error, headers, config, log, }: {
    error: Error;
    headers: Record<string, string>;
    config: {
        issuer: string;
        audience: string;
    };
    log: {
        warn: LogMethod;
    };
}) => Promise<void>;
