import React from "react"; import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi"; import { ITigerSpecificFunctions } from "../lib/tigerSpecificFunctions"; import { ApiEntitlement } from "@gooddata/sdk-backend-tiger"; import { trackAnalyticToolEvent } from "../lib/analyticToolTracker"; export interface IBackendContextProps { backend: IAnalyticalBackend | null; tigerSpecificFunctions: ITigerSpecificFunctions; entitlements: ApiEntitlement[]; isPanther: boolean; trackAnalyticToolEvent: trackAnalyticToolEvent; } export interface IBackendProviderProps { backend: IAnalyticalBackend | null; tigerSpecificFunctions: ITigerSpecificFunctions; trackAnalyticToolEvent?: trackAnalyticToolEvent; } export declare const BackendProvider: React.FC; export interface IBackendHookProps { backend: IAnalyticalBackend; tigerSpecificFunctions: ITigerSpecificFunctions; entitlements: ApiEntitlement[]; isPanther: boolean; trackAnalyticToolEvent: trackAnalyticToolEvent; } /** * Hook that contains reference to initialized SDK backend instance and handler that should be used in custom * backend calls that are done directly via tiger low level API client. */ export declare const useBackend: () => IBackendHookProps;