import { Tag, TagAPI } from "../../types/tag.types.js";

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