import { FC, ReactElement } from 'react'; export declare const useReinitializeState: () => { key: string | undefined; setKey: import("react").Dispatch>; }; type ReinitializeState = ReturnType; type ReinitializeContextProviderProps = { children: ReactElement; onReinitialize?: (key: string) => void; reinitializeState: ReinitializeState; }; /** * Provider that provides a reinitialize function to its children. * @param children The children to render. * @param onReinitialize A callback that is called when reinitialize is called. */ export declare const ReinitializeContextProvider: FC; /** * Custom hook that provides an reinitialize function for the DynamicContextProvider. * @returns The reinitialize function. */ export declare const useReinitialize: () => () => void; export {};