import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const SurveysGlobalStatsRetrieveInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly date_from: Schema.optional<Schema.String>;
    readonly date_to: Schema.optional<Schema.String>;
}>;
export type SurveysGlobalStatsRetrieveInput = typeof SurveysGlobalStatsRetrieveInput.Type;
export declare const SurveysGlobalStatsRetrieveOutput: Schema.Struct<{
    readonly stats: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
    readonly rates: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
}>;
export type SurveysGlobalStatsRetrieveOutput = typeof SurveysGlobalStatsRetrieveOutput.Type;
/**
 * Get aggregated response statistics across all surveys.
 * Args:
 * date_from: Optional ISO timestamp for start date (e.g. 2024-01-01T00:00:00Z)
 * date_to: Optional ISO timestamp for end date (e.g. 2024-01-31T23:59:59Z)
 * Returns:
 * Aggregated statistics across all surveys including total counts and rates
 *
 * @param date_from - Optional ISO timestamp for start date (e.g. 2024-01-01T00:00:00Z)
 * @param date_to - Optional ISO timestamp for end date (e.g. 2024-01-31T23:59:59Z)
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 */
export declare const surveysGlobalStatsRetrieve: import("@distilled.cloud/core/client").OperationMethod<{
    readonly date_from?: string | undefined;
    readonly date_to?: string | undefined;
    readonly project_id: string;
}, {
    readonly rates?: {
        readonly [x: string]: unknown;
    } | undefined;
    readonly stats?: {
        readonly [x: string]: unknown;
    } | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=surveysGlobalStatsRetrieve.d.ts.map