import { ComponentDefinition, Element } from '@plitzi/sdk-shared';
type Node = {
    id: string;
    label: string;
    icon: string;
    parentId?: string;
    items?: Node[];
};
export declare const recursiveMap: (flat: Record<string, Element>, componentDefinitions: Record<string, ComponentDefinition>, id: string, parentId?: string, flatItems?: {}) => undefined | Node;
export {};
