import { ByteVector } from "../byteVector"; /** * Indicates the flags applied to a {@link ApeTagFooter} object. */ export declare enum ApeTagFooterFlags { /** * Tag lacks a footer. */ FooterAbsent = 1073741824, /** * Tag contains a header. */ HeaderPresent = 2147483648, /** * This footer is actually a header. */ IsHeader = 536870912 } /** * Representation of an APEv2 tag footer or header which can be read from and written to disk. */ export declare class ApeTagFooter { /** * Identifier used to fina an APEv2 footer in a file. */ static readonly FILE_IDENTIFIER: ByteVector; /** * Size of an APEv2 footer. */ static readonly SIZE = 32; private _flags; private _itemCount; private _itemSize; private _version; private constructor(); /** * Constructs and initializes a new instance of {@link ApeTagFooter} by reading it from raw * footer data. * @param data Raw data to build the new instance from. */ static fromData(data: ByteVector): ApeTagFooter; /** * Constructs and initializes a new, blank instance of {@link ApeTagFooter}. */ static fromEmpty(): ApeTagFooter; /** * Gets the flags that apply to the current instance. */ get flags(): ApeTagFooterFlags; /** * Sets the flags that apply to the current instance. */ set flags(value: ApeTagFooterFlags); /** * Gets the number of items in the tag represented by this footer. */ get itemCount(): number; /** * Sets the number of items in the tag represented by this footer. * @param value */ set itemCount(value: number); /** * Gets the size in bytes of the items contained in the tag represented by this footer. */ get itemSize(): number; /** * Sets the size in bytes of the items contained in the tag represented by this footer. * @param value */ set itemSize(value: number); /** * Gets the size in bytes of the items contained in the tag and the footer. This is the minimum * amount of data required to read the entire tag. */ get requiredDataSize(): number; /** * Gets the complete size of the tag represented by the current instance, including the header * and footer. */ get tagSize(): number; /** * Gets the version of APE tag described by the current instance. */ get version(): number; renderFooter(): ByteVector; renderHeader(): ByteVector; private render; }