import { BooleanInput } from '@angular/cdk/coercion'; import * as i0 from '@angular/core'; import { InjectionToken, OnDestroy, ChangeDetectorRef } from '@angular/core'; import { Subject } from 'rxjs'; import * as i1 from '@angular/common'; import * as i2 from '@aposin/ng-aquila/icon'; import * as i3 from '@aposin/ng-aquila/message'; type ErrorStyleType = 'message' | 'text'; /** * Represents the default options for the error notification that can be configured * using the `ERROR_DEFAULT_OPTIONS` injection token. */ declare class ErrorDefaultOptions { /** * Stream that emits whenever the default options are changed. Use this to notify * components if the default options have changed after initialization. */ changes?: Subject; /** Defines the style type of the error notification. */ appearance?: ErrorStyleType; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const ERROR_DEFAULT_OPTIONS: InjectionToken; declare class NxErrorComponent implements OnDestroy { private readonly _cdr; private readonly _defaultOptions; /** Whether an icon should be displayed. Only has an effect for type 'text' */ set showIcon(value: BooleanInput); get showIcon(): boolean; private _showIcon; /** * Id of the nx-error. * * If not set, the selectable card gets an incremented value by default. */ set id(value: string); get id(): string; private _id; /** * Whether the error should have message or text styling. * * Default: `'message'`. */ set appearance(value: ErrorStyleType | undefined | ''); get appearance(): ErrorStyleType; private _appearance; private readonly _destroyed; constructor(_cdr: ChangeDetectorRef, _defaultOptions: ErrorDefaultOptions | null); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxErrorModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface LabelDefaultOptions { /** Sets the default appearance. (optional) */ size?: LABEL_SIZE_TYPE; } /** Options for sizing of the label. */ type LABEL_SIZE_TYPE = 'small' | 'large'; declare const LABEL_DEFAULT_OPTIONS: InjectionToken; declare class NxLabelComponent { private readonly _defaultOptions; private readonly _cdr; readonly _stateChanges: Subject; /** Sets the label to disabled */ set disabled(value: BooleanInput); get disabled(): boolean; private _disabled; /** Sets the label to disabled */ set negative(value: BooleanInput); get negative(): boolean; private _negative; /** Sets the Id of the label */ set id(value: string); get id(): string; private _id; /** * **Expert option** * * Sets the appearance of the label. */ set size(value: LABEL_SIZE_TYPE); get size(): LABEL_SIZE_TYPE; private _size?; /** * Sets the html `for` attribute on the label. */ set for(value: string | null); get for(): string | null; private _for; constructor(_defaultOptions: LabelDefaultOptions | null, _cdr: ChangeDetectorRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NxLabelModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { ERROR_DEFAULT_OPTIONS, ErrorDefaultOptions, LABEL_DEFAULT_OPTIONS, NxErrorComponent, NxErrorModule, NxLabelComponent, NxLabelModule }; export type { ErrorStyleType, LABEL_SIZE_TYPE, LabelDefaultOptions };