import React from "react";
import { ElementWithRef } from "../Select";
export type SortDirections = "asc" | "desc";
export type SortOption = {
    id: string;
    name: string;
    defaultDirection: SortDirections;
};
export type SortObj = {
    sortBy: string;
    sortDirection: SortDirections;
};
export interface SortProps {
    label: string;
    icon?: React.ReactNode;
    options: SortOption[];
    selected: SortObj;
    onChange: (sort: SortObj) => void;
    target?: ElementWithRef<Element>;
    className?: string;
}
export declare const Sort: React.FC<SortProps>;
//# sourceMappingURL=Sort.d.ts.map