import { APISelectMenuComponent, ComponentType } from "discord-api-types/v10"; import { ComponentBuilderBase } from "../ComponentBuilderBase.js"; export declare type SelectMenuComponentTypes = ComponentType.StringSelect | ComponentType.UserSelect | ComponentType.ChannelSelect | ComponentType.RoleSelect | ComponentType.MentionableSelect; /** * Represents a non-validated select menu component */ export declare class SelectMenuBuilderBase extends ComponentBuilderBase { constructor(type: SelectMenuComponentTypes, data?: Partial); /** * Sets the placeholder for this select menu * @param placeholder The placeholder to use for this select menu */ setPlaceholder(placeholder: string): this; /** * Sets the minimum values that must be selected in the select menu * @param minValues The minimum values that must be selected */ setMinValues(minValues: number): this; /** * Sets the maximum values that must be selected in the select menu * @param minValues The maximum values that must be selected */ setMaxValues(maxValues: number): this; /** * Sets the custom Id for this select menu * @param customId The custom id to use for this select menu */ setCustomId(customId: string): this; /** * Sets whether or not this select menu is disabled * @param disabled Whether or not this select menu is disabled */ setDisabled(disabled?: boolean): this; toJSON(): APISelectMenuComponent; }