import { FocusMonitor } from '@angular/cdk/a11y'; import { Platform } from '@angular/cdk/platform'; import { ElementRef, OnDestroy } from '@angular/core'; import { CanDisable } from 'vdl-angular/core'; /** @docs-private */ export declare class VdlButtonBase { _elementRef: ElementRef; constructor(_elementRef: ElementRef); } export declare const _VdlButtonMixinBase: (new (...args: any[]) => CanDisable) & typeof VdlButtonBase; /** * A component used for different button types and sizes */ export declare class VdlButton extends _VdlButtonMixinBase implements OnDestroy, CanDisable { /** * @deprecated Platform checks for SSR are no longer needed * @deletion-target 7.0.0 */ private _platform; private _focusMonitor; _animationMode: string; /** Whether the button has focus from the keyboard (not the mouse). Used for class binding. */ _isKeyboardFocused: boolean; /** Whether the button is round. */ readonly isRoundButton: boolean; /** Whether the button is icon button. */ readonly isIconButton: boolean; /** Whether a mousedown has occurred on this element in the last 100ms. */ _isMouseDown: boolean; constructor(elementRef: ElementRef, /** * @deprecated Platform checks for SSR are no longer needed * @deletion-target 7.0.0 */ _platform: Platform, _focusMonitor: FocusMonitor, _animationMode?: string); ngOnDestroy(): void; _setMousedown(): void; _setKeyboardFocus(): void; _removeKeyboardFocus(): void; /** Focuses the button. */ focus(): void; _getHostElement(): any; /** Gets whether the button has one of the given attributes. */ _hasHostAttributes(...attributes: string[]): boolean; _isRoundButton(): boolean; } /** * A component that extends VdlButton utilized for anchors */ export declare class VdlAnchor extends VdlButton { /** Tabindex of the button. */ tabIndex: number; constructor(platform: Platform, focusMonitor: FocusMonitor, elementRef: ElementRef, animationMode?: string); _haltDisabledEvents(event: Event): void; }