import { type ReactNode } from 'react'; import type { dh as DhType } from '@deephaven/jsapi-types'; export declare const ApiContext: import("react").Context; export type ApiBootstrapProps = { /** URL of the API to load */ apiUrl: string; /** Children to render when the API has loaded */ children: ReactNode; /** Element to display if there is a failure loading the API */ failureElement?: JSX.Element; /** Whether to set the API globally on window.dh when it has loaded */ setGlobally?: boolean; }; /** * ApiBootstrap loads the API from the provided URL, rendering the children once loaded. */ export declare function ApiBootstrap({ apiUrl, children, failureElement, setGlobally, }: ApiBootstrapProps): JSX.Element; export default ApiBootstrap; //# sourceMappingURL=ApiBootstrap.d.ts.map