import { type Action, type Dispatch } from "@reduxjs/toolkit"; import { type ReactReduxContextValue, type TypedUseSelectorHook } from "react-redux"; import { type DashboardState } from "../store/types.js"; import { type IDashboardStoreProviderProps } from "./types.js"; /** * @alpha */ export declare const ReactDashboardContext: import("react").Context | null>; /** * @alpha */ export declare const useDashboardDispatch: () => Dispatch; /** * Hook for retrieving data from the dashboard state. * * @example * Example how to obtain all insights stored on the dashboard: * * ```tsx * import { useDashboardSelector, selectInsights } from "@gooddata/sdk-ui-dashboard"; * * const CustomDashboardWidget = () => { * const insights = useDashboardSelector(selectInsights); * * return ( *
{JSON.stringify(insights, null, 2)}
* ); * } * ``` * * @public */ export declare const useDashboardSelector: TypedUseSelectorHook; /** * @internal */ export declare function DashboardStoreProvider(props: IDashboardStoreProviderProps): import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=DashboardStoreProvider.d.ts.map