export interface ForgeElement
> {
type: string | ((props: P) => ForgeElement);
key: number | string | null;
props: P & {
children: ForgeNode[];
};
}
export declare type ForgeNode = ForgeElement | null | boolean | undefined;
export declare type ForgeChildren = ForgeNode | (ForgeNode | ForgeNode[])[];
export declare const isForgeElement: (auxNode: ForgeNode) => auxNode is ForgeElement>;
export interface Forge {
children: Forge[];
key?: string;
props?: {
[key: string]: any;
};
type: string;
}
export interface ComponentState {
[hookIndex: number]: any;
}
export interface RenderState {
[componentKey: string]: ComponentState;
}
export interface Handler {
componentKey: string;
prop: string;
}
export interface ProductContext {
accountId?: string;
cloudId?: string;
contentId?: string;
localId?: string;
spaceKey?: string;
installContext?: string;
}