/** @packageDocumentation ID3v2 private frame (PRIV). Stores owner-identified private binary data. */ import { ByteVector } from "../../../byteVector.js"; import { Id3v2Frame, Id3v2FrameHeader } from "../id3v2Frame.js"; /** * Private frame (PRIV). * * Structure: owner(null-terminated Latin1) + data. */ export declare class PrivateFrame extends Id3v2Frame { /** Owner identifier string that designates the application or organisation that owns this data. */ private _owner; /** Raw private binary payload associated with the owner. */ private _data; /** Creates a new, empty PRIV frame. */ constructor(); /** Gets the owner identifier string. */ get owner(): string; /** Sets the owner identifier string. */ set owner(value: string); /** Gets the raw private binary payload. */ get data(): ByteVector; /** Sets the raw private binary payload. */ set data(value: ByteVector); /** Returns the private data bytes stored in this frame. */ get renderData(): ByteVector; /** * Returns the owner identifier string. * @returns The owner string stored in this frame. */ toString(): string; /** @internal Create from raw frame data. */ static fromData(data: ByteVector, header: Id3v2FrameHeader, version: number): PrivateFrame; /** * Parses the binary payload of the PRIV frame. * @param data - Raw field bytes beginning with the null-terminated owner string. * @param _version - ID3v2 version (unused; parsing is version-independent). */ protected parseFields(data: ByteVector, _version: number): void; /** * Serialises the frame fields into a binary payload. * @param _version - ID3v2 version (unused; rendering is version-independent). * @returns A `ByteVector` containing the null-terminated owner string followed by the private data bytes. */ protected renderFields(_version: number): ByteVector; } //# sourceMappingURL=privateFrame.d.ts.map