import { Agency, AgencyPreferences, AgencyMenu, MenuItem, Branch } from '../../models'; import { Footer, FooterElement, FooterItem } from '../../state'; /** * Takes footer menu from the Hestia agency data and converts/maps it to an object * that can be stored as the globalConfig.footer in Mongo. * * @example * ```ts * footerMapper.map(footerMenu, agency, branches); * ``` */ declare const footerMapper: { map(footerMenu: AgencyMenu, agency: Agency, branches: Branch[]): Footer; mapItem(item: MenuItem): FooterItem; mapElement(el: MenuItem): FooterElement; mapSocialItem(preferences: AgencyPreferences): FooterItem | null; mapSocialElement(url: string | null): FooterElement | null; mapBranchItem(branches: Branch[]): FooterItem | null; mapBranchElements(branches: Branch[]): FooterElement[]; }; export default footerMapper; //# sourceMappingURL=footer-mapper.d.ts.map