import { AnyCommandContext } from '../CommandContext'; import { OptionType } from '../constants/OptionType'; import type { CommandOptionChoiceCallable, CommandOptionValue } from '../interfaces/CommandOption'; import { Resolver } from '../interfaces/Resolver'; export declare type IntegerOption = IntegerOptionWithChoices | IntegerOptionWithMinMax | IntegerOptionWithAutocomplete; export interface IntegerOptionWithChoices extends CommandOptionValue { /** Array of Integer choices */ choices?: CommandOptionChoiceCallable; } export interface IntegerOptionWithMinMax extends CommandOptionValue { min?: number; max?: number; } export interface IntegerOptionWithAutocomplete extends CommandOptionValue { autocomplete?: true; } export declare class IntegerOptionResolver implements Resolver { option: OptionType; convert: 4; resolve(ctx: AnyCommandContext, option: IntegerOption, text: string): Promise; help(ctx: AnyCommandContext, option: IntegerOption, data: Map): Promise>; }