import { BuiltinError } from './error';
export declare enum ErrorKind {
    GENERIC_NAMESPACE_INVALID = "GENERIC_NAMESPACE_INVALID",
    CONFIG_INVALID_DATA = "CONFIG_INVALID_DATA",
    COMMAND_UNKNOWN_COMMAND = "COMMAND_UNKNOWN_COMMAND",
    COMMAND_REGISTER_CLASS_MALFORMED_OR_MISSING = "COMMAND_REGISTER_CLASS_MALFORMED_OR_MISSING",
    PLAYER_NOT_FOUND = "PLAYER_NOT_FOUND",
    GAMETYPE_INVALID = "GAMETYPE_INVALID"
}
export declare class Error<T = ErrorKind> extends BuiltinError {
    readonly name: string;
    readonly message: string;
    readonly code: T;
    constructor();
}
export declare class GenericNamespaceInvalidError extends Error {
    name: string;
    message: string;
    code: ErrorKind;
    constructor();
}
export declare class ConfigInvalidDataError extends Error {
    name: string;
    message: string;
    code: ErrorKind;
    constructor();
}
export declare class CommandUnknownCommandError extends Error {
    name: string;
    message: string;
    code: ErrorKind;
    constructor();
}
export declare class CommandRegisterClassMalformedOrMissingError extends Error {
    name: string;
    message: string;
    code: ErrorKind;
    constructor();
}
export declare class PlayerNotFoundError extends Error {
    name: string;
    message: string;
    code: ErrorKind;
    constructor(username?: string);
}
export declare class GametypeInvalidError extends Error {
    name: string;
    message: string;
    code: ErrorKind;
    constructor(gametype?: string);
}
//# sourceMappingURL=index.d.ts.map