UNPKG

@hhgtech/hhg-components

Version:
41 lines (40 loc) 2.44 kB
import { LocaleType } from "../../interfaces/types"; import { VideoItemType, VideoItemTypeApi } from "../../interfaces/types/Video"; import { HealthCare, HealthCareApi, HealthSearchDoctor, HealthTool, HealthToolApi, LocalisedSlugsType, SpotlightSummary, SpotlightSummaryApi } from "./types"; export declare const formatCategory: (category: any) => any; export declare const formatHealthTool: (healthTool: HealthToolApi) => HealthTool; export declare const formatSpecialties: (specialties: HealthCareApi) => HealthCare; export declare const formatHospital: (hospital: HealthCareApi) => HealthSearchDoctor; export declare const getDiscoverDefaultHealthToolsApiPath: (locale: LocaleType, apiDomain?: string, params?: { [key: string]: string | number; }) => string; export declare const getDiscoverDefaultSpotlightsApiPath: (locale: LocaleType, apiDomain?: string, params?: { [key: string]: string | number; }) => string; export declare const getTogetherDefaultCommunitiesApiPath: (locale: LocaleType, apiDomain?: string, params?: { [key: string]: string | number; }) => string; export declare const getTogetherUserPostsApiPath: (locale: LocaleType, isMarryBaby: boolean, apiDomain?: string, params?: { [key: string]: string | number; }) => string; export declare const getTogetherMarryBabyCommunitiesApiPath: (locale: LocaleType, apiDomain?: string, params?: { [key: string]: string | number; }) => string; export declare const getTogetherDefaultCommunitiesSubMenuApiPath: (locale: LocaleType, apiDomain?: string, params?: { [key: string]: string | number; }) => string; export declare const getTogetherMarryBabyCommunitiesSubMenuApiPath: (locale: LocaleType, apiDomain?: string, params?: { [key: string]: string | number; }) => string; export declare const getMarryBabyDefaultFooterApiPath: (locale: LocaleType, apiDomain?: string, params?: { [key: string]: string | number; }) => string; export declare const getCareSearchUrl: ({ type, specialtySlug, locale, }: { type: LocalisedSlugsType; cityId?: string | number; specialtySlug: string; locale: LocaleType; }) => string; export declare const formatSpotlightsList: (spotlight: SpotlightSummaryApi) => SpotlightSummary; export declare const checkAvailableSpotlight: (spotlight: SpotlightSummary) => boolean; export declare const formatVideoItem: (data?: VideoItemTypeApi | null) => VideoItemType | null;