import * as _angular_core from '@angular/core'; import { MTIcon } from '@masterteam/icons'; /** * Which story an empty list is telling. They are different situations and they * need different words: "nothing here yet" invites the user to create the first * record, "nothing matched" invites them to widen the filter. Rendering the * same magnifying glass for both actively misleads — it implies a search is * hiding results when none was applied (finding H-12). */ type EmptyStateVariant = 'empty' | 'filtered'; /** Artwork slot. `none` for tight surfaces (a sidebar menu, a small panel). */ type EmptyStateIllustration = 'box' | 'filter' | 'none'; /** * The one empty state. * * Before this the product had three: the table's illustrated "No data found", * the cards view's bare grey "No cards found.", and a hardcoded, untranslated * "No data found" in the client page menu. Three patterns across one product * read as three teams, and none of them said what the list holds or offered a * way to fill it. * * Everything is optional: with no inputs at all it renders exactly what the * table used to, so adopting it is never a regression. */ declare class EmptyState { private readonly transloco; readonly variant: _angular_core.InputSignal; /** Defaults to the variant's illustration; `none` opts out entirely. */ readonly illustration: _angular_core.InputSignal; /** Heading. Falls back to the variant's default copy. */ readonly title: _angular_core.InputSignal; /** One line saying what the list holds, or why nothing matched. */ readonly description: _angular_core.InputSignal; /** Renders the call to action when set — "New risk", "Clear filters". */ readonly actionLabel: _angular_core.InputSignal; readonly actionIcon: _angular_core.InputSignal; readonly actionClick: _angular_core.OutputEmitterRef; readonly resolvedTitle: _angular_core.Signal; readonly resolvedIllustration: _angular_core.Signal; readonly resolvedDescription: _angular_core.Signal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { EmptyState }; export type { EmptyStateIllustration, EmptyStateVariant };