import type ImmutableStringReader from '../ImmutableStringReader'; import type Message from '../Message'; import type BuiltInExceptionProvider from './BuiltInExceptionProvider'; import type CommandExceptionType from './CommandExceptionType'; export declare class SimpleCommandExceptionType implements CommandExceptionType { private message; constructor(message: Message); create(): CommandSyntaxException; createWithContext(reader: ImmutableStringReader): CommandSyntaxException; toString(): string; } export declare class DynamicCommandExceptionType implements CommandExceptionType { private fn; constructor(fn: (...args: any[]) => Message); create(...args: any[]): CommandSyntaxException; createWithContext(reader: ImmutableStringReader, ...args: any[]): CommandSyntaxException; } export declare class BuiltInExceptions implements BuiltInExceptionProvider { private static FLOAT_TOO_SMALL; private static FLOAT_TOO_BIG; private static INTEGER_TOO_SMALL; private static INTEGER_TOO_BIG; private static LITERAL_INCORRECT; private static READER_EXPECTED_START_OF_QUOTE; private static READER_EXPECTED_END_OF_QUOTE; private static READER_INVALID_ESCAPE; private static READER_INVALID_BOOL; private static READER_INVALID_INT; private static READER_EXPECTED_INT; private static READER_INVALID_FLOAT; private static READER_EXPECTED_FLOAT; private static READER_EXPECTED_BOOL; private static READER_EXPECTED_SYMBOL; private static DISPATCHER_UNKNOWN_COMMAND; private static DISPATCHER_UNKNOWN_ARGUMENT; private static DISPATCHER_EXPECTED_ARGUMENT_SEPARATOR; private static DISPATCHER_PARSE_EXCEPTION; floatTooLow(): DynamicCommandExceptionType; floatTooHigh(): DynamicCommandExceptionType; integerTooLow(): DynamicCommandExceptionType; integerTooHigh(): DynamicCommandExceptionType; literalIncorrect(): DynamicCommandExceptionType; readerExpectedStartOfQuote(): SimpleCommandExceptionType; readerExpectedEndOfQuote(): SimpleCommandExceptionType; readerInvalidEscape(): DynamicCommandExceptionType; readerInvalidBool(): DynamicCommandExceptionType; readerInvalidInt(): DynamicCommandExceptionType; readerExpectedInt(): SimpleCommandExceptionType; readerInvalidFloat(): DynamicCommandExceptionType; readerExpectedFloat(): SimpleCommandExceptionType; readerExpectedBool(): SimpleCommandExceptionType; readerExpectedSymbol(): DynamicCommandExceptionType; dispatcherUnknownCommand(): SimpleCommandExceptionType; dispatcherUnknownArgument(): SimpleCommandExceptionType; dispatcherExpectedArgumentSeparator(): SimpleCommandExceptionType; dispatcherParseException(): DynamicCommandExceptionType; } export default class CommandSyntaxException extends Error { static CONTEXT_AMOUNT: number; static BUILT_IN_EXCEPTIONS: BuiltInExceptionProvider; private type; private __message; private input; private cursor; constructor(type: CommandExceptionType, message: Message, input?: string | null, cursor?: number); getMessage(): string; getRawMessage(): Message; getContext(): string | null; getType(): CommandExceptionType; getInput(): string | null; getCursor(): number; toString(): string; } //# sourceMappingURL=CommandSyntaxException.d.ts.map