import { EventEmitter } from '@angular/core'; import { NiraModalService } from 'nira-modal'; import { ButtonSize, ButtonType, Color, ColorState, ConfirmDialog, ThemePalette } from '../falconTypes'; import { FormGroup } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class CoreBtnComponent { private niraModalService; disable: boolean; /** * FormGroup for form validation. When button is clicked, all form fields will be marked as touched * @param FormGroup | undefined - FormGroup object from Angular Forms * @example * */ formGroup: FormGroup | undefined; /** * Loading state of the button. When true, button becomes disabled and loading indicator is shown * @param boolean - Loading state * @example * */ loading: boolean; /** * Button theme that determines its visual appearance * @param ThemePalette - 'square' for square button and 'round' for round button * @example * */ theme: ThemePalette; /** * Button type for HTML forms * @param ButtonType - Currently only 'button' is supported * @example * */ buttonType: ButtonType; /** * Button size * @param ButtonSize - 'xsmall' for very small, 'small' for small, 'medium' for medium * @example * */ size: ButtonSize; /** * Button color * @param Color - 'White' for white, 'Orange' for orange, 'Purple' for purple * @example * */ color: Color; /** * Disabled state of the button * @param boolean - true to disable the button * @example * */ set isDisabled(value: boolean); /** * Color state of the button for different states * @param ColorState - 'default' for default, 'primary' for primary, 'success' for success, 'warning' for warning, 'danger' for danger * @example * */ colorState: ColorState; /** * Event emitted when button is clicked and not disabled * @param EventEmitter - Button click event * @example * */ btnClicked: EventEmitter; /** * Event emitted when button is clicked while in disabled state * @param EventEmitter - Button click event in disabled mode * @example * */ btnClickedOnDisableMode: EventEmitter; /** * Confirmation dialog settings before executing the action * @param ConfirmDialog | undefined - Object containing title, text, confirm button and cancel button * @example * */ confirmDialog: ConfirmDialog | undefined; constructor(niraModalService: NiraModalService); clicked(): void; handleKeyBoard(event: KeyboardEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }