/** UTF-8 decoding for file bytes and encoding only for the iframe's script payload. */ /** * Decode complete UTF-8 text, rejecting invalid byte sequences. * @param data - complete UTF-8 bytes. * @returns decoded text; invalid UTF-8 throws. */ export declare function decodeText(data: Uint8Array): string; /** * Encode Unicode text for the iframe's base64 payload. * @param text - Unicode text. * @returns base64 of its UTF-8 bytes. */ export declare function encodeText(text: string): string; //# sourceMappingURL=bytes.d.ts.map