import { ReactNode } from 'react'; import { StoreType } from '../types'; import { Dispatcher } from '../store'; export type PluginContextType = { provided: boolean; store?: StoreType; apply?: Dispatcher; setStore: (store: StoreType) => void; setApply: (apply: Dispatcher) => void; }; export declare const PluginContext: import('react').Context; export declare function useInitialPluginContext(): PluginContextType; export declare function usePluginContext(): [boolean, PluginContextType]; export declare function usePluginDispatch(): PluginContextType | undefined; type Props = { children: ReactNode; context: PluginContextType; }; export declare function PluginBase({ children, context }: Props): JSX.Element; export {}; //# sourceMappingURL=PluginBase.d.ts.map