/** * Count UTF-8 bytes without allocating an encoded copy of a potentially large * string. Lone surrogates match TextEncoder's U+FFFD replacement behavior. * * When `stopAfter` is provided, the function returns `stopAfter + 1` as soon * as the boundary is exceeded. */ export declare function utf8ByteLength(value: string, stopAfter?: number): number; //# sourceMappingURL=utf8-byte-length.d.ts.map