import { SearchEngine } from '../../app/search-engine/search-engine.js';
import { Sort, SortProps, SortState, SortInitialState } from '../core/sort/headless-core-sort.js';
export type { Sort, SortProps, SortState, SortInitialState };
/**
 * Creates a `Sort` controller instance.
 *
 * @param engine - The headless engine.
 * @param props - The configurable `Sort` controller properties.
 * @returns A `Sort` controller instance.
 *
 * @group Controllers
 * @category Sort
 */
export declare function buildSort(engine: SearchEngine, props?: SortProps): Sort;
