import View from "@smartface/native/ui/view"; import { StyleContextComponent } from "."; import StyleActions from "./styleActions"; export interface StyleablePage { readonly dispatch?: StyleContextComponent['dispatch']; readonly children?: { [key: string]: View; }; style: StyleActions; getName(): string; addChild(child: View, name?: string, classNames?: string, userProps?: { [key: string]: any; }, defaultClassNames?: string): void; addStyleableChild(child: View, name: string, classNames?: string, userProps?: { [key: string]: any; }, defaultClassNames?: string): void; removeChild(child: View): void; removeChildren(): void; }