declare function flattenQuery(query: Record<string, any>): Record<string, any>;
