import { PropertyValues } from "lit"; import { Annotation } from "../../models/annotation"; import { Tag } from "../../models/tag"; import { TagComponent } from "../tag/tag"; import { Hertz, Seconds } from "../../models/unitConverters"; import { DataComponent } from "../../helpers/dataComponent"; declare const AnnotationComponent_base: import("../../helpers/types/mixins").Component & { tagName: string; }; /** * @description * Builds an annotation model using DOM element attributes * * @fires oe-annotation-created * Fires when the annotation component is created * * @fires oe-annotation-updating * Fires when the user starts dragging / modifying the annotation * (not currently implemented; all annotations are readonly) * * @fires oe-annotation-updated (not implemented) * Fires when the low-frequency, high-frequency, start-time, end-time, or tag * properties are updated. * * @fires oe-annotation-removed * Fires when the annotation is deleted / removed from the DOM * * @fires oe-annotation-selected * Fires when the annotation is selected. * Triggered by `focus`, and also emits an `Annotation` model. * * @fires oe-annotation-deselected * Fires when the annotation is de-selected. * Triggered by `blur` and emits and `annotation` model * * @fires oe-annotation-changed * Fires when something about the elements lit DOM template has changed * E.g. the DOM node has been copied or moved. * * @slot - A slot for elements */ export declare class AnnotationComponent extends AnnotationComponent_base implements DataComponent { static readonly createdEventName = "oe-annotation-created"; static readonly updatedEventName = "oe-annotation-updated"; static readonly removedEventName = "oe-annotation-removed"; static readonly selectedEventName = "oe-annotation-selected"; static readonly deselectedEventName = "oe-annotation-deselected"; static readonly updatingEventName = "oe-annotation-updating"; static readonly annotationChangedEventName = "oe-annotation-changed"; lowFrequency?: Hertz | null; highFrequency?: Hertz | null; startTime: Seconds; endTime?: Seconds | null; /** * Makes the annotation non-editable * @default true */ readonly: boolean; /** * A comma separated list of tag names for the annotation region * * @example * */ tags: Tag[]; readonly tagComponents?: ReadonlyArray; get model(): Readonly; get selected(): boolean; set selected(value: boolean); private _selected; disconnectedCallback(): void; firstUpdated(): void; updated(change: PropertyValues): void; tagModels(): Tag[]; render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { "oe-annotation": AnnotationComponent; } } export {};