import { LoginRequiredError, UnmetAuthenticationRequirementsError } from './errors'; export type CallbackAuthenticationRead = { outcome: "ignore"; } | { outcome: "reject"; message: string; } | { outcome: "error"; error: UnmetAuthenticationRequirementsError | LoginRequiredError; }; /** * Maps a callback `error` to a step-up error after the OAuth `state` matches * the value stored for this request. Other errors are ignored so existing * callback handling is unchanged. Does not retry and does not start a login. */ export declare const readCallbackAuthenticationError: (urlParams: URLSearchParams) => Promise;