import type { SortableField, SortDirection, SortMap } from '@staticcms/lite';
import type { FC } from 'react';
import './SortControl.css';
export declare const classes: Record<"list" | "root" | "option" | "list-label" | "list-option" | "list-option-label" | "list-option-sorted-icon" | "list-option-not-sorted", string>;
export interface SortControlProps {
    fields: SortableField[] | undefined;
    sort: SortMap | undefined;
    variant?: 'menu' | 'list';
    onSortClick: ((key: string, direction?: SortDirection) => Promise<void>) | undefined;
}
declare const SortControl: FC<SortControlProps>;
export default SortControl;
