dotbit
Version:
A complete .bit SDK and utilities in TypeScript
15 lines (14 loc) • 858 B
TypeScript
import { BitAccountRecord, BitAccountRecordExtended } from '../fetchers/BitIndexer.type';
import { CHAR_TYPE } from '../const';
export declare function isSupportedAccount(account: string): boolean;
export declare function toDottedStyle(inputAccount: string): string;
export declare function toRecordExtended(record: BitAccountRecord): BitAccountRecordExtended;
export declare function isSubAccount(account: string): boolean;
export declare function trimAccountSuffix(account: string): string;
export interface ICharInfo {
char_set_name: CHAR_TYPE;
char: string;
}
export declare function digitalEmojiUnifiedHandle(str: string): string;
export declare function graphemesAccount(account: string, addSuffix?: boolean, language?: string): ICharInfo[];
export declare function getAccountCharsetTypes(account: string): Partial<Record<CHAR_TYPE, boolean>>;