import * as i1 from '@eui/components/shared'; import { BaseStatesDirective } from '@eui/components/shared'; import * as i0 from '@angular/core'; /** * @description * A badge component that can display text, numbers, or icons with various states and styles. * Supports content truncation, empty states, and icon-only modes. * * @usageNotes * ### Basic Usage * ```html * * Active * Pending * Error * * * New * * * Custom * ``` * * ### Accessibility * - Badge has role="status" for screen readers * - Provide meaningful aria-label describing the status * - Ensure sufficient color contrast for text visibility * * ### Notes * - Use semantic color variants (euiSuccess, euiWarning, euiDanger, euiInfo) for consistent meaning * - Size variants (euiSizeS, euiSizeM) control badge dimensions * - Dotted badge mode displays a small dot indicator instead of full badge */ declare class EuiStatusBadgeComponent { /** * @description * Computes and returns the CSS classes for the badge based on its current state * * @returns {string} Space-separated string of CSS class names */ get cssClasses(): string; /** @description Data attribute for e2e testing */ e2eAttr: string; /** @description ARIA role for accessibility */ role: string; /** @description ARIA label for accessibility */ ariaLabel: string | null; /** * @description Whether to display the badge as a dot * @default false */ euiDottedBadge: boolean; /** * Extra color palette to be used on the status-badge. */ colorPalette: string; /** @description Instance of BaseStatesDirective for managing component states */ protected baseStatesDirective: BaseStatesDirective; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_euiDottedBadge: unknown; } declare const EUI_STATUS_BADGE: readonly [typeof EuiStatusBadgeComponent]; export { EUI_STATUS_BADGE, EuiStatusBadgeComponent }; //# sourceMappingURL=eui-components-eui-status-badge.d.ts.map