import { r as TimarroTimelineData } from "./types-CGDckUqn.cjs"; //#region src/element.d.ts /** * SSR-safe base: importing this module in Node (e.g. to run the validator * server-side) must not crash on a missing HTMLElement. The stand-in class is * never instantiated — `define()` no-ops outside the browser. */ declare const BaseElement: typeof HTMLElement; /** * `` — renders a timeline from §5-shaped JSON. * * Attributes: `src` (JSON URL) · `locale` (BCP-47, default browser) · * `orientation` (auto | horizontal | vertical; auto switches on container * width < 800px) · `legend` (M5) · `zoom` (`off`/`false` disables the * horizontal zoom controls and gestures). Setting the `data` property wins * over `src`. * * Keyboard: arrow keys move focus chronologically between event markers * (roving tabindex), Home/End jump to the first/last event, Enter/Space * toggle the detail popover, Escape closes it and returns focus, `+`/`-` * zoom the horizontal plot and `0` fits it back. * * Zoom (horizontal only): the −/level/+ pill in the footer row beside the * legend, `Ctrl`/`⌘` + wheel or a trackpad pinch (anchored at the cursor). * A plain wheel is left to the host page. * * Events (bubbling, composed): `timarro:load` {timeline} · `timarro:error` * {message[, issues]} · `timarro:select` {event}. */ declare class TimarroTimeline extends BaseElement { #private; static readonly observedAttributes: readonly string[]; constructor(); /** The last successfully validated data; null if unset or the last input was invalid. */ get data(): TimarroTimelineData | null; /** Setting data aborts any in-flight `src` fetch — the property wins. */ set data(value: TimarroTimelineData | null); connectedCallback(): void; disconnectedCallback(): void; attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void; } declare function define(tagName?: string): void; //#endregion export { define as n, TimarroTimeline as t }; //# sourceMappingURL=element-Dnc2T2hK.d.cts.map