export declare function utf8Size(str: string): number;