import { FocusableOption } from '@angular/cdk/a11y'; import { BooleanInput } from '@angular/cdk/coercion'; import { AfterViewChecked, DoCheck, ElementRef, EventEmitter } from '@angular/core'; import { IconRegistry, TooltipDirective, TruncatedWithTooltipDirective } from '@danske/sapphire-angular'; import { TagGroupComponent } from './tag-group.component'; import * as i0 from "@angular/core"; import * as i1 from "@danske/sapphire-angular"; /** * Event emitted from a TagGroupComponent. * Contains the tag on which the event occured. */ export interface TagEvent { tag: TagComponent; } /** * Sapphire search input field. */ export declare class TagComponent implements FocusableOption, DoCheck, AfterViewChecked { elementRef: ElementRef; tagGroup: TagGroupComponent; private userTooltipDirective; private truncatedWithTooltipDirective; constructor(elementRef: ElementRef, tagGroup: TagGroupComponent, iconRegistry: IconRegistry, userTooltipDirective: TooltipDirective, truncatedWithTooltipDirective: TruncatedWithTooltipDirective); /** * A unique id for the host DOM element. * If none is supplied, it will be auto-generated. */ id: string; error: BooleanInput; removable: boolean; disabled?: boolean; getLabel(): string; focus(): void; /** * Emitted when a tag is removed. */ readonly removed: EventEmitter; readonly click: EventEmitter; /** * The id of the button for removing the tag */ removeButtonId: string; private hasHref; _tabIndex: string; remove(): void; /** * Allow removal of a tag if it's not disabled and has a click handler provided. */ canRemove(): boolean; hasAction(): boolean; private onKeyDown; ngDoCheck(): void; ngAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }