import { OnDestroy, EventEmitter, Renderer2, ElementRef } from '@angular/core'; import { PepStyleType, PepStyleStateType, PepSizeType } from '@pepperi-addons/ngx-lib'; import { PepIconType } from '@pepperi-addons/ngx-lib/icon'; import { IPepButtonClickEvent } from './button.model'; import * as i0 from "@angular/core"; /** * This is a button component that support pepperi theme * style & state & sizes * * @export * @class PepButtonComponent * @implements {OnDestroy} */ export declare class PepButtonComponent implements OnDestroy { private renderer; private element; /** * The button key * * @type {string} * @memberof PepButtonComponent */ key: string; /** * The text on the button. * * @type {string} * @memberof PepButtonComponent */ value: string; /** * The style of the button. * * @type {PepStyleType} * @memberof PepButtonComponent */ styleType: PepStyleType; /** * The style state of the button. * * @type {PepStyleStateType} * @memberof PepButtonComponent */ styleStateType: PepStyleStateType; /** * The size of the button. * * @type {PepSizeType} * @memberof PepButtonComponent */ sizeType: PepSizeType; /** * Class names that should be on the button element tag like classNames="class1 class2" * * @memberof PepButtonComponent */ classNames: string; /** * If the button is disable or not. * * @type {boolean} * @memberof PepButtonComponent */ disabled: boolean; /** * The icon name to show on the button. look in (@link icon -> All icons) * * @type {PepIconType} See {@link PepIconType} * @memberof PepButtonComponent */ iconName: PepIconType; /** * The icon position. * * @type {('start' | 'end')} * @memberof PepButtonComponent */ iconPosition: 'start' | 'end'; private _visible; /** * If the button is visible or not. * * @memberof PepButtonComponent */ set visible(visible: boolean); get visible(): boolean; /** * The button click event. * * @type {EventEmitter} * @memberof PepButtonComponent */ buttonClick: EventEmitter; constructor(renderer: Renderer2, element: ElementRef); ngOnDestroy(): void; /** * The button click */ onButtonClicked(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }