export type StateData = StateData.IFrame | StateData.Redirect; export declare namespace StateData { type Common = { configId: string; }; export type IFrame = Common & { context: "iframe"; }; export type Redirect = Redirect.Login | Redirect.Logout; export namespace Redirect { type Common_Redirect = Common & { context: "redirect"; rootRelativeRedirectUrl: string; }; export type Login = Common_Redirect & { action: "login"; rootRelativeRedirectUrl_consentRequiredCase: string; extraQueryParams: Record; }; export type Logout = Common_Redirect & { action: "logout"; sessionId: string | undefined; }; export {}; } export {}; } export declare function generateStateUrlParamValue(): string; export declare function getIsStatQueryParamValue(params: { maybeStateUrlParamValue: string; }): boolean; export declare const STATE_STORE_KEY_PREFIX = "oidc."; export declare function clearStateStore(params: { stateUrlParamValue: string; }): void; export declare function getStateData(params: { stateUrlParamValue: string; }): StateData | undefined;