import * as b from "bobril"; import * as f from "fun-model"; import * as c from "./common"; export interface IComponentState extends f.IState { } export interface IContext extends b.IBobrilCtx { state: TState; cursor: f.ICursor; forceShouldChange: boolean; } export interface IComponentFactory { (children?: b.ChildrenType): b.IBobrilNode; } export declare function createComponent(component: b.IBobrilComponent): (cursor: f.ICursor | c.CursorFieldsMap) => IComponentFactory;