export declare function getCurrentAndNextSegments<T>(array: T[]): {
    currentSegment: T;
    nextSegment: T;
}[];
