import { IButtonSettings, IButtonPrivate, IButtonEvents, Button } from "./Button"; export interface IConfirmButtonSettings extends IButtonSettings { } export interface IConfirmButtonPrivate extends IButtonPrivate { ConfirmButton?: Button; } export interface IConfirmButtonEvents extends IButtonEvents { /** * The button was clicked again while asking for confirmation. */ confirmed: {}; /** * The confirmation was cancelled with a click elsewhere or the ESC key. */ cancelled: {}; } /** * A button that asks for confirmation: the first click shows "Confirm", and * a second click dispatches `"confirmed"`. A click elsewhere or the ESC key * cancels. * * @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/buttons/} for more info * @important * @since 5.14.0 */ export declare class ConfirmButton extends Button { static className: string; static classNames: Array; _settings: IConfirmButtonSettings; _privateSettings: IConfirmButtonPrivate; _events: IConfirmButtonEvents; protected _ignoreClick?: boolean; protected _afterNew(): void; protected _cancel(): void; protected _confirm(): void; _prepareChildren(): void; } //# sourceMappingURL=ConfirmButton.d.ts.map