import { WidgetProps } from '../../domains/widgets/components/widget/types'; import { WidgetsPanelColumnLayout } from './types.js'; export declare const getDividerStyle: (color: string, width: number) => string; /** * Gets the default layout for a set of widgets. * * Widgets are laid out in a single column vertically. * * @param widgets - The widgets to create a layout for. * @returns The default layout for the widgets. */ export declare const getDefaultWidgetsPanelLayout: (widgets: WidgetProps[]) => WidgetsPanelColumnLayout; /** * With optionally disabled auto height. * * @param widgetProps - The widget props to disable the auto height for. * @param shouldDisable - Whether to disable the auto height. * @returns The widget props with the auto height disabled if applicable. */ export declare const withOptionallyDisabledAutoHeight: (widgetProps: WidgetProps, shouldDisable: boolean) => WidgetProps; /** * Checks if all widgets have auto height and supports dynamic height. * * @param widgetProps - The widget props to check for auto height. * @returns True if all widgets have auto height, false otherwise. */ export declare const checkForAutoHeight: (widgetProps: WidgetProps[]) => boolean;