type SortValue = `${string} ${"asc" | "desc"}`; export interface Choice { label: string; disabled?: boolean; value: SortValue; directionLabel: string; } export interface IndexSortingProps { choices: Choice[]; selectedOrder: string; defaultDirection?: string; disabled?: boolean; onChangeKey?: (key: string) => void; onChangeDirection?: (direction: string) => void; } export {};