import { DashboardProps } from './types.js'; import { Filter, FilterRelations } from '@sisense/sdk-data'; import { WidgetsPanelLayout } from '../models'; export type ComposableDashboardProps = Pick; export type UseComposedDashboardOptions = { /** * @internal */ onFiltersChange?: (filters: Filter[] | FilterRelations) => void; }; /** * {@link useComposedDashboard} without tracking to be used inside other hooks or components in Compose SDK. * * @param params - Parameters of the composable dashboard props * @internal */ export declare function useComposedDashboardInternal(initialDashboard: D, { onFiltersChange }?: UseComposedDashboardOptions): { dashboard: D; setFilters: (filters: Filter[] | FilterRelations) => void; setWidgetsLayout: (newLayout: WidgetsPanelLayout) => void; }; /** * React hook that takes in separate dashboard elements and * composes them into a coordinated dashboard with change detection, cross filtering, and drill down. * * @group Dashboards */ export declare const useComposedDashboard: (args_0: D, args_1?: UseComposedDashboardOptions | undefined) => { dashboard: D; setFilters: (filters: Filter[] | FilterRelations) => void; setWidgetsLayout: (newLayout: WidgetsPanelLayout) => void; }; //# sourceMappingURL=use-composed-dashboard.d.ts.map