UNPKG

taglib-wasm

Version:

TagLib-Wasm is the universal tagging library for TypeScript/JavaScript platforms: Browsers, Node.js, Deno, Bun, Cloudflare Workers, and Electron apps

26 lines 920 B
import { PROPERTIES, type PropertyKey } from "./properties.js"; import type { PropertyMetadata } from "./property-types.js"; /** * Type guard to check if a string is a valid property key */ export declare function isValidProperty(key: string): key is PropertyKey; /** * Get property metadata for a given property key */ export declare function getPropertyMetadata<K extends PropertyKey>(key: K): PropertyMetadata | undefined; /** * Get all available property keys as an array */ export declare function getAllPropertyKeys(): readonly PropertyKey[]; /** * Get all available property definitions as an array of [key, metadata] pairs */ export declare function getAllProperties(): readonly [ PropertyKey, typeof PROPERTIES[PropertyKey] ][]; /** * Filter properties by supported format */ export declare function getPropertiesByFormat(format: string): PropertyKey[]; //# sourceMappingURL=utilities.d.ts.map