import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { DataPoint } from "./datapoint.js";
import { QueryReportRequest } from "./queryreportrequest.js";
import { ResponseMeta } from "./responsemeta.js";
import { Totals } from "./totals.js";
/**
 * Object discriminator for typed SDKs and JSON parsers; always `report`.
 */
export declare const QueryReportResponseObject: {
    readonly Report: "report";
};
/**
 * Object discriminator for typed SDKs and JSON parsers; always `report`.
 */
export type QueryReportResponseObject = ClosedEnum<typeof QueryReportResponseObject>;
export type QueryReportResponse = {
    /**
     * Object discriminator for typed SDKs and JSON parsers; always `report`.
     */
    object?: QueryReportResponseObject | undefined;
    /**
     * The request that produced this response, parroted back so caller
     *
     * @remarks
     *  code never has to remember its own payload to interpret the result.
     */
    request?: QueryReportRequest | undefined;
    /**
     * Time-ordered buckets.
     */
    data?: Array<DataPoint> | undefined;
    /**
     * Totals across the whole window. Present only when
     *
     * @remarks
     *  `include_totals=true` on the request.
     */
    totals?: Totals | undefined;
    /**
     * Pagination contract. Always populated; currently false because the
     *
     * @remarks
     *  server caps the response at `limit` instead of issuing cursors.
     */
    hasMore?: boolean | undefined;
    /**
     * Diagnostic metadata.
     */
    meta?: ResponseMeta | undefined;
};
/** @internal */
export declare const QueryReportResponseObject$inboundSchema: z.ZodNativeEnum<typeof QueryReportResponseObject>;
/** @internal */
export declare const QueryReportResponse$inboundSchema: z.ZodType<QueryReportResponse, z.ZodTypeDef, unknown>;
export declare function queryReportResponseFromJSON(jsonString: string): SafeParseResult<QueryReportResponse, SDKValidationError>;
//# sourceMappingURL=queryreportresponse.d.ts.map