/** * @packageDocumentation * @module @hydrofoil/shaperone-wc/store */ import { ModelStore, StoreDispatch, StoreState } from '@captaincodeman/rdx'; declare global { interface Window { Shaperone: { DEBUG: boolean; }; } } declare const config: { models: { editors: import("@captaincodeman/rdx").Model Promise; }>; renderer: import("@captaincodeman/rdx").Model): import("./renderer/model.js").RendererState; }, { loadDependencies(): Promise; }>; forms: import("@captaincodeman/rdx").Model, params: import("@hydrofoil/shaperone-core/models/forms/reducers/validation.js").ValidationReportParams) => Map; showProperty: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/properties.js").ToggleParams) => Map; hideProperty: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/properties.js").ToggleParams) => Map; createFocusNodeState: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/replaceFocusNodes.js").Params) => Map; selectMultiEditor: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/multiEditors.js").MultiEditorParams) => Map; selectSingleEditors: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/multiEditors.js").MultiEditorParams) => Map; toggleSwitching: (state: Map, params: import("@hydrofoil/shaperone-core/models/index.js").BaseParams & { switchingEnabled: boolean; }) => Map; updateComponentState: (state: Map, params: import("@hydrofoil/shaperone-core/models/index.js").BaseParams & { focusNode: import("@hydrofoil/shaperone-core").FocusNode; property: import("@rdfine/shacl").PropertyShape>; object?: import("@hydrofoil/shaperone-core/models/forms/index.js").PropertyObjectState | undefined; newState: Record; }) => Map; recalculateEditors: (state: import("@hydrofoil/shaperone-core/models/forms/index.js").State, { editors }: { editors: import("@hydrofoil/shaperone-core/models/editors/index.js").EditorsState; }) => import("@hydrofoil/shaperone-core/models/forms/index.js").State; connect(map: import("@hydrofoil/shaperone-core/models/forms/index.js").State, { form }: import("@hydrofoil/shaperone-core/models/forms/reducers/connection.js").Params): import("@hydrofoil/shaperone-core/models/forms/index.js").State; disconnect(map: import("@hydrofoil/shaperone-core/models/forms/index.js").State, form: symbol): import("@hydrofoil/shaperone-core/models/forms/index.js").State; setObjectValue: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").SetObjectParams) => Map; setPropertyObjects: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").ReplaceObjectsParams) => Map; initObjectValue: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").InitObjectValueParams) => Map; setDefaultValue: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").SetDefaultValueParams) => Map; resetComponents: (state: import("@hydrofoil/shaperone-core/models/forms/index.js").State) => import("@hydrofoil/shaperone-core/models/forms/index.js").State; clearValue: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").ClearValueParams) => Map; addFormField: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/addFormField.js").Params) => Map; popFocusNode: (state: Map, params: import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => Map; removeObject: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/removeObject.js").RemoveObjectParams) => Map; selectEditor: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/selectEditor.js").SelectEditorParams) => Map; selectGroup: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/selectGroup.js").Params) => Map; selectShape: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/selectShape.js").Params) => Map; truncateFocusNodes: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/truncateFocusNodes.js").Params) => Map; }, { updateObject: (arg: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").SetObjectParams) => void; 'forms/connect': ({ form }: import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => void; 'forms/disconnect': (form: symbol) => void; pushFocusNode: ({ form, focusNode, property }: { focusNode: import("@hydrofoil/shaperone-core").FocusNode; property: import("@rdfine/shacl").PropertyShape>; } & import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => void; addObject: ({ form, property, focusNode, overrides, componentState }: import("@hydrofoil/shaperone-core/models/forms/effects/addObject.js").AddObject) => void; 'forms/selectShape': ({ form, focusNode, shape }: import("@hydrofoil/shaperone-core/models/forms/reducers/selectShape.js").Params) => void; replaceObjects: ({ form, focusNode, property, terms }: { focusNode: import("@hydrofoil/shaperone-core").FocusNode; property: import("@rdfine/shacl").PropertyShape>; terms: import("@rdfjs/types").Term[]; } & import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => void; 'forms/setPropertyObjects': ({ form, focusNode, property }: Pick) => void; 'forms/setObjectValue': ({ form, focusNode, property }: Pick) => void; 'forms/removeObject': ({ property, form, focusNode }: Pick) => void; validate: ({ form }: import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => Promise; 'forms/createFocusNodeState': ({ form }: import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => void; 'components/pushComponents': () => void; 'resources/setRoot': ({ form, rootPointer }: import("@hydrofoil/shaperone-core/models/resources/reducers/setRoot.js").Params) => void; 'shapes/setGraph': ({ form }: import("@hydrofoil/shaperone-core/models/shapes/reducers.js").SetShapesGraphParams) => void; 'editors/addMetadata': () => void; 'editors/addMatchers': () => void; }>; resources: import("@captaincodeman/rdx").Model) => void; }>; shapes: import("@captaincodeman/rdx").Model, params: import("@hydrofoil/shaperone-core/models/shapes/reducers.js").SetShapesGraphParams) => Map; }, import("@captaincodeman/rdx").EffectFns>; components: import("@captaincodeman/rdx").Model): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; loadingFailed(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, { editor, reason }: { editor: import("@rdfjs/types").NamedNode; reason: string; }): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; loaded(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, { editor, render }: { editor: import("@rdfjs/types").NamedNode; render: import("@hydrofoil/shaperone-core/models/components/index.js").RenderFunc; }): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; removeComponents(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, toRemove: import("@rdfjs/types").NamedNode[]): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; pushComponents(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, toAdd: Record; init?: ((params: any, actions: any) => boolean) | undefined; render?: import("@hydrofoil/shaperone-core/models/components/index.js").RenderFunc | undefined; lazyRender?: (() => Promise>) | undefined; }> | { editor: import("@rdfjs/types").NamedNode; init?: ((params: any, actions: any) => boolean) | undefined; render?: import("@hydrofoil/shaperone-core/models/components/index.js").RenderFunc | undefined; lazyRender?: (() => Promise>) | undefined; }[]): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; decorate(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, decorator: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentDecorator): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; }, { load(editor: import("@rdfjs/types").NamedNode): Promise; }>; validation: import("@captaincodeman/rdx").Model; }; }; export type State = StoreState; export type Dispatch = StoreDispatch; export type Store = ModelStore; export declare const store: () => import("@captaincodeman/rdx/typings/modelStore.js").ModelStore<{ editors: import("@captaincodeman/rdx").Model Promise; }>; renderer: import("@captaincodeman/rdx").Model): import("./renderer/model.js").RendererState; }, { loadDependencies(): Promise; }>; forms: import("@captaincodeman/rdx").Model, params: import("@hydrofoil/shaperone-core/models/forms/reducers/validation.js").ValidationReportParams) => Map; showProperty: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/properties.js").ToggleParams) => Map; hideProperty: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/properties.js").ToggleParams) => Map; createFocusNodeState: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/replaceFocusNodes.js").Params) => Map; selectMultiEditor: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/multiEditors.js").MultiEditorParams) => Map; selectSingleEditors: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/multiEditors.js").MultiEditorParams) => Map; toggleSwitching: (state: Map, params: import("@hydrofoil/shaperone-core/models/index.js").BaseParams & { switchingEnabled: boolean; }) => Map; updateComponentState: (state: Map, params: import("@hydrofoil/shaperone-core/models/index.js").BaseParams & { focusNode: import("@hydrofoil/shaperone-core").FocusNode; property: import("@rdfine/shacl").PropertyShape>; object?: import("@hydrofoil/shaperone-core/models/forms/index.js").PropertyObjectState | undefined; newState: Record; }) => Map; recalculateEditors: (state: import("@hydrofoil/shaperone-core/models/forms/index.js").State, { editors }: { editors: import("@hydrofoil/shaperone-core/models/editors/index.js").EditorsState; }) => import("@hydrofoil/shaperone-core/models/forms/index.js").State; connect(map: import("@hydrofoil/shaperone-core/models/forms/index.js").State, { form }: import("@hydrofoil/shaperone-core/models/forms/reducers/connection.js").Params): import("@hydrofoil/shaperone-core/models/forms/index.js").State; disconnect(map: import("@hydrofoil/shaperone-core/models/forms/index.js").State, form: symbol): import("@hydrofoil/shaperone-core/models/forms/index.js").State; setObjectValue: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").SetObjectParams) => Map; setPropertyObjects: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").ReplaceObjectsParams) => Map; initObjectValue: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").InitObjectValueParams) => Map; setDefaultValue: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").SetDefaultValueParams) => Map; resetComponents: (state: import("@hydrofoil/shaperone-core/models/forms/index.js").State) => import("@hydrofoil/shaperone-core/models/forms/index.js").State; clearValue: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").ClearValueParams) => Map; addFormField: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/addFormField.js").Params) => Map; popFocusNode: (state: Map, params: import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => Map; removeObject: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/removeObject.js").RemoveObjectParams) => Map; selectEditor: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/selectEditor.js").SelectEditorParams) => Map; selectGroup: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/selectGroup.js").Params) => Map; selectShape: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/selectShape.js").Params) => Map; truncateFocusNodes: (state: Map, params: import("@hydrofoil/shaperone-core/models/forms/reducers/truncateFocusNodes.js").Params) => Map; }, { updateObject: (arg: import("@hydrofoil/shaperone-core/models/forms/reducers/updateObject.js").SetObjectParams) => void; 'forms/connect': ({ form }: import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => void; 'forms/disconnect': (form: symbol) => void; pushFocusNode: ({ form, focusNode, property }: { focusNode: import("@hydrofoil/shaperone-core").FocusNode; property: import("@rdfine/shacl").PropertyShape>; } & import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => void; addObject: ({ form, property, focusNode, overrides, componentState }: import("@hydrofoil/shaperone-core/models/forms/effects/addObject.js").AddObject) => void; 'forms/selectShape': ({ form, focusNode, shape }: import("@hydrofoil/shaperone-core/models/forms/reducers/selectShape.js").Params) => void; replaceObjects: ({ form, focusNode, property, terms }: { focusNode: import("@hydrofoil/shaperone-core").FocusNode; property: import("@rdfine/shacl").PropertyShape>; terms: import("@rdfjs/types").Term[]; } & import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => void; 'forms/setPropertyObjects': ({ form, focusNode, property }: Pick) => void; 'forms/setObjectValue': ({ form, focusNode, property }: Pick) => void; 'forms/removeObject': ({ property, form, focusNode }: Pick) => void; validate: ({ form }: import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => Promise; 'forms/createFocusNodeState': ({ form }: import("@hydrofoil/shaperone-core/models/index.js").BaseParams) => void; 'components/pushComponents': () => void; 'resources/setRoot': ({ form, rootPointer }: import("@hydrofoil/shaperone-core/models/resources/reducers/setRoot.js").Params) => void; 'shapes/setGraph': ({ form }: import("@hydrofoil/shaperone-core/models/shapes/reducers.js").SetShapesGraphParams) => void; 'editors/addMetadata': () => void; 'editors/addMatchers': () => void; }>; resources: import("@captaincodeman/rdx").Model) => void; }>; shapes: import("@captaincodeman/rdx").Model, params: import("@hydrofoil/shaperone-core/models/shapes/reducers.js").SetShapesGraphParams) => Map; }, import("@captaincodeman/rdx").EffectFns>; components: import("@captaincodeman/rdx").Model): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; loadingFailed(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, { editor, reason }: { editor: import("@rdfjs/types").NamedNode; reason: string; }): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; loaded(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, { editor, render }: { editor: import("@rdfjs/types").NamedNode; render: import("@hydrofoil/shaperone-core/models/components/index.js").RenderFunc; }): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; removeComponents(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, toRemove: import("@rdfjs/types").NamedNode[]): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; pushComponents(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, toAdd: Record; init?: ((params: any, actions: any) => boolean) | undefined; render?: import("@hydrofoil/shaperone-core/models/components/index.js").RenderFunc | undefined; lazyRender?: (() => Promise>) | undefined; }> | { editor: import("@rdfjs/types").NamedNode; init?: ((params: any, actions: any) => boolean) | undefined; render?: import("@hydrofoil/shaperone-core/models/components/index.js").RenderFunc | undefined; lazyRender?: (() => Promise>) | undefined; }[]): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; decorate(components: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState, decorator: import("@hydrofoil/shaperone-core/models/components/index.js").ComponentDecorator): import("@hydrofoil/shaperone-core/models/components/index.js").ComponentsState; }, { load(editor: import("@rdfjs/types").NamedNode): Promise; }>; validation: import("@captaincodeman/rdx").Model; }>; export {}; //# sourceMappingURL=store.d.ts.map