import type { Ref } from '@stacksjs/stx'; /** * Cycle through a list of values with wrap-around. * * @param list - Array of values to cycle through * @param options - Optional initial value */ export declare function useCycleList(list: T[], options?: UseCycleListOptions): UseCycleListReturn; export declare interface UseCycleListOptions { initialValue?: T } export declare interface UseCycleListReturn { state: Ref index: Ref next: (n?: number) => T prev: (n?: number) => T go: (i: number) => T }