import { LitElement } from 'lit'; import { FileType } from '../types/files.types'; import { ShadowPartsController } from '../controllers/shadow-parts-controller'; import { WeavySubComponent } from '../classes/weavy-sub-component'; declare global { interface HTMLElementTagNameMap { "wy-attachment": WyAttachment; "wy-attachment-list": WyAttachmentList; } } /** * Attachment displayed as list item. * * **Used sub components:** * * - [``](./ui/wy-item.ts) * - [``](./ui/wy-icon.ts) * * @fires {WyActionEventType} wy-action - Emitted when an action is performed on an entity. */ export declare class WyAttachment extends WeavySubComponent { static styles: import('lit').CSSResult[]; protected exportParts: ShadowPartsController; /** * Attachment file to display. */ file: FileType; render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>; } /** * List for displaying attachments. * * **Used sub components:** * * - [``](./wy-attachment.ts) * - [``](./ui/wy-item.ts) * * @fires {WyActionEventType} wy-action - Emitted when an action is performed on an entity. */ 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; render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>; } //# sourceMappingURL=wy-attachment.d.ts.map