import { persist } from "./persist"; /** * Creates a hydration function that ensures all provided persistence instances are hydrated. * * This function accepts an array of `persist`-enhanced store instances and creates a function * that, when called, will attempt to hydrate each store from its respective storage. * Hydration is asynchronous, and this function ensures all hydration tasks are completed * before proceeding. * * @param {ReturnType[]} persistenceInstances - An array of persistence instances that need to be hydrated. * @returns {(() => void | Promise)} A function that hydrates all provided persistence instances. * This function either returns nothing if no hydration is needed or a promise that resolves once all hydration is completed. * */ export declare const setupHydrator: (persistenceInstances: ReturnType[]) => (() => void | Promise);