import type { TramvaiAction } from '@tramvai/types-actions-state-context'; import type { JSX } from 'react'; export declare function Await({ action, children, error, }: { action: TramvaiAction; children: (data: Result extends Promise ? R : Result) => JSX.Element; error?: (reason: any) => JSX.Element; }): JSX.Element; //# sourceMappingURL=await.d.ts.map