import { Uint } from './defs'; type ArrayUint8 = ArrayLike; declare function encodeUTF8Word(unicode: number): number[]; declare function decodeUTF8Word(bytes: ArrayUint8, offset: number): number[]; declare function encodeUTF16Word(unicode: number): number[]; declare function decodeUTF16Word(bytes: ArrayUint8, offset: number): number[]; declare function encodeUTF8WordLength(unicode: number): number; declare function encodeUTF16WordLength(unicode: number): number; declare function encodeUTF8Length(str: string): number; declare function encodeUTF8(str: string): number[]; declare function decodeUTF8From(bytes: ArrayUint8, start: number, end: number): string; declare function decodeUTF8(bytes: ArrayUint8): string; declare function encodeLatin1From(str: string): number[]; declare function encodeAsciiFrom(str: string): number[]; declare function encodeHexFrom(bytes: ArrayUint8, start: number, end: number): string; declare function encodeBase64From(bytes: ArrayUint8, start: number, end: number): string; declare function encodeBase58From(bytes: ArrayUint8, start: number, end: number): string; declare function decodeLatin1From(bytes: ArrayUint8, start: number, end: number): string; declare function decodeAsciiFrom(bytes: ArrayUint8, start: number, end: number): string; declare function decodeHex(str: string): number[]; declare function isHexString(str: string): boolean; declare function isBase64String(str: string): boolean; declare function isBase58String(str: string): boolean; declare function decodeBase64(str: string): number[]; declare function decodeBase58(str: string): Uint8Array; declare function convertHexString(bytes: ArrayUint8): string; declare function convertBase64String(bytes: ArrayUint8): string; declare function convertBase58String(bytes: ArrayUint8): string; /** * from string to Uint8Array */ declare function fromString(from: string, encoding?: string): Uint8Array; /** * to string from ArrayUint8 */ declare function toString(buf: ArrayUint8, encoding?: string, start?: Uint, end?: number): string; declare const _default: { isHexString: typeof isHexString; isBase64String: typeof isBase64String; isBase58String: typeof isBase58String; encodeUTF8Word: typeof encodeUTF8Word; encodeUTF8: typeof encodeUTF8; encodeLatin1From: typeof encodeLatin1From; encodeAsciiFrom: typeof encodeAsciiFrom; encodeHexFrom: typeof encodeHexFrom; encodeBase64From: typeof encodeBase64From; encodeBase58From: typeof encodeBase58From; encodeUTF16Word: typeof encodeUTF16Word; decodeUTF16Word: typeof decodeUTF16Word; encodeUTF16WordLength: typeof encodeUTF16WordLength; toString: typeof toString; decodeUTF8Word: typeof decodeUTF8Word; decodeUTF8From: typeof decodeUTF8From; decodeUTF8: typeof decodeUTF8; decodeLatin1From: typeof decodeLatin1From; decodeAsciiFrom: typeof decodeAsciiFrom; decodeHex: typeof decodeHex; decodeBase64: typeof decodeBase64; decodeBase58: typeof decodeBase58; fromString: typeof fromString; convertHexString: typeof convertHexString; convertBase64String: typeof convertBase64String; convertBase58String: typeof convertBase58String; encodeUTF8WordLength: typeof encodeUTF8WordLength; encodeUTF8Length: typeof encodeUTF8Length; }; export default _default;