import React from 'react';
import { JSONSchema7 } from 'json-schema';
/**
 *
 * @param title
 */
export declare function renderTitle(title: string): React.DetailedReactHTMLElement<{
    className: string;
}, HTMLElement>;
/**
 *
 * @param description
 */
export declare function renderDescription(description: string): React.ReactElement<{
    value: string;
}, string | React.JSXElementConstructor<any>>;
/**
 * Find a suitable title for a nested structure.
 *
 * If an object has the key 'title' it will have priority, followed by the key 'name'.
 * If 'title' nor 'name' is found, a required item will be considered.
 * Otherwise the first occurrence of a nonempty string is chosen.
 *
 * @param data - the data to find the title for
 * @param fieldSchema - schema for the item
 * @param formSchema - schema for the form
 * @returns describing title of the data
 */
export declare function findTitle(data: any, fieldSchema: JSONSchema7, formSchema: JSONSchema7): any;
//# sourceMappingURL=common.d.ts.map