import type { SQLiteSelect } from 'drizzle-orm/sqlite-core';
import type { SQL } from 'drizzle-orm';
import type { PaginationParams } from './schemas.js';
import type { SearchOptions } from './types.js';
export declare const SEARCHABLE_FIELDS: string[];
export declare function parseSearch(searchValue: string | undefined, searchableFields?: string[], fieldsTransformations?: Record<string, string>): SearchOptions | undefined;
export declare function applySearch<T extends SQLiteSelect>(sqlBuilder: T, paginationParams: PaginationParams): {
    sqlBuilder: T;
    whereCondition: SQL | null;
};
//# sourceMappingURL=search.d.ts.map