import { FlexSearchPrimarySortClause } from '../../model/implementation/flex-search'; import { RootEntityType } from '../../model'; import { OrderByEnumType, OrderByEnumValue } from '../order-by-enum-generator'; 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;