import { AnyCommandContext } from '../CommandContext'; import { OptionType } from '../constants/OptionType'; import type { CommandOptionChoiceCallable, CommandOptionValue } from '../interfaces/CommandOption'; import { Resolver } from '../interfaces/Resolver'; export declare type NumberOption = NumberOptionWithChoices | NumberOptionWithMinMax | NumberOptionWithAutocomplete; export interface NumberOptionWithChoices extends CommandOptionValue { /** Array of Number choices */ choices?: CommandOptionChoiceCallable; } export interface NumberOptionWithMinMax extends CommandOptionValue { min?: number; max?: number; } export interface NumberOptionWithAutocomplete extends CommandOptionValue { autocomplete?: true; } export declare class NumberOptionResolver implements Resolver { option: OptionType; convert: 10; resolve(ctx: AnyCommandContext, option: NumberOption, text: string): Promise; help(ctx: AnyCommandContext, option: NumberOption, data: Map): Promise>; }