UNPKG

taglib-wasm

Version:

TagLib for TypeScript platforms: Deno, Node.js, Bun, Electron, browsers, and Cloudflare Workers

26 lines 920 B
import { PROPERTIES, type PropertyKey } from "./properties.ts"; import type { PropertyMetadata } from "./property-types.ts"; /** * 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