import { BehaviorSubject, Observable } from 'rxjs'; import { CdnBackend } from '@youwol/http-clients'; import { ChildrenLike, VirtualDOM } from '@youwol/rx-vdom'; import { AssetLightDescription } from '@youwol/os-core'; export declare class ExplorerState { readonly asset: AssetLightDescription; readonly version: string; readonly items$: Observable; readonly selectedFolder$: BehaviorSubject; readonly client: CdnBackend.CdnClient; constructor(params: { asset: AssetLightDescription; version: string; }); openFolder(path: string): void; } export declare class FolderView implements VirtualDOM<'div'> { readonly tag = "div"; static ClassSelector: string; readonly class: string; readonly children: ChildrenLike; readonly folder: CdnBackend.FolderResponse; readonly state: ExplorerState; readonly ondblclick: () => void; constructor(params: { state: ExplorerState; folder: CdnBackend.FolderResponse; }); } export declare class FileView implements VirtualDOM<'div'> { readonly tag = "div"; static ClassSelector: string; readonly class: string; readonly children: ChildrenLike; readonly file: CdnBackend.FileResponse; readonly state: ExplorerState; constructor(params: { file: CdnBackend.FileResponse; state: ExplorerState; }); } export declare class ExplorerView implements VirtualDOM<'div'> { readonly tag = "div"; static ClassSelector: string; readonly class: string; readonly state: ExplorerState; readonly children: ChildrenLike; constructor(params: { asset: AssetLightDescription; version: string; }); } export declare class PathElementView implements VirtualDOM<'div'> { readonly tag = "div"; static ClassSelector: string; readonly class: string; readonly state: ExplorerState; readonly name: string; readonly folderPath: string; readonly children: ChildrenLike; readonly onclick: () => void; constructor(params: { folderPath: string; name: string; state: ExplorerState; }); } export declare class PathView implements VirtualDOM<'div'> { readonly tag = "div"; static ClassSelector: string; readonly class: string; readonly children: ChildrenLike; readonly folderPath: string; readonly state: ExplorerState; constructor(params: { state: ExplorerState; folderPath: string; }); }