import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const SurveysStatsRetrieveInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly date_from: Schema.optional<Schema.String>;
    readonly date_to: Schema.optional<Schema.String>;
}>;
export type SurveysStatsRetrieveInput = typeof SurveysStatsRetrieveInput.Type;
export declare const SurveysStatsRetrieveOutput: Schema.Struct<{
    readonly survey_id: Schema.optional<Schema.String>;
    readonly start_date: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly end_date: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly stats: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
    readonly rates: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
}>;
export type SurveysStatsRetrieveOutput = typeof SurveysStatsRetrieveOutput.Type;
/**
 * Get survey response statistics for a specific survey.
 * 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)
 * exclude_archived: Optional boolean to exclude archived responses (default: false, includes archived)
 * Returns:
 * Survey statistics including event counts, unique respondents, and conversion 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 id - A UUID string identifying this survey.
 * @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 surveysStatsRetrieve: import("@distilled.cloud/core/client").OperationMethod<{
    readonly date_from?: string | undefined;
    readonly date_to?: string | undefined;
    readonly id: string;
    readonly project_id: string;
}, {
    readonly end_date?: string | null | undefined;
    readonly rates?: {
        readonly [x: string]: unknown;
    } | undefined;
    readonly start_date?: string | null | undefined;
    readonly stats?: {
        readonly [x: string]: unknown;
    } | undefined;
    readonly survey_id?: string | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=surveysStatsRetrieve.d.ts.map