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 { IFileUploadCancelEventDetail } from './Events/IFileUploadCancelEvent';
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';
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;
/**
 * The `{@link FileUploadElement}` element.
 *
 * @public
 */
export declare class FileUploadElement extends FileUploadElement_base implements IFileUploadElementProps, IFileUploadElementEvents, IInvalidable {
    private readonly _fileAdded;
    private readonly _fileDeleted;
    private readonly _fileFailed;
    private readonly _filesChanged;
    private readonly _intl;
    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 <ACTION>.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get fileAdded(): IEventEmitter<IFileUploadCancelEventDetail>;
    /**
     * Called when <ACTION>.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get fileDeleted(): IEventEmitter<IFileUploadCancelEventDetail>;
    /**
     * Called when <ACTION>.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get fileFailed(): IEventEmitter<IFileUploadErrorEventDetail>;
    /**
     * Called when <ACTION>.
     * Provides reference to `{@link IEventDetail}` as event detail.
     *
     * @public
     * @readonly
     * @eventProperty
     */
    get filesChanged(): 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
     */
    onDataTransferd(event: IDropZoneDataTransferEvent): void;
    /**
     * @protected
     * @hidden
     */
    protected onPaste(event: ClipboardEvent): void;
    /**
     * @private
     */
    private upload;
    /**
     * @private
     */
    private download;
    /**
     * Emits the {@link fileAdded} event.
     *
     * @protected
     */
    protected onFileAdded(args: IFileUploadCancelEventDetail): void;
    /**
     * Emits the {@link fileDeleted} event.
     *
     * @protected
     */
    protected onFileDeleted(args: IFileUploadCancelEventDetail): void;
    /**
     * Emits the {@link fileFailed} event.
     *
     * @protected
     */
    protected onFileFailed(args: IFileUploadErrorEventDetail): void;
    /**
     * Emits the {@link filesChanged} 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