import type { BlockType, BlockCategory } from '../types'; interface ProcessBlockTypeSelect { getBootstrappedBlockType: (name: string) => Partial | undefined; getCategories: () => BlockCategory[]; } /** * Takes the unprocessed block type settings, merges them with block type metadata * and applies all the existing filters for the registered block type. * Next, it validates all the settings and performs additional processing to the block type definition. * * @param name Block name. * @param blockSettings Unprocessed block type settings. * * @return The block, if it has been processed and can be registered; otherwise `undefined`. */ export declare const processBlockType: (name: string, blockSettings: Partial) => ({ select, }: { select: ProcessBlockTypeSelect; }) => BlockType | undefined; export {}; //# sourceMappingURL=process-block-type.d.ts.map