UNPKG

music-codes

Version:
18 lines 578 B
import type { IterableCode } from './types.js'; export declare class ISWC implements IterableCode<ISWC> { /** Work type */ readonly workType: string; /** Code */ readonly code: number; /** Check digit */ readonly check: number; constructor(workType: string, code: number, check?: number); first(): ISWC; last(): ISWC; previous(): ISWC; next(): ISWC; iterate(up?: boolean): IterableIterator<ISWC>; toString(withDots?: boolean): string; } export declare function parseISWC(iswc: string): ISWC; //# sourceMappingURL=iswc.d.ts.map