import { LogicCommand } from '../commands/logic'; export declare type IQueryCondition = Record | LogicCommand; export declare type AnyObject = { [x: string]: any; }; export declare function flattenQueryObject(query: Record): Record; export declare function flattenObject(object: AnyObject): AnyObject; export declare function mergeConditionAfterEncode(query: Record, condition: Record, key: string): void; export declare function isConversionRequired(val: any): boolean; export declare function encodeInternalDataType(val: any): IQueryCondition; export declare function decodeInternalDataType(object: AnyObject): any;