import { ElementRef, OnDestroy } from '@angular/core'; import { FocusMonitor } from '@angular/cdk/a11y'; import { CanDisable, CanColor, HasElementRef } from '@dynatrace/ngx-groundhog/core'; export declare class GhButtonBase { _elementRef: ElementRef; constructor(_elementRef: ElementRef); } export declare const _GhButtonMixinBase: (new (...args: any[]) => CanDisable) & (new (...args: any[]) => CanColor) & typeof GhButtonBase; export declare type ButtonVariant = 'primary' | 'secondary'; /** * Groundhog design button. */ export declare class GhButton extends _GhButtonMixinBase implements OnDestroy, CanDisable, CanColor, HasElementRef { private _focusMonitor; variant: ButtonVariant; /** Whether the button is icon button. */ _isIconButton: boolean; private _variant; constructor(elementRef: ElementRef, _focusMonitor: FocusMonitor); ngOnDestroy(): void; /** Focuses the button. */ focus(): void; private _getHostElement(); /** Gets whether the button has one of the given attributes. */ private _hasHostAttributes(...attributes); private _replaceCssClass(newClass?, oldClass?); } /** * Groundhog design button. */ export declare class GhAnchor extends GhButton { constructor(elementRef: ElementRef, focusMonitor: FocusMonitor); _haltDisabledEvents(event: Event): void; }