import { LitElement } from 'lit'; import { Icon } from '@nvidia-elements/core/icon'; import { fileSizeValidator } from './dropzone.util'; declare const Dropzone_base: import("@nvidia-elements/forms/mixins").FormControlMixinReturn; /** * @element nve-dropzone * @description A dropzone form control that enables users to drag and drop files onto it. * @documentation https://nvidia.github.io/elements/docs/elements/dropzone/ * @since 1.29.0 * @entrypoint \@nvidia-elements/core/dropzone * @property {File[]} value - Files selected or dropped by the user. Assign files through the JavaScript property; the HTML `value` attribute is not supported. * @event change - Dispatched when the value has changed (files located in event.target) * @slot - Custom messaging that replaces the default upload instructions. * @cssprop --background * @cssprop --border-color * @cssprop --border-radius * @cssprop --padding * @cssprop --min-height * @cssprop --color * @slot icon - Custom icon that replaces the default upload icon. * @csspart icon - The upload icon element * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file */ export declare class Dropzone extends Dropzone_base { #private; /** Comma-separated file extensions or MIME types accepted by the dropzone. */ accept: string; /** File size limit in bytes. */ maxFileSize: number; /** * Enables internal string values to update for internationalization. */ i18n: Partial; private fileInput; static styles: import("lit").CSSResult[]; static readonly metadata: { tag: string; version: string; validators: (typeof fileSizeValidator)[]; valueSchema: { type: 'array'; items: { type: 'object'; properties: { name: { type: 'string'; }; size: { type: 'number'; }; type: { type: 'string'; }; }; }; }; }; static elementDefinitions: { [Icon.metadata.tag]: typeof Icon; }; /** @protected */ formResetCallback(): void; constructor(); connectedCallback(): void; disconnectedCallback(): void; render(): import("lit").TemplateResult<1>; } export {};