/** @format */
import { InputBuffer } from '../../common/input-buffer.js';
import { IfdValueType } from '../../exif/ifd-value-type.js';
import { IfdValue } from '../../exif/ifd-value/ifd-value.js';
/**
 * Interface for initializing TiffEntry options.
 */
export interface TiffEntryInitOptions {
    /** The tag number. */
    tag: number;
    /** The type number. */
    type: number;
    /** The count of values. */
    count: number;
    /** The input buffer. */
    p: InputBuffer<Uint8Array>;
    /** The value offset. */
    valueOffset: number;
}
/**
 * Class representing a TIFF entry.
 */
export declare class TiffEntry {
    /** The tag number. */
    private _tag;
    /** The type of the value. */
    private _type;
    /** The count of values. */
    private _count;
    /** The value offset. */
    private _valueOffset;
    /** The value of the entry. */
    private _value;
    /** The input buffer. */
    private _p;
    /**
     * Gets the tag number.
     */
    get tag(): number;
    /**
     * Gets the type of the value.
     */
    get type(): IfdValueType;
    /**
     * Gets the count of values.
     */
    get count(): number;
    /**
     * Gets the value offset.
     */
    get valueOffset(): number;
    /**
     * Gets the value of the entry.
     */
    get value(): IfdValue | undefined;
    /**
     * Gets the input buffer.
     */
    get p(): InputBuffer<Uint8Array>;
    /**
     * Checks if the entry is valid.
     */
    get isValid(): boolean;
    /**
     * Gets the size of the type.
     */
    get typeSize(): number;
    /**
     * Checks if the type is a string.
     */
    get isString(): boolean;
    /**
     * Constructs a new TiffEntry.
     * @param {TiffEntryInitOptions} opt - The initialization options.
     * @param {number} opt.tag - The tag identifier for the TIFF entry.
     * @param {number} opt.type - The data type of the TIFF entry.
     * @param {number} opt.count - The number of values in the TIFF entry.
     * @param {Pointer} opt.p - The pointer to the data for the TIFF entry.
     * @param {number} opt.valueOffset - The offset to the value of the TIFF entry.
     */
    constructor(opt: TiffEntryInitOptions);
    /**
     * Reads the value of the entry.
     * @returns {IfdValue | undefined} The value of the entry or undefined.
     */
    read(): IfdValue | undefined;
    /**
     * Converts the entry to a string representation.
     * @returns {string} The string representation of the entry.
     */
    toString(): string;
}
