import S from './sanitised.js'; export type Where = S | Record; export type t = Where; export declare function visit(value: unknown): S; /** * @returns WHERE clause. * * Supports MondoDB-like query. */ export declare function where(value: Where): S; /** * @returns terms joined with AND operator. * * `undefined` terms are filtered out. * * An empty list of terms returns logical true (1=1). * * Terms are deduplicated. */ export declare function and(...xs: (undefined | Where)[]): S; /** * @returns terms joined with OR operator. * * `undefined` terms are filtered out. * * An empty list of terms returns logical false (0=1). */ export declare function or(...xs: (undefined | Where)[]): S; export declare function not(rhs: undefined | Where): undefined | S; export default where;