export declare abstract class ComponentBuilder<DataType extends Partial<APIBaseComponent<ComponentType>> = APIBaseComponent<ComponentType>> implements JSONEncodable<AnyAPIActionRowComponent>
The base component builder that contains common symbols for all sorts of components.
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 builder to API-compatible JSON data.