UNPKG

@inv2/common

Version:

A common module for v2

33 lines (32 loc) 961 B
export declare class Helper { static generateOTCode(size?: number, alpha?: boolean): string; static generatePassword(length: number, { includeNumbers, includeUpperChars, includeLowerChars, includeSpecialChars }: { includeNumbers?: boolean; includeUpperChars?: boolean; includeLowerChars?: boolean; includeSpecialChars?: boolean; }): string; static capitalize(s: string): string; static getMimeType(base64: string): string; static checkToken(params: { duration: string; tokenTime: Date; }): Promise<boolean>; static faq(): Promise<{ id: number; question: string; answer: string; }[]>; static countries(): string[]; static getCurrencyCodes(): { id: string; name: string; symbol: string; code: string; }[]; static getBankList(): { name: string; slug: string; code: string; }[]; }