import type { KeycloakInstance } from 'keycloak-js'; import * as React from 'react'; declare type InjectedProps = { keycloakInitialized: boolean; keycloak: KeycloakInstance; }; /** * An HOC which injects the `keycloak` instance and the `keycloakInitialized` flag as props. * * @deprecated Please migrate to useKeycloak hook where/when possible. */ export declare function withKeycloak
(Component: React.ComponentType
): React.FC