taglib-wasm
Version:
TagLib-Wasm is the universal tagging library for TypeScript/JavaScript platforms: Browsers, Node.js, Deno, Bun, Cloudflare Workers, and Electron apps
12 lines • 693 B
TypeScript
/**
* Validation and mapping helpers for the raw ID3v2 frame API (taglib-b67).
* See docs/superpowers/specs/2026-07-09-raw-id3v2-frames-design.md.
*/
import type { RawId3v2Frame } from "../wasm.js";
import type { Id3v2Frame } from "../constants/complex-properties.js";
export declare function assertMp3(format: string): void;
export declare function assertFrameId(id: string, operation: "read" | "write"): void;
export declare function assertFrameBodies(id: string, data: Uint8Array[]): void;
/** Normalize a handle-level frame for the public API (zero flags → absent). */
export declare function toPublicFrame(frame: RawId3v2Frame): Id3v2Frame;
//# sourceMappingURL=id3v2-frames.d.ts.map