import { type SortCriterion } from './criteria.js'; /** * Parses a criterion expression and return a list of `SortCriterion` * @param expression Sort criterion expression * * The available sort criteria are: * - `relevancy` * - `date ascending`/`date descending` * - `qre` * - `field ascending`/`field descending`, where you replace `field` with the name of a sortable field in your index (for example, `criteria="size ascending"`). * * You can specify multiple sort criteria to be used in the same request by separating them with a comma (for example, `criteria="size ascending, date ascending"` ). */ export declare function parseCriterionExpression(expression: string): SortCriterion[];