import { ShowcaseProjectAPI, ShowcaseProjectDocument } from "../../types/showcaseProject.types.js";

//#region src/utils/mapper/showcaseProject.d.ts
/**
 * Maps a ShowcaseProjectDocument to a ShowcaseProjectAPI response.
 * Reduces the `upvoters` array to a numeric `upvotes` count and
 * optionally computes `isUpvoted`/`isDownVoted` for the given userId.
 */
declare const mapShowcaseProjectToAPI: (doc: ShowcaseProjectDocument, userId?: string) => ShowcaseProjectAPI;
declare const mapShowcaseProjectsToAPI: (docs: ShowcaseProjectDocument[], userId?: string) => ShowcaseProjectAPI[];
//#endregion
export { mapShowcaseProjectToAPI, mapShowcaseProjectsToAPI };
//# sourceMappingURL=showcaseProject.d.ts.map