/**
 * An error that is thrown when one of the arguments provided to a method is not
 * valid.
 */
export declare class ArgumentError extends Error {
    /**
     * The name of the method parameter corresponding to the invalid argument.
     */
    parameter: string;
    /**
     * Initializes a new instance of the {@link ArgumentError} class.
     *
     * @param parameter The name of the parameter corresponding to the invalid
     *   argument.
     * @param message The error message. If not specified, a default one will be
     *   used.
     */
    constructor(parameter: string, message?: string);
}
