import type { VizContainerOptions } from '@splunk/dashboard-types'; export declare const TITLE_CONTAINER_PADDING = 12; export declare const TITLE_HEIGHT = 20; export declare const DESCRIPTION_HEIGHT = 16; interface TitleAndDescriptionProps { description?: string; title?: string; backgroundColor?: string | null; truncateFirstLine?: boolean; containerOptions?: VizContainerOptions; } /** * Renders a container for a visualization title and description * @param {Object} param0 VizTitleAndDescription parameters * @param {string | undefined} [description] Visualization description to be rendered * @param {string | undefined} [title] Visualization title to be rendered * @param {string | null | undefined} [backgroundColor] Background color to fill the container and for box shadows. Will default to `variables.backgroundColorSection` * @param {boolean | undefined} [truncateFirstLine] Indicate that the first rendered line - either title or description - should contain padding to prevent rendering in same space as a viz status icon * @returns A rendered container with the title and/or description, else null */ declare const VizTitleAndDescription: ({ description, title, backgroundColor, truncateFirstLine, containerOptions, }: TitleAndDescriptionProps) => JSX.Element | null; export default VizTitleAndDescription; //# sourceMappingURL=VisualizationTitleAndDescription.d.ts.map