/** * Generated bundle index. Do not edit. */ import * as i0 from "@angular/core"; import { InjectionToken, Signal } from "@angular/core"; import * as i1 from "@angular/common"; /** Positioning preset of an indicator. */ export type NxIndicatorPosition = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'over-text' | 'over-icon' | 'after-text' | 'with-overlap'; /** * Size of an indicator. Optimized for A1. */ export type NxIndicatorSize = 's' | 'm' | '800' | '1000' | '1200' | '1400' | '1600' | '1800' | '2000'; /** Color type of an indicator. Optimized for A1. */ export type NxIndicatorType = 'critical' | 'warning' | 'positive' | 'info'; export declare class NxIndicatorComponent { private readonly _elementRef; /** * Sets the indicator positioning preset. Accepts a space-separated list of * `NxIndicatorPosition` values. Unrecognized values are ignored * * The legacy positions `over-text`, `over-icon`, `after-text` and `with-overlap` are ignored * when combined with any other position. */ set position(value: NxIndicatorPosition | (string & {})); get position(): string; private readonly _position; /** * Whether the indicator moves inwards to overlap its container. * Only affects the 'top-start', 'top-end', 'bottom-start' and 'bottom-end' positions. */ readonly overlap: import("@angular/core").InputSignalWithTransform; /** * Sets the indicator size. Optimized for A1. * * Ignored when the indicator sits in a component that provides an * `NxIndicatorContext`: there the host owns the size. */ readonly sizeInput: import("@angular/core").InputSignal; /** Sets the indicator color type. Optimized for A1. */ readonly type: import("@angular/core").InputSignal; private readonly _context; /** Size the indicator renders at: the hosting context wins over the `size` input. */ readonly size: import("@angular/core").Signal; protected readonly _variantClasses: import("@angular/core").Signal; _getTextLength(): number; /** * An indicator holding an icon or image rather than text renders as the icon * variant. */ _hasIcon(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class NxIndicatorModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * Implemented by components that host a projected indicator and want to control its * size. Provide the implementation under `NX_INDICATOR_CONTEXT`. */ export interface NxIndicatorContext { readonly indicatorSize: Signal; } export declare const NX_INDICATOR_CONTEXT: InjectionToken;