import { LitElement, type PropertyValues } from 'lit'; import { type NuiType } from '../../types/nui-type.js'; import type { UploadMode, NuiFileUploadEventMap } from './types.js'; export type { NuiFileUploadEventMap }; export declare class NuiFileUpload extends LitElement { name: string; url: string; mode: UploadMode; multiple: boolean; accept: string; disabled: boolean; auto: boolean; maxFileSize?: number; chooseLabel: string; uploadLabel: string; cancelLabel: string; chooseIcon: string; uploadIcon: string; cancelIcon: string; customUpload: boolean; invalidFileSizeMessage: string; fileLimit?: number; invalidFileLimitMessage: string; fileUploadClass: string; unstyled: boolean; nuiType: NuiType; private files; private dragover; private isUploading; private uploadProgress; private fileInput?; protected createRenderRoot(): DocumentFragment | HTMLElement; protected updated(changed: PropertyValues): void; disconnectedCallback(): void; private clearObjectURLs; private handleChooseClick; private handleInputChange; private handleDragOver; private handleDragLeave; private handleDrop; private handleRemoveItem; private handleCancelClick; clear(): void; handleUploadClick: () => void; upload(): void; private handleFilesSelection; render(): import("lit-html").TemplateResult; } export interface NuiFileUpload { addEventListener( type: K, listener: (this: NuiFileUpload, ev: NuiFileUploadEventMap[K]) => void, options?: boolean | AddEventListenerOptions, ): void; addEventListener( type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: K, listener: (this: NuiFileUpload, ev: NuiFileUploadEventMap[K]) => void, options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions, ): void; } declare global { interface HTMLElementTagNameMap { 'nui-file-upload': NuiFileUpload; } } //# sourceMappingURL=nui-file-upload.d.ts.map