type ProjectNode<TProject extends {
    projectId: string;
    parentProjectId?: string | null;
    title: string;
}> = TProject & {
    depth: number;
};
export declare function flattenProjectsHierarchy<TProject extends {
    projectId: string;
    parentProjectId?: string | null;
    title: string;
}>(projects: readonly TProject[]): ProjectNode<TProject>[];
export {};
