import { List } from '../../collections'; import { ModalActionType } from '../enums'; import { ModalButton } from '.'; export declare class ModalButtonList extends List { constructor(); /** * Searches the button list for all buttons matching the given type * @param {ModalActionType} type The type of button to retrieve * @return {ModalButton[]} The matching button(s) */ getButtonsByType(type: ModalActionType): ModalButton[]; /** * Searches the button list for buttons with the matching type and returns the first match * @param {ModalActionType} type The type of button to retrieve * @return {ModalButton} The matching button */ getButtonByType(type: ModalActionType): ModalButton; }