import React from 'react'; import type { dh } from '@deephaven/jsapi-types'; type DeferredApiBootstrapProps = React.PropsWithChildren<{ onError?: (error: unknown) => void; /** * Descriptor for the widget to load. Passed into an `ObjectFetcher` to load the widget. * The descriptor may be extended to include session information or other data required to identify the widget. * The surrounding `ObjectFetcherContext` will then be able to use that information to correctly load the widget. */ widget: dh.ide.VariableDescriptor; }>; /** * Does not render children until the deferred API is resolved. */ export declare const DeferredApiBootstrap: React.MemoExoticComponent<({ children, onError, widget, }: DeferredApiBootstrapProps) => JSX.Element | null>; export default DeferredApiBootstrap; //# sourceMappingURL=DeferredApiBootstrap.d.ts.map