import { IDocumentInstance } from "../types"; import { QueryOperator } from "./QueryOperator"; type ITextOptions = { search: string; language?: string; caseSensitive?: boolean; diacriticSensitive?: boolean; }; export declare class QueryLogic { nativeFilter: any; constructor(nativeFilter?: any); filter(name: K, expression: (query: QueryOperator) => any): this; filter(name: K, value: D[K]): this; nor(fieldName: K, expression: (query: QueryOperator) => any): this; nor(fieldName: K, value: D[K]): this; nor(expression: (query: QueryLogic) => any): this; and(fieldName: K, expression: (query: QueryOperator) => any): this; and(fieldName: K, value: D[K]): this; and(expression: (query: QueryLogic) => any): this; or(fieldName: K, expression: (query: QueryOperator) => any): this; or(fieldName: K, value: D[K]): this; or(expression: (query: QueryLogic) => any): this; text(value: string | ITextOptions): this; private _createConditionFilter; } export {};