import { type ICatalogFact, type ICatalogMeasure } from "@gooddata/sdk-model"; import { type IDashboardQuery } from "./base.js"; /** * @alpha */ export interface IMetricsAndFacts { metrics: ICatalogMeasure[]; facts: ICatalogFact[]; } /** * @alpha */ export interface IQueryMetricsAndFacts extends IDashboardQuery { type: "GDC.DASH/QUERY.METRICS_AND_FACTS"; } /** * Creates action through which you can query metrics and facts * * @param correlationId - specify correlation id to use for this command. this will be included in all * events that will be emitted during the command processing * @returns metrics and facts from catalog * * @alpha */ export declare function queryMetricsAndFacts(correlationId?: string): IQueryMetricsAndFacts; //# sourceMappingURL=metricsAndFacts.d.ts.map