import type { Oidc } from "../core"; export type ParamsOfCreateMockOidc = Record, AutoLogin extends boolean = false> = { mockedParams?: { issuerUri?: string; clientId?: string; }; mockedTokens?: Partial>; /** * The URL of the home page of your app. * We need to know this so we know where to redirect when you call `logout({ redirectTo: "home"})`. * In the majority of cases it should be `homeUrl: "/"` but it could aso be something like `homeUrl: "/dashboard"` * if your web app isn't hosted at the root of the domain. */ BASE_URL?: string; autoLogin?: AutoLogin; postLoginRedirectUrl?: string; } & (AutoLogin extends true ? { isUserInitiallyLoggedIn?: true; } : { isUserInitiallyLoggedIn: boolean; }); export declare function createMockOidc = Oidc.Tokens.DecodedIdToken_OidcCoreSpec, AutoLogin extends boolean = false>(params: ParamsOfCreateMockOidc): Promise : Oidc>;