2018-07-31 01:59:52 +03:00
|
|
|
import { Arrayish } from './bytes';
|
2018-07-24 02:21:42 +03:00
|
|
|
export declare enum UnicodeNormalizationForm {
|
|
|
|
current = "",
|
|
|
|
NFC = "NFC",
|
|
|
|
NFD = "NFD",
|
|
|
|
NFKC = "NFKC",
|
|
|
|
NFKD = "NFKD"
|
|
|
|
}
|
|
|
|
export declare function toUtf8Bytes(str: string, form?: UnicodeNormalizationForm): Uint8Array;
|
|
|
|
export declare function toUtf8String(bytes: Arrayish): string;
|