import { nothing } from 'lit';
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-tag": WyTag;
        "wy-tag-list": WyTagList;
    }
}
/**
 * Annotation displayed as a small button.
 *
 * **Used sub components**
 *
 * - [`<wy-button>`](./wy-button.ts)
 * - [`<wy-icon>`](./wy-icon.ts)
 *
 * @fires {FileOpenEventType} file-open - When opening a file in preview is requested
 * @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 WyTag extends WeavySubComponent {
    static styles: import('lit').CSSResult[];
    protected exportParts: ShadowPartsController;
    /**
     * Triggers wy-action event.
     * @internal
     */
    dispatchAction(e: Event): boolean;
    render(): import('../../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>;
}
/**
 * List of annotations. Displayed as inline buttons.
 *
 * **Used sub components**
 *
 * - [`<wy-tag>`](./wy-tag.ts)
 *
 * @fires {FileOpenEventType} file-open - When opening a file in preview is requested
 * @csspart wy-annotations - Wrapper for the annotations.
 */
export declare class WyTagList extends WeavySubAppComponent {
    static styles: import('lit').CSSResult[];
    protected exportParts: ShadowPartsController;
    tags: string[];
    editable: boolean;
    render(): import('../../../node_modules/lit-html/node/lit-html.js').TemplateResult<1> | typeof nothing;
}
//# sourceMappingURL=wy-tag.d.ts.map