@nnc-digital/nnc-design-system
Version:
Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.
9 lines (8 loc) • 975 B
TypeScript
import { SummaryRowProps } from '../../components/SummaryList/SummaryList.types';
import { EligibilitiesProps, LanguagesProps, LocationProps, ServiceAreaProps, ServiceTaxonomy, TaxonomyToShow } from './DirectoryService.types';
export declare const transformService: (email: string, url: string, phone?: string) => SummaryRowProps[];
export declare const transformLocation: (location: LocationProps) => SummaryRowProps[];
export declare const transformDescriptionDetails: (accreditations: string, fees: string, service_areas: ServiceAreaProps[], languages: LanguagesProps[], eligibilities: EligibilitiesProps[], ageInMonths?: boolean) => SummaryRowProps[];
export declare const transformSnippet: (description: string, extractLength?: number) => string;
export declare const transformTaxonomies: (service_taxonomys: ServiceTaxonomy[], taxonomiesToShow?: TaxonomyToShow[]) => SummaryRowProps[];
export declare const transformAge: (age: number, ageInMonths?: boolean) => string;