/* eslint-disable */ // @ts-nocheck import type CertificateRepresentation from "@keycloak/keycloak-admin-client/lib/defs/certificateRepresentation"; import { FormGroup, TextArea } from "../../../shared/@patternfly/react-core"; import { useId } from "react"; import { useTranslation } from "react-i18next"; import { HelpItem } from "../../../shared/keycloak-ui-shared"; type CertificateProps = Omit & { plain?: boolean; }; type CertificateDisplayProps = { id: string; helpTextKey?: string; type?: "jwks" | "certificate" | "publicKey"; keyInfo?: CertificateRepresentation; }; const CertificateDisplay = ({ id, type = "certificate", keyInfo, }: CertificateDisplayProps) => { const { t } = useTranslation(); return (