import React from 'react'; type SuspendProps = { suspend: boolean; children: React.ReactNode; }; /** * Suspend's use case: we have a page, that page sends 2 separate queries to the * same api through apollo client's useQuery hook, - so far we don't need * suspense to be able to show a loading indicator - BatchHttpLink merges these * two separate queries into 1 http request - nice! but then.. we also need to * fetch data from a 3rd party rest api, we don't want to display parts of the * page as soon as possible - we want to receive all data and only then decide * what to display, first thing that comes to mind - we can create a context and * store loading values in it.. but what if we can suspend apollo's useQuery * hook * (https://github.com/apollographql/apollo-client/issues/9627#issuecomment-1235576151), * what if we can suspend that other 3rd party api call? wouldn't it be nice? */ export default function Suspend(props: SuspendProps): JSX.Element; export {};