/** * Calculate next and previous indices in a circular array * @param length Total length of the array * @param index Current index position * @returns Object containing next and previous indices */ export declare const getCircularIndices: ({ index, length, }: { length: number; index: number; }) => { next: number; previous: number; current: number; }; /** * Shift the current index one position to the left (previous) in a circular array * @param length Total length of the array * @param index Current index position * @returns New index after shifting left */ export declare const shiftLeft: ({ index, length, }: { length: number; index: number; }) => { next: number; previous: number; current: number; }; /** * Shift the current index one position to the right (next) in a circular array * @param length Total length of the array * @param index Current index position * @returns New index after shifting right */ export declare const shiftRight: ({ index, length, }: { length: number; index: number; }) => { next: number; previous: number; current: number; };