import * as React from 'react'; import { type PropsWithChildren } from 'react'; import type { AsyncSupportProps, ExtendablePromise } from './types'; /** * Props for IfAsync */ interface Props extends AsyncSupportProps, PropsWithChildren<{ promise: ExtendablePromise; }> { } /** * Is included in the `` component, rendered when the condition prop of `` is a Promise; * Renders the Fallback component, if contains any, until provided promise is fulfilled; * Renders `` when promise is fulfilled, `` when rejected */ export declare function IfAsync({ promise, keepAlive, children }: Props): React.JSX.Element | null; export {}; //# sourceMappingURL=IfAsync.d.ts.map