/** @public */ export declare type SortDirection = 1 | -1 | 'asc' | 'desc' | 'ascending' | 'descending' | { $meta: string; }; /** @public */ export declare type Sort = string | Exclude | string[] | { [key: string]: SortDirection; } | Map | [string, SortDirection][] | [string, SortDirection]; /** Below stricter types were created for sort that correspond with type that the cmd takes */ /** @internal */ export declare type SortDirectionForCmd = 1 | -1 | { $meta: string; }; /** @internal */ export declare type SortForCmd = Map; /** converts a Sort type into a type that is valid for the server (SortForCmd) */ export declare function formatSort(sort: Sort | undefined, direction?: SortDirection): SortForCmd | undefined; //# sourceMappingURL=sort.d.ts.map