import UuidWrapper from "../uuidWrapper"; import { ByteVector } from "../byteVector"; import { File } from "../file"; declare const _default: { /** * Reads a 4-byte double word from the current instance. * @param file File to read the double word from */ readDWord: (file: File) => number; /** * Reads a 16-byte GUID from the current instance. * @param file File to read the guid from */ readGuid: (file: File) => UuidWrapper; /** * Reads an 8-byte quad word from the current instance. * @param file File to read the quad word from */ readQWord: (file: File) => bigint; /** * Reads a UTF-16LE string of specified length in bytes from the current instance. If null * byte is found before the end of specified end of the string, the string will be shortened * at the null byte. * @param length Length in bytes to read as the string * @param file File to read Unicode from */ readUnicode: (file: File, length: number) => string; /** * Reads a 2-byte word from the current instance. * @param file File to read the word from */ readWord: (file: File) => number; /** * Renders a 4-byte double word. * @param value Double word to render */ renderDWord: (value: number) => ByteVector; /** * Renders an 8-byte quad word. * @param value Quad word to render */ renderQWord: (value: bigint) => ByteVector; /** * Renders a unicode string. * @param value Text to render */ renderUnicode: (value: string) => ByteVector; /** * Renders a 2-byte word. * @param value Word to render */ renderWord: (value: number) => ByteVector; }; /** * Utilities for reading and writing ASF data. * @internal */ export default _default;