import { FactoryComponent, Attributes, Vnode } from 'mithril'; export interface CollapsibleItem extends Attributes { /** Header of the collabsible item, may contain HTML or may be a Vnode */ header?: string | Vnode; /** Body of the collabsible item, may contain HTML or may be a Vnode */ body?: string | Vnode; /** If active, preselect the collabsible item. */ active?: boolean; /** Add an material icon in front of the header. */ iconName?: string; } export interface CollapsibleAttrs extends Attributes { /** Optional header for the entire collapsible, similar to Collection header */ header?: string | Vnode; /** The list of accordeon/collabsible items */ items: CollapsibleItem[]; /** If true, only one item can be expanded at a time (accordion mode) */ accordion?: boolean; } export declare const CollapsibleItem: FactoryComponent void; }>; /** * Creates a collabsible or accordion component with pure CSS/Mithril implementation. * No MaterializeCSS JavaScript dependencies. */ export declare const Collapsible: FactoryComponent;