export type OAuthProviderFailureReason = 'callback_consumed' | 'invalid_callback' | 'upstream_failure';
export declare class OAuthProviderException extends Error {
    readonly provider: string;
    readonly reason: OAuthProviderFailureReason;
    readonly status?: number;
    readonly providerError?: string;
    readonly providerErrorCode?: string;
    constructor(provider: string, reason: OAuthProviderFailureReason, message: string, status?: number, providerError?: string, providerErrorCode?: string);
}
export declare class OAuthCallbackAlreadyProcessedError extends Error {
    constructor();
}
export declare class OAuthCallbackInProgressError extends Error {
    constructor();
}
//# sourceMappingURL=oauth.errors.d.ts.map