import type { DashboardByIdProps as DashboardByIdPropsPreact, DashboardProps as DashboardPropsPreact } from '@sisense/sdk-ui-preact'; import type { DashboardProps } from '../components/dashboard/dashboard'; import type { DashboardByIdProps } from '../components/dashboard/dashboard-by-id'; import type { ComponentTranslator } from './component-translator'; /** * Converts Vue `Dashboard` props into the preact props rendered by the underlying component. * * The object structure is always translated — for Vue that is the `config.header` section, whose * shape matches preact's apart from the flavor of the components it carries. * * `componentTranslator` additionally converts the components carried in the props (today the custom * `config.header` items) into preact components. Pass it whenever the result will be **rendered**. * Omit it for pure props manipulation — filter helpers, dashboard model translation, prop * composition — where the components are never rendered and are carried through as they are. */ export declare function toPreactDashboardProps(vueProps: DashboardProps, componentTranslator?: ComponentTranslator): DashboardPropsPreact; /** * Converts preact `Dashboard` props into Vue props. * * `componentTranslator` additionally resolves the components carried in the props back to the Vue * components they wrap. Omit it for pure props manipulation, where the components are carried * through as they are. */ export declare function toDashboardProps(preactProps: DashboardPropsPreact, componentTranslator?: ComponentTranslator): DashboardProps; /** * Converts Vue `DashboardById` props into the preact props rendered by the underlying component. * * Behaves like {@link toPreactDashboardProps}: the structure is always translated, and * `componentTranslator` additionally converts the components carried in `config.header`. */ export declare function toPreactDashboardByIdProps(vueProps: DashboardByIdProps, componentTranslator?: ComponentTranslator): DashboardByIdPropsPreact; /** Mirror of {@link toPreactDashboardByIdProps} for the preact -> Vue direction. */ export declare function toDashboardByIdProps(preactProps: DashboardByIdPropsPreact, componentTranslator?: ComponentTranslator): DashboardByIdProps;