import type { SQLiteSelect } from 'drizzle-orm/sqlite-core';
import type { SortOption } from './types.js';
import type { PaginationParams } from './schemas.js';
export declare function parseSort(sortString?: string, sortableFields?: string[], fieldsTransformations?: Record<string, string>): SortOption[] | undefined;
export declare function applySorting<T extends SQLiteSelect>(sqlBuilder: T, paginationParams: PaginationParams, tableAlias?: string): T;
//# sourceMappingURL=sort.d.ts.map