import type { SearchEngine } from '../../app/search-engine/search-engine.js';
import { type Sort, type SortInitialState, type SortProps, type SortState } from '../core/sort/headless-core-sort.js';
export type { Sort, SortInitialState, SortProps, SortState };
/**
 * 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;
