/** * 选项排序工具函数 */ import type { SelectOption, SortDirection } from '../types'; /** * 排序选项列表 * @template T 选项值的类型 * @param options 原始选项列表 * @param direction 排序方向('asc' 升序 | 'desc' 降序) * @returns 排序后的选项列表(新数组) */ export declare function sortOptions(options: SelectOption[], direction?: SortDirection): SelectOption[];