/** MessagePack decoder — converts binary MessagePack from the C API to JS objects. */
import { type DecoderOptions } from "@msgpack/msgpack";
import type { AudioProperties, ExtendedTag, Picture, PropertyMap } from "../types.js";
import type { MessagePackDataType } from "./types.js";
export declare function decodeTagData(msgpackBuffer: Uint8Array): ExtendedTag;
export declare function decodeAudioProperties(msgpackBuffer: Uint8Array): AudioProperties;
export declare function decodePropertyMap(msgpackBuffer: Uint8Array): PropertyMap;
export declare function decodePicture(msgpackBuffer: Uint8Array): Picture;
export declare function decodePictureArray(msgpackBuffer: Uint8Array): Picture[];
export declare function decodeMessagePack<T = unknown>(msgpackBuffer: Uint8Array, options?: Partial<DecoderOptions>): T;
export declare function decodeMessagePackAuto(msgpackBuffer: Uint8Array): ExtendedTag | AudioProperties | Picture | PropertyMap;
export declare function isValidMessagePack(buffer: Uint8Array): boolean;
export declare function getMessagePackInfo(buffer: Uint8Array): {
    isValid: boolean;
    approximateSize: number;
    type: MessagePackDataType;
};
export declare function decodeFastTagData(msgpackBuffer: Uint8Array): Pick<ExtendedTag, "title" | "artist" | "album" | "year" | "track">;
//# sourceMappingURL=decoder.d.ts.map