import React from 'react'; import type { DefinitionListItemProps, DefinitionListProps, IconData, LabelProps } from '@gravity-ui/uikit'; import './YDBDefinitionList.scss'; export type YDBDefinitionListItem = { name: string; content: React.ReactNode; copyText?: string | number; note?: DefinitionListItemProps['note']; }; export interface YDBDefinitionListHeaderLabel { id: string; value: React.ReactNode; icon?: IconData; theme?: LabelProps['theme']; } interface YDBDefinitionListProps extends Omit { title?: React.ReactNode; titleSuffix?: { title: React.ReactNode; copyText?: string; }; titleSeparator?: React.ReactNode; items: YDBDefinitionListItem[]; headerLabels?: YDBDefinitionListHeaderLabel[]; iconSize?: number; labelSize?: LabelProps['size']; footer?: React.ReactNode; compact?: boolean; nameMaxWidth?: DefinitionListProps['nameMaxWidth'] | 'auto'; wrapperClassName?: string; dataQa?: string; } /** DefinitionList with predefined styles and layout */ export declare function YDBDefinitionList({ title, titleSuffix, titleSeparator, headerLabels, iconSize, labelSize, footer, items, compact, nameMaxWidth, className, wrapperClassName, dataQa, ...restProps }: YDBDefinitionListProps): import("react/jsx-runtime").JSX.Element; export {};