import { Button as IButton } from "../response.js"; import { ListenerName } from "../names.js"; import { Component } from "../../components/component.js"; export { IButton }; export declare class ButtonBaseImpl extends Component { /** * The button is disabled if true */ disabled(disabled: IButton['disabled']): this; size(size: IButton['size']): this; mainStyle(mainStyle: IButton['mainStyle']): this; onPressed(listener: ListenerName, props?: { [k: string]: unknown; }): this; leftIcon(leftIcon: IButton['leftIcon']): this; rightIcon(rightIcon: IButton['rightIcon']): this; /** * Whether the button is a submit button for a form. */ submit(submit: IButton['submit']): this; }