interface ItemBase {
    id: string;
    name: string;
}
interface Item extends ItemBase {
    parentId?: string | null;
    breadcrumbs?: ItemBase[];
}
export declare function nestifyItems<T extends Item>(items: T[], { depth, setDepthOnItem, forceEmptyParentInEachLevel, }: {
    forceEmptyParentInEachLevel?: boolean;
    depth: number;
    setDepthOnItem?: (item: T, params: {
        depth: number;
        parent: T | null | undefined;
    }) => void;
}): void;
export {};
//# sourceMappingURL=nestifyItems.d.ts.map