/**
 * Derives previous/next *trace* navigation handlers from the current traces list and the featured
 * trace id. Returns undefined for handlers that are out of bounds so the consumer can render
 * disabled UI. Mirrors the shape of `useTraceSpanNavigation`.
 */
export declare function useTraceListNavigation<T extends {
    traceId: string;
}>(traces: T[], featuredTraceId: string | undefined, onTraceChange: (traceId: string) => void): {
    featuredTraceIdx: number;
    handlePreviousTrace: (() => void) | undefined;
    handleNextTrace: (() => void) | undefined;
};
