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**
 *
 * - [`<wy-button>`](./ui/wy-button.ts)
 * - [`<wy-icon>`](./ui/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 WyAnnotation extends WeavySubComponent {
    static styles: import('lit').CSSResult[];
    protected exportParts: ShadowPartsController;
    /**
     * The annotation file to display.
     */
    file: FileType;
    /**
     * Triggers file-open event.
     * @internal
     */
    dispatchFileOpen(e: Event, file: FileType): boolean;
    render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>;
}
/**
 * List of annotations. Displayed as inline buttons.
 *
 * **Used sub components**
 *
 * - [`<wy-annotation>`](./wy-annotation.ts)
 *
 * @fires {FileOpenEventType} file-open - When opening a file in preview is requested
 * @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