UNPKG

617 BTypeScriptView Raw
1import { ContextNode, PropsMap, SelectionState } from '../shared/types.d';
2export declare const ContextsPreviewAPI: () => {
3 getContextNodes: (settings: import("../shared/types").WrapperSettings) => ContextNode[];
4 getSelectionState: () => SelectionState;
5 getPropsMap: (contextNodes: ContextNode[], selectionState: SelectionState) => PropsMap;
6 getRendererFrom: <T>(h: import("../shared/types").AnyFunctionReturns<T>) => (contextNodes: ContextNode[], propsMap: PropsMap, getStoryVNode: import("../shared/types").AnyFunctionReturns<T>) => T;
7 updateReactiveSystem: (propsMap: PropsMap) => PropsMap;
8};