import { LiveAnnouncer } from '@angular/cdk/a11y'; import { BooleanInput } from '@angular/cdk/coercion'; import * as i0 from '@angular/core'; import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core'; import * as i1 from '@angular/common'; /** Options for sizing of the spinner. */ type SpinnerSize = 'small' | 'medium' | 'large'; /** Options for aria live regions of the spinner. */ type AriaPolite = 'polite' | 'assertive' | 'off'; declare class NxSpinnerComponent implements OnInit, OnDestroy { private readonly _cdr; private readonly liveAnnouncer; /** Sets the size of the spinner. Default is 'small'. */ set size(value: SpinnerSize); get size(): SpinnerSize; private _size; /** Whether the spinner should use a negative styling. */ set negative(value: BooleanInput); get negative(): boolean; private _negative; /** * Message that will be announced by screen readers at instantiation. * Do __not__ combine with an `aria-live` area. * Empty messages will be ignored. Defaults to empty/no message */ set activationAnnouncement(value: string); get activationAnnouncement(): string; private _activationAnnouncement; /** * Message that will be announced by screen readers at destroy. * Do __not__ combine with an `aria-live` area. * Empty messages will be ignored. Defaults to empty/no message */ set completionAnnouncement(value: string); get completionAnnouncement(): string; private _completionAnnouncement; /** Sets the aria live regions of the spinner. Default is 'assertive'. */ ariaPoliteness: AriaPolite; constructor(_cdr: ChangeDetectorRef, liveAnnouncer: LiveAnnouncer); ngOnInit(): void; ngOnDestroy(): void; private announce; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxSpinnerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NxSpinnerComponent, NxSpinnerModule }; export type { AriaPolite, SpinnerSize };