import { AcrValue } from './params'; type CallbackErrorDetails = { errorDescription: string; state: string; acr?: AcrValue | null; maxAge?: number | null; }; /** * Kinde could not collect the requested authentication context. * This is a final answer: do not retry the same request and do not redirect to login. */ export declare class UnmetAuthenticationRequirementsError extends Error { readonly error: "unmet_authentication_requirements"; readonly errorDescription: string; readonly state: string; readonly acr: AcrValue | null; readonly maxAge: number | null; /** @param details Callback `error_description` and `state`, and the requested context. */ constructor(details: CallbackErrorDetails); } /** * Kinde answered `prompt=none` with `login_required`. * The app decides whether to start an interactive login. */ export declare class LoginRequiredError extends Error { readonly error: "login_required"; readonly errorDescription: string; readonly state: string; readonly acr: AcrValue | null; readonly maxAge: number | null; /** @param details Callback `error_description` and `state`, and the requested context. */ constructor(details: CallbackErrorDetails); } /** * An API answered with the RFC 9470 `insufficient_user_authentication` challenge. * Call `stepUp` with `acr` and `maxAge`, then retry the request once. */ export declare class StepUpRequiredError extends Error { readonly error: "insufficient_user_authentication"; readonly errorDescription: string; readonly acr: AcrValue | null; readonly maxAge: number | null; /** @param details Values read from the challenge. Missing values default to null. */ constructor(details: { errorDescription?: string; acr?: AcrValue | null; maxAge?: number | null; }); } export {};