/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import React from 'react'; export type QueryBuilderRef = { validate: () => Promise; }; type QueryValue = { collectionPath?: string[]; measures?: any[]; dimensions?: any[]; filter?: { logic: '$and' | '$or'; items: any[]; }; orders?: any[]; limit?: number; offset?: number; }; export declare const QueryBuilder: React.ForwardRefExoticComponent<{ value?: QueryValue; onChange?: (value: QueryValue) => void; } & React.RefAttributes>; export {};