UNPKG

@particle-network/auth-core-modal

Version:

Auth Core provides MPC (Multi-Party Computation)-based threshold signatures.

14 lines (13 loc) 796 B
export declare const ipfsToSrc: (ipfs: string) => string; export declare const EmailRegExp: RegExp; export declare const PhoneRegExp: RegExp; export declare const PhoneE164Exp: RegExp; export declare function isValidEmail(email?: string): string | undefined; export declare function isPhoneValid(phone: string, regionCode: string): boolean; export declare const isValidE164PhoneNumber: (phone: string | undefined) => string | undefined; export declare function isValidCaptcha(code?: string): "" | RegExpMatchArray | null | undefined; export declare const isAutoFocusSupported: () => boolean; export declare const isMobile: () => boolean; export declare const isServer: () => boolean; export declare const isClient: () => boolean; export declare const getLoginLogos: () => Record<string, string>;