UNPKG

@particle-network/authkit

Version:

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

15 lines (14 loc) 848 B
import type { Theme } from '../types'; 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: (theme?: Theme) => Record<string, string>;