import { FocusMonitor } from '@angular/cdk/a11y'; import * as i0 from '@angular/core'; import { AfterContentInit, OnDestroy, AfterViewInit, ElementRef, Renderer2, ChangeDetectorRef } from '@angular/core'; import { MappedStyles } from '@aposin/ng-aquila/core'; import { NxIconComponent } from '@aposin/ng-aquila/icon'; /** The size of the link. */ type NxLinkSize = 'xsmall' | 'small' | 'large'; /** * `Input('nxStyle') classNames` sets the style of the link, thereby altering the visual appearance. * You can use any combination of 'black', 'icon-right', 'icon-only', 'negative' or 'text'. */ declare class NxLinkComponent extends MappedStyles implements AfterContentInit, OnDestroy, AfterViewInit { private readonly _cdr; private readonly _focusMonitor; /** @docs-private */ icon: NxIconComponent; /** Sets the size of the link. Default: 'small'. */ set size(value: NxLinkSize); get size(): NxLinkSize; private _size; constructor(_elementRef: ElementRef, _renderer: Renderer2, _cdr: ChangeDetectorRef, _focusMonitor: FocusMonitor); ngAfterContentInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; /** * @docs-private * getter used for the modal component as a quickfix * since button got changed from directive to component the reference used by the ngOpenModelOnClick directive * for nxButtons is a reference to component instance instead of an element reference. As a workaround we need a * way to reach the elementRef of the component until the modal gets refactored. */ get elementRef(): ElementRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxLinkModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NxLinkComponent, NxLinkModule }; export type { NxLinkSize };