import { ReactNode, ReactElement } from 'react'; import { ProviderDeps } from './use-cognite-sdk-initialization'; type CogniteSdkProviderProps = { children: ReactNode; loadingFallback?: ReactNode; /** Static fallback rendered on connection failure. A proper error screen is planned for a future Aura release. */ errorFallback?: ReactNode; /** Override connection and client creation — for testing only. */ deps?: ProviderDeps; }; /** * Performs the Comlink handshake with the Fusion host to obtain the project, * baseUrl, and appId, then initializes a CogniteClient without requiring static * app.json config files (which break in production bundles). * * Renders `loadingFallback` while connecting, `errorFallback` on failure, and * `children` with a ready client once the handshake succeeds. */ export declare function CogniteSdkProvider({ children, loadingFallback, errorFallback, deps, }: CogniteSdkProviderProps): ReactElement; export { useCogniteSdkInitialization } from './use-cognite-sdk-initialization'; export { useCogniteSdk } from './use-cognite-sdk';