import View from '../core/ui/view.js'; export type TRect = { x: number; y: number; width: number; height: number; }; export type TMargin = { top: number; right: number; bottom: number; left: number; }; export type TRoute = { path: string; view: Function; }; export type TSetup = { attrs?: Record; props?: Record; state?: Record; styles?: object | string; classes?: string[] | string; type?: string; content?: string; children?: View[]; }; export type TObservable = Record;