import { WaitForProps } from "./types.cjs"; import { ReactElement } from "react"; //#region src/createEntry/WaitFor/WaitFor.d.ts /** * Waits for one or more async operations before rendering children. * * Supports: * - Promises * - Async functions * - AsyncStore instances * - Arrays of async tasks * * On the client: * - renders a fallback while waiting * - resolves all async tasks in parallel * * On the server: * - awaits all tasks before rendering synchronously * * @param props - WaitFor configuration. * * @returns The fallback while loading, otherwise the rendered children. */ declare function WaitFor(props: WaitForProps): ReactElement> | Promise> | null> | null; //#endregion export { WaitFor }; //# sourceMappingURL=WaitFor.d.cts.map