import type { APIBaseSelectMenuComponent, ComponentType, Identify, ObjectToLower } from '../../common'; import { BaseComponent } from './BaseComponent'; export type APISelectMenuComponentTypes = | ComponentType.ChannelSelect | ComponentType.MentionableSelect | ComponentType.RoleSelect | ComponentType.StringSelect | ComponentType.UserSelect; export interface BaseSelectMenuComponent extends BaseComponent, ObjectToLower, 'type'>>> {} export class BaseSelectMenuComponent extends BaseComponent { constructor(data: APIBaseSelectMenuComponent) { super(data); } toJSON() { return { ...this }; } }