import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient"; import * as core from "../../../../core"; import type * as Square from "../../../index"; export declare namespace ReportingClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class ReportingClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: ReportingClient.Options); /** * Describes the data available to query: the cubes, views, measures, dimensions, and segments you can reference in a reporting query. Call this first to discover the schema, then pass the members you need to `load`. * * @param {ReportingClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.reporting.getMetadata() */ getMetadata(requestOptions?: ReportingClient.RequestOptions): core.HttpResponsePromise; private __getMetadata; /** * Runs a reporting query against the discovered schema and returns the aggregated results. Long-running queries may return a "Continue wait" response while processing — retry the same request until results are ready. * * @param {Square.LoadRequest} request * @param {ReportingClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.reporting.load() */ load(request?: Square.LoadRequest, requestOptions?: ReportingClient.RequestOptions): core.HttpResponsePromise; private __load; }