import { ComponentsDictionary } from '../hooks/useContentTypeSchema';
import { EditLayout } from '../hooks/useDocumentLayout';
import type { Component, FindComponentConfiguration } from '../../../shared/contracts/components';
/**
 * Formats API configuration + schemas into the shape expected by the component
 * "Configure the view" form. Matches the ListView / content-type path: nested
 * `convertEditLayoutToFieldLayouts` calls must receive component configuration
 * and full component schemas so `getMainField` can resolve fields inside nested
 * component attributes (see #25509).
 */
declare const formatComponentConfigurationEditLayout: (data: FindComponentConfiguration.Response['data'], { schema, components }: {
    schema?: Component;
    components: ComponentsDictionary;
}) => EditLayout;
export { formatComponentConfigurationEditLayout };
