import type { EntitySearchSort } from "@gooddata/api-client-tiger"; /** * Builds a sorting query array from an array of strings. * * @remarks * Each string in the input array should be in the format "property" or "property,direction", * where direction can be "asc" or "desc" (case-insensitive). The default direction is "ASC". * * Examples: * - "title" -\> \{ property: "title", direction: "ASC" \} * - "title,desc" -\> \{ property: "title", direction: "DESC" \} * - "created,asc" -\> \{ property: "created", direction: "ASC" \} * * @param sort - Array of sort strings in the format "property" or "property,direction" * @returns Array of sort query objects, or undefined if no valid sorts are provided * @internal */ export declare function buildSortQuery(sort?: string[]): EntitySearchSort[] | undefined; //# sourceMappingURL=sorting.d.ts.map