import { type Model } from '@modern-js-reduck/store'; import type { Plugin } from '@modern-js/runtime'; type StatePluginType = 'immer' | 'effects' | 'autoActions' | 'devtools'; type StateExtraType = { initialState: any; models: Array; }; export type StateConfig = Partial & StateExtraType>; export declare const statePlugin: (userConfig?: StateConfig) => Plugin; export default statePlugin; export * from '../plugins';