import { Project, ProjectAPI } from "../../types/project.types.js";

//#region src/utils/mapper/project.d.ts
/**
 * Maps a project to an API response.
 * @param project - The project to map.
 * @param  - Whether the user is an admin of the project.
 * @returns The project mapped to an API response.
 */
declare const mapProjectToAPI: <T extends Project | ProjectAPI | null>(project?: T) => T extends null ? null : ProjectAPI;
/**
 * Formats an array of projects for API response. Removes sensitive information.
 * @param projects - The array of project objects to format.
 * @param user - The user object.
 * @param  - Whether the user is an admin of the project.
 * @returns The formatted array of user objects.
 */
declare const mapProjectsToAPI: (projects: (Project | ProjectAPI)[]) => ProjectAPI[];
//#endregion
export { mapProjectToAPI, mapProjectsToAPI };
//# sourceMappingURL=project.d.ts.map