import { Dispatch, SetStateAction } from "preact/compat"; import { State, WebauthnCredential } from "@teamhanko/hanko-frontend-sdk"; type CredentialType = "passkey" | "security-key"; interface Props { credentials: WebauthnCredential[]; checkedItemID?: string; setCheckedItemID: Dispatch>; onBack: (event: Event) => Promise; onCredentialNameSubmit: (event: Event, id: string, name: string) => Promise; onCredentialDelete: (event: Event, id: string) => Promise; allowCredentialDeletion?: boolean; credentialType: CredentialType; flowState: State<"profile_init">; } declare const ListWebauthnCredentialsAccordion: ({ credentials, checkedItemID, setCheckedItemID, onBack, onCredentialNameSubmit, allowCredentialDeletion, credentialType, onCredentialDelete, flowState, }: Props) => import("preact").JSX.Element; export default ListWebauthnCredentialsAccordion;