/** UTF-8 byte length of a JS string (AT Proto facet indices are byte offsets). */ export declare function utf8ByteLength(text: string): number; /** Slice a JS string by UTF-8 byte offsets (AT Proto facet indices). */ export declare function sliceUtf8(text: string, byteStart: number, byteEnd: number): string; //# sourceMappingURL=utf8.d.ts.map