import type { Position } from './types.js'; export declare enum ErrorKind { Reserved = 0, UnterminatedQuotedString = 1, ExpectLineBreak = 2, ExpectTokenEOF = 3, ExpectTokenUnquoted = 4, ExpectTokenQuoted = 5, UnexpectedToken = 6, MissingArguments = 7, InvalidCatalogFormat = 8, DuplicatedCatalog = 9, InvalidFileCommandLocation = 10, UnknownFileType = 11, InvalidFlagsCommandLocation = 12, DuplicatedFlagsCommand = 13, NoFlags = 14, TooManyFlags = 15, InvalidIndexNumberRange = 16, InvalidIndexNumberSequence = 17, InvalidTimeFormat = 18, FramesTooLarge = 19, InvalidFirstIndexNumber = 20, InvalidFirstIndexTime = 21, InvalidISRCCommandLocation = 22, InvalidISRCFormat = 23, TooLongPerformer = 24, CurrentTrackRequired = 25, InvalidPostGapCommandLocation = 26, DuplicatedPostGapCommand = 27, InvalidPreGapCommandLocation = 28, DuplicatedPreGapCommand = 29, TooLongSongWriter = 30, TooLongTitle = 31, InvalidTrackNumberRange = 32, InvalidTrackNumberSequence = 33, UnknownTrackDataType = 34, TracksRequired = 35, UnknownFlag = 36 } export declare function translateErrorMessage(kind: ErrorKind): string; export declare class ParsingError extends Error { kind: ErrorKind; position: Position; constructor(kind: ErrorKind, position: Position); }