import { StaticAssetType, StaticAsset } from '@c8y/ngx-components/static-assets/data';
import { BsModalRef } from 'ngx-bootstrap/modal';
import * as _angular_core from '@angular/core';
import { OnDestroy } from '@angular/core';
import { DroppedFile } from '@c8y/ngx-components';
import { Observable } from 'rxjs';

declare class StaticAssetsModalComponent {
    private modalRef;
    assetType: StaticAssetType;
    supportedFileExtensions: string[];
    modalTitle: string;
    layout: 'list' | 'grid';
    result: Promise<StaticAsset>;
    private resolve;
    private reject;
    constructor(modalRef: BsModalRef);
    select(asset: StaticAsset): void;
    cancel(): void;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<StaticAssetsModalComponent, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<StaticAssetsModalComponent, "c8y-static-assets-modal", never, { "assetType": { "alias": "assetType"; "required": false; }; "supportedFileExtensions": { "alias": "supportedFileExtensions"; "required": false; }; "modalTitle": { "alias": "modalTitle"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; }, {}, never, never, true, never>;
}

declare class StaticAssetsFileListComponent implements OnDestroy {
    itemSelected: _angular_core.OutputEmitterRef<StaticAsset>;
    inModalView: _angular_core.InputSignal<boolean>;
    assetType: _angular_core.InputSignal<StaticAssetType>;
    supportedFileExtensions: _angular_core.InputSignal<string[]>;
    layout: _angular_core.InputSignal<"list" | "grid">;
    files$: Observable<StaticAsset[]>;
    accept$: Observable<string>;
    isExpanded: boolean;
    private _unfilteredFiles$;
    private _filesUpdate$;
    private styleTagId;
    private dropArea;
    private alert;
    private translate;
    private staticAssets;
    constructor();
    ngOnDestroy(): void;
    addFiles(files: DroppedFile[]): Promise<void>;
    select(asset: StaticAsset): void;
    private applyStylesForFiles;
    private removeStyleTag;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<StaticAssetsFileListComponent, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<StaticAssetsFileListComponent, "c8y-static-assets-file-list", never, { "inModalView": { "alias": "inModalView"; "required": false; "isSignal": true; }; "assetType": { "alias": "assetType"; "required": false; "isSignal": true; }; "supportedFileExtensions": { "alias": "supportedFileExtensions"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "itemSelected": "itemSelected"; }, never, never, true, never>;
}

export { StaticAssetsFileListComponent, StaticAssetsModalComponent };
//# sourceMappingURL=index.d.ts.map
