import * as i0 from '@angular/core'; import { OnChanges, OnDestroy } from '@angular/core'; import { DynamicTextContent } from '@odx/angular/cdk/dynamic-view'; import { Position } from '@odx/angular/utils'; type BadgeVariant = typeof BadgeVariant[keyof typeof BadgeVariant]; declare const BadgeVariant: { readonly HIGHLIGHT: "highlight"; readonly DANGER: "danger"; readonly CONFIRMATION: "confirmation"; }; /** * Represents a badge component. */ declare class BadgeComponent { readonly element: i0.ElementRef; /** * Indicates whether the badge should have a contrast effect. * * @type {boolean} * @default false */ contrast: boolean; /** * The variant of the badge. * * @type {BadgeVariant} * @default BadgeVariant.HIGHLIGHT */ variant: BadgeVariant; /** * The value of the badge component. * It can be of type `DynamicTextContent` or `null`. * * @type {DynamicTextContent | null} */ value?: DynamicTextContent | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_contrast: unknown; } declare class BadgeDirective implements BadgeComponent, OnChanges, OnDestroy { private readonly connectedOverlayService; private readonly injector; private badgeRef; readonly element: i0.ElementRef; /** * The value of the badge directive. * * @type {DynamicTextContent} * @default null */ value?: DynamicTextContent | null; /** * Indicates whether the badge should have a contrast effect. * * @type {boolean} * @default false */ contrast: boolean; /** * The position of the badge. * * @type {Position} * @default Position.BOTTOM_END */ position: Position; /** * The offset of the badge. * * @type {number} * @default 0 */ offset: number; /** * The variant of the badge. * * @type {BadgeVariant} * @default BadgeVariant.HIGHLIGHT */ variant: BadgeVariant; ngOnChanges(): void; ngOnDestroy(): void; private showBadge; private hideBadge; private updateBadge; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_contrast: unknown; static ngAcceptInputType_offset: unknown; } export { BadgeComponent, BadgeDirective, BadgeVariant };