import type { AriaAttributes, CSSProperties } from "react"; /** * The generic attributes every Timeline wrapper passes through to its custom element: * `id`, `style`, `aria-*` and `data-*`. On `GovTimelineCategory` the `id` is also the * section's anchor and nav link target; set it for links that survive reordering. */ export type GovTimelineHostAttributes = AriaAttributes & { id?: string; style?: CSSProperties; [dataAttribute: `data-${string}`]: string | number | boolean | undefined; }; /** Picks the {@link GovTimelineHostAttributes} out of a wrapper's remaining props; anything else is dropped. */ export declare const hostAttributes: (props: Record) => Record;