import type { TemplateResult } from 'lit'; import type { Leg } from './timetable-properties.ts'; import '@sbb-esta/lyne-elements/icon.pure.js'; interface IAccessAttribute { duration: number; text: string; icon: string; } /** * @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. * @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. * @param a11yFootpath Whether the a11y-icon should be shown. */ export declare function getDepartureArrivalTimeAttribute(legs: Leg[], departureWalk: number, arrivalWalk: number, currentLanguage: string, a11yFootpath?: boolean): { renderDepartureTimeAttribute: () => TemplateResult; renderArrivalTimeAttribute: () => TemplateResult; departureTimeAttribute: IAccessAttribute | null; arrivalTimeAttribute: IAccessAttribute | null; }; export {};