/** @packageDocumentation ID3v2 text identification frames (T*** and TXXX). Store text metadata fields with optional per-value encoding. */ import { ByteVector, StringType } from "../../../byteVector.js"; import { Id3v2Frame, Id3v2FrameHeader } from "../id3v2Frame.js"; /** * Text identification frame (T*** except TXXX). * * Structure: encoding(1) + text (in encoding, multiple values separated by null). */ export declare class TextIdentificationFrame extends Id3v2Frame { /** Default encoding: UTF-8 ensures all Unicode strings are stored correctly. */ private _encoding; private _fieldList; private _rawData; private _rawVersion; constructor(frameId: ByteVector, encoding?: StringType); get encoding(): StringType; set encoding(e: StringType); get fieldList(): string[]; set fieldList(fields: string[]); get text(): string; set text(value: string); toString(): string; static createTextFrame(id: ByteVector, values: string[]): TextIdentificationFrame; /** @internal Create from raw frame data (used by frame factory). */ static fromData(data: ByteVector, header: Id3v2FrameHeader, version: number): TextIdentificationFrame; protected parseFields(data: ByteVector, version: number): void; protected renderFields(version: number): ByteVector; private _parseRawData; } /** * User text identification frame (TXXX). * * Structure: encoding(1) + description(null-terminated) + value(in encoding). * The first field is the description, the rest are values. */ export declare class UserTextIdentificationFrame extends TextIdentificationFrame { constructor(encoding?: StringType); get description(): string; set description(value: string); get fieldList(): string[]; set fieldList(fields: string[]); get text(): string; set text(value: string); /** @internal Create from raw frame data. */ static fromRawData(data: ByteVector, header: Id3v2FrameHeader, version: number): UserTextIdentificationFrame; static find(tag: { frames?: Id3v2Frame[]; }, description: string): UserTextIdentificationFrame | null; } //# sourceMappingURL=textIdentificationFrame.d.ts.map