import { Stream$, VirtualDOM } from '@youwol/flux-view'; import { BehaviorSubject } from 'rxjs'; export declare namespace ExpandableGroup { class State { readonly name: string; expanded$: BehaviorSubject; constructor(name: string, expanded$?: BehaviorSubject | boolean); } const defaultHeaderClass = "fv-bg-background-alt fv-text-primary fv-color-primary rounded fv-pointer d-flex align-items-center"; const defaultBodyClass = "fv-bg-background fv-text-primary fv-color-primary rounded p-3"; function defaultHeaderView(state: State): { class: string; children: ({ tag: string; class: Stream$; innerText?: undefined; style?: undefined; } | { tag: string; class: string; innerText: string; style: { 'user-select': string; }; })[]; }; function simpleExpandableGroup(name: string, contentView: VirtualDOM): View; class View implements VirtualDOM { static defaultClass: string; readonly state: State; readonly className: string | Stream$; children: [VirtualDOM, VirtualDOM]; constructor({ state, headerView, contentView, ...rest }: { state: State; headerView: (state: State) => VirtualDOM; contentView: (state: State) => VirtualDOM; [_key: string]: unknown; }); } }