import { ComponentsDictionary } from '../hooks/useContentTypeSchema';
import { EditLayout } from '../hooks/useDocumentLayout';
import type { Component, FindComponentConfiguration } from '../../../shared/contracts/components';
import type { Schema } from '../hooks/useDocument';
/**
 * 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, schemas, }: {
    schema?: Component;
    components: ComponentsDictionary;
    schemas?: Schema[];
}) => EditLayout;
export { formatComponentConfigurationEditLayout };
