import { Button as ErisButton, ButtonStyles as ButtonStylesType, PartialEmoji } from 'eris'; import { AnyContext } from '../../contexts/AnyContext'; import { ButtonHandler } from '../interfaces/ComponentHandler'; import { BaseComponent } from './BaseComponent'; export declare class Button extends BaseComponent { definition: ErisButton; constructor(ctx: AnyContext, customId: string, handler?: ButtonHandler); label(label: string): this; labelTranslated(key: string, repl?: Record, backup?: string): Promise; emoji(emoji: Partial): this; style(style: ButtonStylesType): this; primary(): this; secondary(): this; success(): this; danger(): this; }