import type { ComponentTypes } from "oceanic.js";
export default class Component<T extends ComponentTypes = ComponentTypes> {
    disabled: boolean;
    type: T;
    constructor(type: T);
    /**
     * Disable this component.
     */
    disable(): this;
    /**
     * Enable this component.
     */
    enable(): this;
    toJSON(): unknown;
    toJSONRaw(): unknown;
}
