import { LitElement } from 'lit';
import { FileType } from '../types/files.types';
import { ShadowPartsController } from '../controllers/shadow-parts-controller';
declare global {
    interface HTMLElementTagNameMap {
        "wy-attachment": WyAttachment;
        "wy-attachment-list": WyAttachmentList;
    }
}
/**
 * Attachment displayed as list item.
 *
 * **Used sub components:**
 *
 * - [`<wy-item>`](./ui/wy-item.ts)
 * - [`<wy-icon>`](./ui/wy-icon.ts)
 *
 * @fires {FileOpenEventType} file-open - When opening a file in preview is requested
 */
export declare class WyAttachment extends LitElement {
    static styles: import('lit').CSSResult[];
    protected exportParts: ShadowPartsController;
    /**
     * Attachment file to display.
     */
    file: FileType;
    /**
     * Triggers file-open event.
     *
     * @param e
     * @param file
     * @returns
     */
    protected dispatchFileOpen(e: Event, file: FileType): boolean;
    render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>;
}
/**
 * List for displaying attachments.
 *
 * **Used sub components:**
 *
 * - [`<wy-attachment>`](./wy-attachment.ts)
 * - [`<wy-item-list>`](./ui/wy-item.ts)
 *
 * @fires {FileOpenEventType} file-open - When opening a file in preview is requested
 */
export declare class WyAttachmentList extends LitElement {
    static styles: import('lit').CSSResult[];
    protected exportParts: ShadowPartsController;
    /**
     * List of files to display in list.
     */
    files: FileType[];
    /**
     * Filled background.
     */
    filled: boolean;
    protected dispatchFileOpen(file: FileType): boolean;
    render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>;
}
//# sourceMappingURL=wy-attachment.d.ts.map