export declare abstract class ComponentBuilder<DataType extends Partial<APIBaseComponent<ComponentType>> = APIBaseComponent<ComponentType>> implements JSONEncodable<AnyAPIActionRowComponent>
Represents a discord component
Type Parameters
optionalPartial<APIBaseComponent<ComponentType>> = APIBaseComponent<ComponentType> DataType? extends
The type of internal API data that is stored within the component
readonlyPartial<DataType> data :
The API data associated with this component
abstract toJSONAnyAPIActionRowComponent () :
Serializes this component to an API-compatible JSON object