import { QueryDefSearch, QueryDef } from '../types.js';
import { FilterOpts } from '../filter/types.js';
export type Search = string[] | {
    [field: string]: number;
} | string;
export declare const vectorSearch: (def: QueryDef, q: ArrayBufferView, field: string, opts: Omit<FilterOpts, "lowerCase">) => void;
export declare const search: (def: QueryDef, q: string, s?: Search) => void;
export declare const searchToBuffer: (search: QueryDefSearch) => Uint8Array;
