/** * 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 { BaseRecordResource } from '@nocobase/flow-engine'; export declare class ChartResource extends BaseRecordResource { resourceName: string; private refreshTimer; private refreshWaiters; protected request: { url: string; method: string; params: Record; data: Record; headers: Record; }; setQueryParams(query: Record, mark?: string): this; setFilter(filter: Record): this; parseQuery(query: Record): { mode: any; sql: any; dataSource: any; collection: any; measures: any; dimensions: any; filter: any; orders: any; limit: any; offset: any; rd: any; contextParams: any; }; run(): Promise; refresh(): Promise; }