import { BlockConfiguration } from '@wordpress/blocks'; import { Field } from '../types/index.js'; /** * Returns a list of Field objects that describe how the Component Editor Fields configuration. * Uses both the Block.json and the blocks editorFields config to create the final list. * The logic is explained in detail in the RFC document for React Components To Blocks. * * @param blockJson Block.json object * @param editorFields Block config editorFields metadata * @returns */ declare function getControlFields(blockJson: BlockConfiguration, editorFields: Partial[]): Field[]; export default getControlFields;