import { FlowNodeRegistry } from '../nodeRegistry/types'; import { FlowNodePaletteCategory } from './types'; /** * Groups a flat `FlowNodeRegistry` into `FlowNodePaletteCategory[]` by each item's * own `FlowNodeKindDef.category` field — the fold a consumer would otherwise have * to hand-write the way CJO hand-wrote `NODE_PALETTE` as a literal * (`nodePaletteData.ts:27-100`). Items with no `category` are grouped into a * fallback `"Other"` bucket rather than dropped. * * @param order Optional category-id ordering. Categories named here come first, in * this order; any remaining categories follow in the order they first appear in * the registry. */ export declare function groupNodesByCategory(registry: FlowNodeRegistry, order?: string[]): FlowNodePaletteCategory[];