/** @packageDocumentation ID3v2 unique file identifier frame (UFID). Stores an owner-identified binary identifier for the file. */ import { ByteVector } from "../../../byteVector.js"; import { Id3v2Frame, Id3v2FrameHeader } from "../id3v2Frame.js"; /** * Unique file identifier frame (UFID). * * Structure: owner(null-terminated Latin1) + identifier(bytes). */ export declare class UniqueFileIdentifierFrame extends Id3v2Frame { /** The owner URL or identifier string that names the identification scheme. */ private _owner; /** The binary identifier data for this file under the owner's scheme. */ private _identifier; /** * Creates a new UFID frame with an optional owner and identifier. * @param owner - The owner URL or scheme identifier string. * @param identifier - The binary file identifier data. */ constructor(owner?: string, identifier?: ByteVector); /** * Gets the owner URL or scheme identifier string. * @returns The owner string. */ get owner(): string; /** * Sets the owner URL or scheme identifier string. * @param value - The new owner string. */ set owner(value: string); /** * Gets the binary file identifier data. * @returns A {@link ByteVector} containing the identifier bytes. */ get identifier(): ByteVector; /** * Sets the binary file identifier data. * @param data - The new identifier bytes. */ set identifier(data: ByteVector); /** * Returns the owner identifier string. * @returns The owner string of this frame. */ toString(): string; /** @internal Create from raw frame data. */ static fromData(data: ByteVector, header: Id3v2FrameHeader, version: number): UniqueFileIdentifierFrame; /** * Parses the raw frame fields into owner and identifier data. * @param data - The raw field bytes of the frame. * @param _version - The ID3v2 version (unused). */ protected parseFields(data: ByteVector, _version: number): void; /** * Serializes the UFID frame fields into bytes. * @param _version - The ID3v2 version (unused). * @returns A {@link ByteVector} containing the encoded frame fields. */ protected renderFields(_version: number): ByteVector; } //# sourceMappingURL=uniqueFileIdentifierFrame.d.ts.map