import { Fetch, ILOidcLocation, OidcClient, OidcConfiguration } from '@axa-fr/oidc-client'; import { ComponentType, FC, PropsWithChildren } from 'react'; import { CustomHistory } from './core/routes/withRouter.js'; export type oidcContext = { (name?: string): OidcClient; }; export type OidcProviderProps = { callbackSuccessComponent?: ComponentType; sessionLostComponent?: ComponentType; authenticatingComponent?: ComponentType; authenticatingErrorComponent?: ComponentType; loadingComponent?: ComponentType; serviceWorkerNotSupportedComponent?: ComponentType; configurationName?: string; configuration?: OidcConfiguration; children: any; onSessionLost?: () => void; onLogoutFromAnotherTab?: () => void; onLogoutFromSameTab?: () => void; withCustomHistory?: () => CustomHistory; onEvent?: (configuration: string, name: string, data: any) => void; getFetch?: () => Fetch; location?: ILOidcLocation; }; export type OidcSessionProps = { configurationName: string; loadingComponent: PropsWithChildren; }; export declare const OidcProvider: FC>; export default OidcProvider; //# sourceMappingURL=OidcProvider.d.ts.map