import React from 'react'; import type { UseSortByProps } from 'react-instantsearch-hooks'; export type SortByProps = Omit, 'onChange'> & Pick & Pick, 'value'> & { onChange?: (value: string) => void; classNames?: Partial; }; export type SortByClassNames = { /** * Class names to apply to the root element */ root: string; /** * Class names to apply to the select element */ select: string; /** * Class names to apply to the option element */ option: string; }; export declare function SortBy({ items, value, onChange, classNames, ...props }: SortByProps): JSX.Element;