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<ReactReduxContextValue<any, import("redux").UnknownAction> | null>;
/**
 * @alpha
 */
export declare const useDashboardDispatch: () => Dispatch<Action>;
/**
 * 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 (
 *      <pre>{JSON.stringify(insights, null, 2)}</pre>
 *   );
 * }
 * ```
 *
 * @public
 */
export declare const useDashboardSelector: TypedUseSelectorHook<DashboardState>;
/**
 * @internal
 */
export declare function DashboardStoreProvider(props: IDashboardStoreProviderProps): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=DashboardStoreProvider.d.ts.map