import { IEventEmitter } from '@breadstone/mosaik-elements';
import { type IInvalidable } from '../../../Behaviors/Invalidable';
import { FileUploadView } from '../../../Types/FileUploadView';
import { CustomElement } from '../../Abstracts/CustomElement';
import type { IDropZoneDataTransferEvent } from '../../Primitives/DropZone/Events/IDropZoneDataEventDetail';
import type { IFileUploadChangeEventDetail } from './Events/IFileUploadChangeEvent';
import type { IFileUploadErrorEventDetail } from './Events/IFileUploadErrorEvent';
import type { IFileUploadElementEvents } from './IFileUploadElementEvents';
import type { IFileUploadElementProps } from './IFileUploadElementProps';
import { FileUploadElementIntl } from './Intl/FileUploadElementIntl';
import { IFileInfo } from './Models/Interfaces/IFileInfo';
import type { IUploadStrategy } from './Strategies/Interfaces/IUploadStrategy';
import { IFileUploadAddEventDetail } from './Events/IFileUploadAddEvent';
import { IFileUploadRemoveEventDetail } from './Events/IFileUploadRemoveEvent';
declare const FileUploadElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Appearanceable").IAppearanceableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array<any>) => IInvalidable & import("../../../Behaviors/Invalidable").IInvalidableProps<unknown>) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Valueable").IValueableProps<unknown>) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor;
/**
 * File Upload - A user interface component that provides a complete workflow for uploading files.
 *
 * @description
 * The FileUpload component enables users to add, manage, and upload one or multiple files.
 * It supports file selection via dialog, drag-and-drop functionality, and visual representation
 * of files being processed. Each file can be individually tracked, with options to remove,
 * retry, or monitor its upload progress.
 *
 * FileUpload is ideal for applications that require media submission, document handling,
 * or any workflow where users contribute files. It integrates seamlessly with custom
 * backend upload logic while offering hooks and events for full control over the process.
 *
 * @element mosaik-file-upload
 * @category Input
 *
 * @slot - The default slot for custom UI, such as buttons, instructions, or drop zones.
 *
 * @fires fileUploadAdded - Fired when a file is added to the upload list.
 * @fires fileUploadRemoved - Fired when a file is removed from the upload list.
 * @fires fileUploadFailed - Fired when a file upload fails.
 * @fires fileUploadChanged - Fired when the set of files has changed.
 *
 * @example
 * ```html
 * <mosaik-file-upload>
 *   <button>Select files</button>
 * </mosaik-file-upload>
 * ```
 *
 * @public
 */
export declare class FileUploadElement extends FileUploadElement_base implements IFileUploadElementProps, IFileUploadElementEvents, IInvalidable {
    private readonly _fileAdded;
    private readonly _fileRemoved;
    private readonly _fileFailed;
    private readonly _filesChanged;
    private readonly _intl;
    private _inputElement;
    private _autoUpload;
    private _view;
    private _multiple;
    private _directory;
    private _accept;
    private _strategy;
    private _value;
    private _placeholder;
    private _maxSize;
    private _isDragging;
    /**
     * @public
     */
    constructor();
    /**
     * Returns the `{@link is}` property.
     * The `{@link is}` property represents natural name of this element.
     *
     * @public
     * @static
     * @readonly
     */
    static get is(): string;
    /**
     * Gets or sets the `autoUpload` property.
     *
     * @public
     * @attr
     */
    get autoUpload(): boolean;
    set autoUpload(value: boolean);
    /**
     * Gets or sets the `view` property.
     *
     * @public
     * @attr
     */
    get view(): FileUploadView;
    set view(value: FileUploadView);
    /**
     * Gets or sets the `multiple` property.
     *
     * @public
     * @attr
     */
    get multiple(): boolean;
    set multiple(value: boolean);
    /**
     * Gets or sets the `directory` property.
     *
     * @public
     * @attr
     */
    get directory(): boolean;
    set directory(value: boolean);
    /**
     * Gets or sets the `accept` property.
     *
     * @public
     */
    get accept(): Array<string>;
    set accept(value: Array<string>);
    /**
     * Gets or sets the `strategy` property.
     *
     * @public
     */
    get strategy(): IUploadStrategy | null;
    set strategy(value: IUploadStrategy | null);
    /**
     * Gets or sets the `value` property.
     *
     * @public
     * @override
     */
    get value(): Array<IFileInfo>;
    set value(value: Array<IFileInfo>);
    /**
     * Gets or sets the `placeholder` property.
     *
     * @public
     */
    get placeholder(): string;
    set placeholder(value: string);
    /**
     * Gets or sets the `maxSize` property.
     *
     * @public
     * @attr
     */
    get maxSize(): number;
    set maxSize(value: number);
    get isDragging(): boolean;
    private set isDragging(value);
    get intl(): FileUploadElementIntl;
    /**
     * Called when a file is added.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get fileUploadAdded(): IEventEmitter<IFileUploadAddEventDetail>;
    /**
     * Called when a file is deleted.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get fileUploadRemoved(): IEventEmitter<IFileUploadRemoveEventDetail>;
    /**
     * Called when a file upload fails.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get fileUploadFailed(): IEventEmitter<IFileUploadErrorEventDetail>;
    /**
     * Called when the files are changed.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get fileUploadChanged(): IEventEmitter<IFileUploadChangeEventDetail>;
    /**
     * @public
     */
    add(value?: File | Array<File> | FileList): void;
    /**
     * @public
     */
    delete(fileInfo: IFileInfo): void;
    /**
     * @public
     */
    save(fileInfo: IFileInfo): Promise<void>;
    /**
     * Resets the value, all kinds of validation and errors.
     *
     * @public
     */
    reset(): void;
    /**
     * Checks the validity of the element and returns `true` if it is valid; otherwise, `false`.
     *
     * @public
     * @override
     */
    checkValidity(): boolean;
    /**
     * @protected
     * @template
     */
    onDataTransferred(event: IDropZoneDataTransferEvent): void;
    /**
     * @protected
     * @override
     */
    protected onApplyTemplate(): void;
    /**
     * @protected
     * @hidden
     */
    protected onPaste(event: ClipboardEvent): void;
    /**
     * @private
     */
    private upload;
    /**
     * @private
     */
    private download;
    /**
     * Emits the {@link fileUploadAdded} event.
     *
     * @protected
     */
    protected onFileAdded(args: IFileUploadAddEventDetail): void;
    /**
     * Emits the {@link fileUploadRemoved} event.
     *
     * @protected
     */
    protected onFileRemoved(args: IFileUploadRemoveEventDetail): void;
    /**
     * Emits the {@link fileUploadFailed} event.
     *
     * @protected
     */
    protected onFileFailed(args: IFileUploadErrorEventDetail): void;
    /**
     * Emits the {@link fileUploadChanged} event.
     *
     * @protected
     */
    protected onFilesChanged(args: IFileUploadChangeEventDetail): void;
}
/**
 * @public
 */
export declare namespace FileUploadElement {
    type Props = IFileUploadElementProps;
}
/**
 * @public
 */
declare global {
    interface HTMLElementTagNameMap {
        'mosaik-file-upload': FileUploadElement;
    }
}
export {};
//# sourceMappingURL=FileUploadElement.d.ts.map