UNPKG

music-codes

Version:
18 lines 585 B
import type { IterableCode } from './types.js'; export declare class ISRC implements IterableCode<ISRC> { /** Prefix to adhere to */ readonly prefix: string; /** Year */ readonly year: number; /** Code */ readonly code: number; constructor(prefix: string, year: number, code: number); first(): ISRC; last(): ISRC; previous(): ISRC; next(): ISRC; iterate(up?: boolean): IterableIterator<ISRC>; toString(): string; } export declare function parseISRC(isrc: string, prefix?: string | undefined): ISRC; //# sourceMappingURL=isrc.d.ts.map