import type { SQLiteDelete, SQLiteSelect } from 'drizzle-orm/sqlite-core';
import type { SQL } from 'drizzle-orm';
import type { Filter } from './types.js';
export declare function applyFilter<T extends SQLiteSelect | SQLiteDelete>(sqlBuilder: T, filter?: Filter): {
    sqlBuilder: T;
    whereCondition: SQL | null;
};
export declare function convertFilterToWhereCondition(filter?: Filter): SQL | undefined;
export declare function parseFilterQuery(query?: string, availableFields?: string[], fieldsTransformations?: Record<string, string>): Filter | undefined;
//# sourceMappingURL=filter.d.ts.map