/**
 * Step an index forward or backward with wrap-around. Used by the image
 * preview modal in both runtimes. Returns `0` for an empty list.
 */
export declare function navigateCyclic(currentIndex: number, direction: 'prev' | 'next', length: number): number;
