UNPKG

@keycloakify/keycloak-admin-ui

Version:
7 lines (6 loc) 543 B
import type { ServerInfoRepresentation } from "@keycloak/keycloak-admin-client/lib/defs/serverInfoRepesentation"; import { PropsWithChildren } from "react"; export declare const ServerInfoContext: import("../../ui-shared/utils/createNamedContext").NamedContext<ServerInfoRepresentation | undefined>; export declare const useServerInfo: () => ServerInfoRepresentation; export declare const useLoginProviders: () => string[]; export declare const ServerInfoProvider: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;