/** * This function will call the `update` when the data change. * You can use it for server side render. * @param data This data will be store in a weak set, if it doesn't appear in the weak set, the `update` function will be invoked. * @param update A function which receive a server state key. You should pass this key when you mutate any model. */ export declare function useHydrate(data: T | undefined, update: (serverStateKey?: object) => void): void;