/**
 * Validates that the given data is valid UTF-8 text.
 * @param buf Data to check.
 * @returns True if the data is valid UTF-8.
 */
export declare const isUtf8: (buf: Uint8Array, from: number, length: number) => boolean;
