import type React from 'react'; import type { YDBDefinitionListItem } from './YDBDefinitionList'; type NameMap = { [key in keyof T]?: string; }; type ContentFormatters = { [key in keyof T]?: (value: T[key]) => React.ReactNode; }; interface CreateDefinitionFormatterOptions { contents?: ContentFormatters; names?: NameMap; defaultContentFormatter?: (value: Shape[keyof Shape]) => React.ReactNode; } export declare function createDefinitionFormatter>({ contents, names, defaultContentFormatter, }: CreateDefinitionFormatterOptions): (key: Key, value: Shape[Key]) => YDBDefinitionListItem; export declare const formatObjectToDefinitionItems: >(formatter: (key: Key, value: Shape[Key]) => YDBDefinitionListItem, obj?: Partial) => YDBDefinitionListItem[]; export {};