import * as i0 from '@angular/core'; import { OnInit, OnDestroy } from '@angular/core'; import * as i1 from '@angular/cdk/a11y'; import * as i1$1 from '@sbb-esta/angular/core'; /** Allowed position options for sbbBadgePosition */ type SbbBadgePosition = 'after' | 'above'; /** Directive to display a text badge. */ declare class SbbBadge implements OnInit, OnDestroy { private _ngZone; private _elementRef; private _ariaDescriber; private _renderer; private _animationMode; /** Position the badge should reside. */ position: SbbBadgePosition; /** The content for the badge */ get content(): string | number | undefined | null; set content(newContent: string | number | undefined | null); private _content; /** Message used to describe the decorated element via aria-describedby */ get description(): string; set description(newDescription: string); private _description; /** Whether the badge is hidden. */ hidden: boolean; /** Whether the badge is disabled. */ disabled: boolean; /** Unique id for the badge */ _id: number; /** Visible badge element. */ private _badgeElement; /** Whether the OnInit lifecycle hook has run yet */ private _isInitialized; constructor(...args: unknown[]); /** * Gets the element into which the badge's content is being rendered. * Undefined if the element hasn't been created (e.g. if the badge doesn't have content). */ getBadgeElement(): HTMLElement | undefined; ngOnInit(): void; ngOnDestroy(): void; /** Creates the badge element */ private _createBadgeElement; /** Update the text content of the badge element in the DOM, creating the element if necessary. */ private _updateRenderedContent; /** Updates the host element's aria description via AriaDescriber. */ private _updateHostAriaDescription; /** Clears any existing badges that might be left over from server-side rendering. */ private _clearExistingBadges; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_hidden: unknown; static ngAcceptInputType_disabled: unknown; } declare class SbbBadgeModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { SbbBadge, SbbBadgeModule }; export type { SbbBadgePosition };