/** * List of audio formats supported by TagLib-Wasm */ export declare const SUPPORTED_FORMATS: readonly ["MP3", "MP4", "M4A", "FLAC", "OGG", "WAV", "MKA"]; /** * Error codes for programmatic error handling */ export type TagLibErrorCode = "INITIALIZATION" | "INVALID_FORMAT" | "UNSUPPORTED_FORMAT" | "FILE_OPERATION" | "METADATA" | "MEMORY" | "ENVIRONMENT" | "WASM_MEMORY" | "MODULE_LOAD" | "WASI_HOST"; /** * Base error class for all TagLib-Wasm errors */ export declare class TagLibError extends Error { readonly code: TagLibErrorCode; readonly details?: Record | undefined; /** * Creates a new TagLibError * @param code - Error code for programmatic handling * @param message - Human-readable error message * @param details - Additional context about the error */ constructor(code: TagLibErrorCode, message: string, details?: Record | undefined); } //# sourceMappingURL=base.d.ts.map