/**
 * Calculates the UTF8 byte length of a string
 */
export declare function length(string: string): number;
/**
 * Reads UTF8 bytes as a string
 */
export declare function read(buffer: Uint8Array, start: number, end: number): string;
/**
 * Writes a string as UTF8 bytes
 */
export declare function write(string: string, buffer: Uint8Array, offset: number): number;
//# sourceMappingURL=utf8.d.ts.map