export default UploadArea;
/**
 * Drag-and-drop file uploader that participates in native forms.
 *
 * @element pds-upload
 * @formAssociated
 *
 * @attr {string} accept - Comma separated list of accepted MIME types and file extensions
 * @attr {boolean} multiple - Allows selecting more than one file
 * @attr {boolean} disabled - Disables interaction with the drop zone and button
 * @attr {number} max-files - Optional cap on the number of files the user may select
 */
declare class UploadArea extends HTMLElement {
    static get observedAttributes(): string[];
    /**
     * Invoked when the element becomes associated with a `<form>`.
     */
    formAssociatedCallback(): void;
    /**
     * Sync disabled state across internal controls when the host form toggles.
     * @param {boolean} disabled
     */
    formDisabledCallback(disabled: boolean): void;
    /**
     * Clear selected files when the host form resets.
     */
    formResetCallback(): void;
    /**
     * Restore previously submitted files during BFCache or session restores.
     * @param {File[]} state
     */
    formStateRestoreCallback(state: File[]): void;
    /**
     * Value is derived from the selected files and cannot be set manually.
     * @param {string} val
     */
    set value(val: string);
    /**
     * Comma separated list of file names for form serialisation.
     * @returns {string}
     */
    get value(): string;
    /**
     * Run constraint validation leveraging ElementInternals.
     * @returns {boolean}
     */
    checkValidity(): boolean;
    /**
     * Report validity issues using the browser UI.
     * @returns {boolean}
     */
    reportValidity(): boolean;
    /**
     * Clear all selected files and update the UI accordingly.
     */
    clear(): void;
    /**
     * Remove all files and emit a change notification.
     */
    clear(): void;
    /**
     * Lifecycle hook used to upgrade properties and wire event listeners.
     */
    connectedCallback(): void;
    /**
     * Clean up listeners and revoke object URLs when disconnected.
     */
    disconnectedCallback(): void;
    /**
     * Mirror attribute mutations onto the hidden file input.
     * @param {string} name
     * @param {string|null} oldVal
     * @param {string|null} newVal
     */
    attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
    /**
     * Retrieve a shallow copy of the current file selection.
     * @returns {File[]}
     */
    getFiles(): File[];
    #private;
}
//# sourceMappingURL=pds-upload.d.ts.map