import { CSSResultGroup, TemplateResult, LitElement } from 'lit'; import { Leg, PtRideLeg } from '../core/timetable.js'; /** * Combined with `sbb-pearl-chain`, it displays walk time information. */ export declare class SbbPearlChainTimeElement extends LitElement { static styles: CSSResultGroup; /** * define the legs of the pearl-chain. * Format: * `{"legs": [{"duration": 25}, ...]}` * `duration` in minutes. Duration of the leg is relative * to the total travel time. Example: departure 16:30, change at 16:40, * arrival at 17:00. So the change should have a duration of 33.33%. */ legs: (Leg | PtRideLeg)[]; /** Prop to render the departure time - will be formatted as "H:mm" */ departureTime?: string; /** Prop to render the arrival time - will be formatted as "H:mm" */ arrivalTime?: string; /** Optional prop to render the walk time (in minutes) before departure */ departureWalk?: number; /** Optional prop to render the walk time (in minutes) after arrival */ arrivalWalk?: number; /** * Per default, the current location has a pulsating animation. You can * disable the animation with this property. */ disableAnimation?: boolean; private _language; private _now; protected render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { 'sbb-pearl-chain-time': SbbPearlChainTimeElement; } } //# sourceMappingURL=pearl-chain-time.d.ts.map