import { TemplateResult } from 'lit'; import { Leg } from './timetable-properties.js'; interface IAccessAttribute { duration: number; text: string; icon: string; } /** * @param legs: An array of Leg objects representing the journey legs. * @param departureWalk: The walking distance in minutes from the departure point to the first leg. * @param arrivalWalk: The walking distance in minutes from the last leg to the arrival point. * @param currentLanguage: The current language for localization. * @returns renderDepartureTimeAttribute: A function that renders the element for the departure time attribute. * @returns renderArrivalTimeAttribute: A function that renders the element for the arrival time attribute. * @returns arrivalTimeAttribute: The access attribute for the arrival time. * @returns departureTimeAttribute: The access attribute for the departure time. */ export declare function getDepartureArrivalTimeAttribute(legs: Leg[], departureWalk: number, arrivalWalk: number, currentLanguage: string): { renderDepartureTimeAttribute: () => TemplateResult; renderArrivalTimeAttribute: () => TemplateResult; departureTimeAttribute: IAccessAttribute | null; arrivalTimeAttribute: IAccessAttribute | null; }; export {}; //# sourceMappingURL=access-leg-helper.d.ts.map