import type { FlexSearchPrimarySortClause } from '../../model/implementation/flex-search.js'; import type { RootEntityType } from '../../model/implementation/root-entity-type.js'; import type { OrderByEnumType, OrderByEnumValue } from '../order-by-enum-generator.js'; export declare function orderArgMatchesPrimarySort(clauses: ReadonlyArray | undefined, primarySort: ReadonlyArray): boolean; /** * Generates a list of orderBy enum values that exactly represent the primary search */ export declare function getSortClausesForPrimarySort(objectType: RootEntityType, orderByType: OrderByEnumType): ReadonlyArray;