import * as i0 from '@angular/core'; import { OnInit, OnChanges, ChangeDetectorRef, ElementRef, EventEmitter, Renderer2, SimpleChanges } from '@angular/core'; import { ThemeClassesMap } from '@usitsdasdesign/dds-ng/core/theme'; import { ExtThemes, ButtonKind, Size, WidthState } from '@usitsdasdesign/dds-ng/shared'; import { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config'; import { SpinnerOptions } from '@usitsdasdesign/dds-ng/spinner'; import * as i1 from '@usitsdasdesign/dds-ng/core/focus-handler'; declare class ButtonComponent implements OnInit, OnChanges { cdr: ChangeDetectorRef; private ddsConfig; private renderer; elementRef: ElementRef; hostRole: string | undefined; inlineFlex: boolean; maxWidth: boolean; isInDisabledState: boolean | undefined; get isFullWidth(): boolean; onHostKeydownHandler(event: KeyboardEvent): void; onHostKeyupHandler(event: KeyboardEvent): void; btnRef: ElementRef; btnText: ElementRef; theme: ExtThemes | string | undefined; kind: ButtonKind | string | undefined; size: Size | string | undefined; width: WidthState | string | undefined; icon: string | undefined; ariaLabel: string | undefined; customClass: string | undefined; isLoading: boolean | undefined; disabled: boolean | undefined; ariaSelected: boolean | undefined; isInverse: boolean | undefined; isColorBg: boolean | undefined; isIconLeft: boolean | undefined; type: string | undefined; role: string | undefined; ariaChecked: boolean | undefined | null; ariaDescribedby: string | undefined; ariaCurrent: string | undefined; clicked: EventEmitter; themeConfig: ThemeClassesMap; spinnerOptions: SpinnerOptions; isSelected: boolean; itemId: string; isHostButton: boolean; hostButtonRef: HTMLElement; constructor(cdr: ChangeDetectorRef, ddsConfig: DdsConfigService, renderer: Renderer2, elementRef: ElementRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; updateDisabledState(): void; isLoadingWithoutIcon(): boolean | undefined; checkBtnText(): boolean; handleKeydown(event: KeyboardEvent): void; handleKeyup(event: KeyboardEvent): void; selectedState(isSelected: boolean): void; click(event: Event): void; private hostButtonConfig; private disabledHost; private setSpinnerColor; focus(): void; private unFocus; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ButtonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface ButtonOptions { theme?: ExtThemes | string; kind?: ButtonKind | string; size?: Size | string; width?: WidthState | string; type?: string; icon?: string; ariaLabel?: string; ariaSelected?: string; ariaDescribedby?: string; role?: string; ariaChecked?: boolean; hostRole?: string; customClass?: string; isLoading?: boolean; isInverse?: boolean; isColorBg?: boolean; disabled?: boolean; isIconLeft?: boolean; ariaCurrent?: string; } export { ButtonComponent, ButtonModule }; export type { ButtonOptions };