import { EventEmitter } from '../../stencil-public-runtime'; /** * @slot Content of the button */ export declare class DnnButton { /** * Defines the look of the button. */ appearance: 'primary' | 'danger' | 'secondary' | 'tertiary'; /** * Optional button type, * can be either submit, reset or button and defaults to button if not specified. * Warning: DNN wraps the whole page in a form, only use this if you are handling * form submission manually. */ type: 'submit' | 'reset' | 'button'; /** * @deprecated Use type instead. * Optional button type, * can be either submit, reset or button and defaults to button if not specified. * Warning: DNN wraps the whole page in a form, only use this if you are handling * form submission manually. * Warning: This will be deprecated in the next version and replaced with a new 'type' property. */ formButtonType: 'submit' | 'reset' | 'button'; /** * Optionally reverses the button style. */ reversed: boolean; /** * Optionally sets the button size, small normal or large, defaults to normal */ size?: 'small' | 'normal' | 'large'; /** * Optionally add a confirmation dialog before firing the action. */ confirm?: boolean; /** * The text of the yes button for confirmation. */ confirmYesText?: string; /** * The text of the no button for confirmation. */ confirmNoText?: string; /** * The text of the confirmation message; */ confirmMessage?: string; /** * Disables the button */ disabled: boolean; /** * Fires when confirm is true and the user confirms the action. */ confirmed: EventEmitter; /** * Fires when confirm is true and the user cancels the action. */ canceled: EventEmitter; focused: boolean; modalVisible: boolean; el: HTMLDnnButtonElement; internals: ElementInternals; private button; private modal; componentDidLoad(): void; private handleConfirm; private handleCancel; private handleClick; private getElementClasses; render(): any; }