///
///
import type { SortWidgetConfig, SortOption, SortState } from "../types";
export declare function useSortWidget(config?: SortWidgetConfig): {
state: import("vue").Ref<{
currentSort: string;
isLoading: boolean;
error: string | null;
}, SortState | {
currentSort: string;
isLoading: boolean;
error: string | null;
}>;
sortOptions: import("vue").ComputedRef;
activeSortOption: import("vue").ComputedRef;
isLoading: import("vue").ComputedRef;
handleSortChange: (sortValue: string) => Promise;
resetSort: () => void;
};
//# sourceMappingURL=useSortWidget.d.ts.map