import { nothing } from 'lit'; import { FileType } from '../types/files.types'; import { WeavySubAppComponent } from '../classes/weavy-sub-app-component'; import { ShadowPartsController } from '../controllers/shadow-parts-controller'; import { WeavySubComponent } from '../classes/weavy-sub-component'; declare global { interface HTMLElementTagNameMap { "wy-annotation": WyAnnotation; "wy-annotation-list": WyAnnotationList; } } /** * Annotation displayed as a small button. * * **Used sub components** * * - [``](./ui/wy-button.ts) * - [``](./ui/wy-icon.ts) * * @fires {WyActionEventType} wy-action - Emitted when an action is performed on an entity. * @csspart wy-annotation - Annotation button. * @csspart wy-annotation-icon - The icon of the annotation button. * @csspart wy-annotation-text - The text of the annotation button. */ export declare class WyAnnotation extends WeavySubComponent { static styles: import('lit').CSSResult[]; protected exportParts: ShadowPartsController; /** * The annotation file to display. */ file: FileType; render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>; } /** * List of annotations. Displayed as inline buttons. * * **Used sub components** * * - [``](./wy-annotation.ts) * * @fires {WyActionEventType} wy-action - Emitted when an action is performed on an entity. * @csspart wy-annotations - Wrapper for the annotations. */ export declare class WyAnnotationList extends WeavySubAppComponent { static styles: import('lit').CSSResult[]; protected exportParts: ShadowPartsController; /** * The annotations file list to display. */ files: FileType[]; render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1> | typeof nothing; } //# sourceMappingURL=wy-annotation.d.ts.map