export interface NewCredentialParams { credentialName: string; userName: string; userVerification: boolean; } export abstract class Fido2UserInterfaceService { newSession: (abortController?: AbortController) => Promise; } export abstract class Fido2UserInterfaceSession { fallbackRequested = false; aborted = false; confirmCredential: (cipherId: string, abortController?: AbortController) => Promise; pickCredential: (cipherIds: string[], abortController?: AbortController) => Promise; confirmNewCredential: ( params: NewCredentialParams, abortController?: AbortController ) => Promise<{ confirmed: boolean; userVerified: boolean }>; confirmNewNonDiscoverableCredential: ( params: NewCredentialParams, abortController?: AbortController ) => Promise<{ cipherId: string; userVerified: boolean }>; informExcludedCredential: ( existingCipherIds: string[], abortController?: AbortController ) => Promise; informCredentialNotFound: (abortController?: AbortController) => Promise; close: () => void; }