export type HydrationContext = { id: string; count: number; }; type SharedConfig = { context?: HydrationContext; resources?: { [key: string]: any; }; load?: (id: string) => Promise | any | undefined; gather?: (key: string) => void; registry?: Map; done?: boolean; }; export declare const sharedConfig: SharedConfig; export declare function setHydrateContext(context?: HydrationContext): void; export declare function nextHydrateContext(): HydrationContext | undefined; export {};