export interface NavSetupResult { /** onChange callback for the horizontalLoop config — wires up class/ARIA toggles + emits events. */ onChange: (item: Element, rawIndex: number) => void; /** Items the slider is operating on (already queried). */ items: HTMLElement[]; /** Total slide count. */ total: number; /** Wire up click handlers; needs the slider timeline + nav-restart callback. */ attachClickListeners: (handlers: NavClickHandlers) => () => void; } export interface NavClickHandlers { next: () => void; previous: () => void; toIndex: (target: number) => void; current: () => number; } export interface NavOptions { /** Finite (non-looping) slider: disable prev/next at the first/last slide. */ finite?: boolean; } export declare function setupNav(root: HTMLElement, opts?: NavOptions): NavSetupResult; //# sourceMappingURL=nav.d.ts.map