import { Organization, OrganizationAPI } from "../../types/organization.types.js";

//#region src/utils/mapper/organization.d.ts
/**
 * Maps an organization to an API response.
 * @param organization - The organization to map.
 * @param  - Whether the user is an admin of the organization.
 * @returns The organization mapped to an API response.
 */
declare const mapOrganizationToAPI: <T extends Organization | OrganizationAPI | null>(organization?: T) => T extends null ? null : OrganizationAPI;
declare const mapOrganizationsToAPI: (organizations: (Organization | OrganizationAPI)[]) => OrganizationAPI[];
//#endregion
export { mapOrganizationToAPI, mapOrganizationsToAPI };
//# sourceMappingURL=organization.d.ts.map