export declare function isUtf8(str: string): boolean;