/**
 * Returns the number of bytes that would be used when encoding the string as UTF-8, effectively the
 * same as `new TextEncoder().encode(str).length` but faster.
 * https://jsbench.me/nzlrkwmeiq/1
 */
export declare function stringLengthUtf8(str: string): number;
//# sourceMappingURL=stringLengthUtf8.d.ts.map