import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const SurveysListInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly archived: Schema.optional<Schema.Boolean>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly offset: Schema.optional<Schema.Number>;
    readonly search: Schema.optional<Schema.String>;
}>;
export type SurveysListInput = typeof SurveysListInput.Type;
export declare const SurveysListOutput: Schema.Struct<{
    readonly count: Schema.optional<Schema.Number>;
    readonly next: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly previous: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly results: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly name: Schema.optional<Schema.String>;
        readonly description: Schema.optional<Schema.String>;
        readonly type: Schema.optional<Schema.Literals<readonly ["popover", "widget", "external_survey", "api"]>>;
        readonly schedule: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly linked_flag: Schema.optional<Schema.Struct<{
            readonly id: Schema.optional<Schema.Number>;
            readonly team_id: Schema.optional<Schema.Number>;
            readonly name: Schema.optional<Schema.String>;
            readonly key: Schema.optional<Schema.String>;
            readonly filters: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
            readonly deleted: Schema.optional<Schema.Boolean>;
            readonly active: Schema.optional<Schema.Boolean>;
            readonly ensure_experience_continuity: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly has_encrypted_payloads: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly version: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly evaluation_runtime: Schema.optional<Schema.Unknown>;
            readonly bucketing_identifier: Schema.optional<Schema.Unknown>;
            readonly evaluation_contexts: Schema.optional<Schema.$Array<Schema.String>>;
        }>>;
        readonly linked_flag_id: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly linked_insight_id: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly targeting_flag: Schema.optional<Schema.Struct<{
            readonly id: Schema.optional<Schema.Number>;
            readonly team_id: Schema.optional<Schema.Number>;
            readonly name: Schema.optional<Schema.String>;
            readonly key: Schema.optional<Schema.String>;
            readonly filters: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
            readonly deleted: Schema.optional<Schema.Boolean>;
            readonly active: Schema.optional<Schema.Boolean>;
            readonly ensure_experience_continuity: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly has_encrypted_payloads: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly version: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly evaluation_runtime: Schema.optional<Schema.Unknown>;
            readonly bucketing_identifier: Schema.optional<Schema.Unknown>;
            readonly evaluation_contexts: Schema.optional<Schema.$Array<Schema.String>>;
        }>>;
        readonly internal_targeting_flag: Schema.optional<Schema.Struct<{
            readonly id: Schema.optional<Schema.Number>;
            readonly team_id: Schema.optional<Schema.Number>;
            readonly name: Schema.optional<Schema.String>;
            readonly key: Schema.optional<Schema.String>;
            readonly filters: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
            readonly deleted: Schema.optional<Schema.Boolean>;
            readonly active: Schema.optional<Schema.Boolean>;
            readonly ensure_experience_continuity: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly has_encrypted_payloads: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly version: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly evaluation_runtime: Schema.optional<Schema.Unknown>;
            readonly bucketing_identifier: Schema.optional<Schema.Unknown>;
            readonly evaluation_contexts: Schema.optional<Schema.$Array<Schema.String>>;
        }>>;
        readonly questions: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly conditions: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
        readonly appearance: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly created_by: Schema.optional<Schema.NullOr<Schema.Struct<{
            readonly id: Schema.optional<Schema.Number>;
            readonly uuid: Schema.optional<Schema.String>;
            readonly distinct_id: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly first_name: Schema.optional<Schema.String>;
            readonly last_name: Schema.optional<Schema.String>;
            readonly email: Schema.optional<Schema.String>;
            readonly is_email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly hedgehog_config: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly role_at_organization: Schema.optional<Schema.Unknown>;
        }>>>;
        readonly start_date: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly end_date: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly archived: Schema.optional<Schema.Boolean>;
        readonly responses_limit: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly feature_flag_keys: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.NullOr<Schema.String>>>>;
        readonly iteration_count: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly iteration_frequency_days: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly iteration_start_dates: Schema.optional<Schema.NullOr<Schema.$Array<Schema.NullOr<Schema.String>>>>;
        readonly current_iteration: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly current_iteration_start_date: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly response_sampling_start_date: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly response_sampling_interval_type: Schema.optional<Schema.Unknown>;
        readonly response_sampling_interval: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly response_sampling_limit: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly response_sampling_daily_limits: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly enable_partial_responses: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly enable_iframe_embedding: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly translations: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly user_access_level: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly form_content: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    }>>>;
}>;
export type SurveysListOutput = typeof SurveysListOutput.Type;
/**
 *
 * @param limit - Number of results to return per page.
 * @param offset - The initial index from which to return the results.
 * @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/.
 * @param search - A search term.
 */
export declare const surveysList: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly archived?: boolean | undefined;
    readonly limit?: number | undefined;
    readonly offset?: number | undefined;
    readonly search?: string | undefined;
}, {
    readonly count?: number | undefined;
    readonly next?: string | null | undefined;
    readonly previous?: string | null | undefined;
    readonly results?: readonly {
        readonly id?: string | undefined;
        readonly name?: string | undefined;
        readonly description?: string | undefined;
        readonly type?: "api" | "external_survey" | "popover" | "widget" | undefined;
        readonly schedule?: string | null | undefined;
        readonly linked_flag?: {
            readonly id?: number | undefined;
            readonly team_id?: number | undefined;
            readonly name?: string | undefined;
            readonly key?: string | undefined;
            readonly filters?: {
                readonly [x: string]: unknown;
            } | undefined;
            readonly deleted?: boolean | undefined;
            readonly active?: boolean | undefined;
            readonly ensure_experience_continuity?: boolean | null | undefined;
            readonly has_encrypted_payloads?: boolean | null | undefined;
            readonly version?: number | null | undefined;
            readonly evaluation_runtime?: unknown;
            readonly bucketing_identifier?: unknown;
            readonly evaluation_contexts?: readonly string[] | undefined;
        } | undefined;
        readonly linked_flag_id?: number | null | undefined;
        readonly linked_insight_id?: number | null | undefined;
        readonly targeting_flag?: {
            readonly id?: number | undefined;
            readonly team_id?: number | undefined;
            readonly name?: string | undefined;
            readonly key?: string | undefined;
            readonly filters?: {
                readonly [x: string]: unknown;
            } | undefined;
            readonly deleted?: boolean | undefined;
            readonly active?: boolean | undefined;
            readonly ensure_experience_continuity?: boolean | null | undefined;
            readonly has_encrypted_payloads?: boolean | null | undefined;
            readonly version?: number | null | undefined;
            readonly evaluation_runtime?: unknown;
            readonly bucketing_identifier?: unknown;
            readonly evaluation_contexts?: readonly string[] | undefined;
        } | undefined;
        readonly internal_targeting_flag?: {
            readonly id?: number | undefined;
            readonly team_id?: number | undefined;
            readonly name?: string | undefined;
            readonly key?: string | undefined;
            readonly filters?: {
                readonly [x: string]: unknown;
            } | undefined;
            readonly deleted?: boolean | undefined;
            readonly active?: boolean | undefined;
            readonly ensure_experience_continuity?: boolean | null | undefined;
            readonly has_encrypted_payloads?: boolean | null | undefined;
            readonly version?: number | null | undefined;
            readonly evaluation_runtime?: unknown;
            readonly bucketing_identifier?: unknown;
            readonly evaluation_contexts?: readonly string[] | undefined;
        } | undefined;
        readonly questions?: unknown;
        readonly conditions?: {
            readonly [x: string]: unknown;
        } | null | undefined;
        readonly appearance?: unknown;
        readonly created_at?: string | undefined;
        readonly created_by?: {
            readonly id?: number | undefined;
            readonly uuid?: string | undefined;
            readonly distinct_id?: string | null | undefined;
            readonly first_name?: string | undefined;
            readonly last_name?: string | undefined;
            readonly email?: string | undefined;
            readonly is_email_verified?: boolean | null | undefined;
            readonly hedgehog_config?: {
                readonly [x: string]: unknown;
            } | null | undefined;
            readonly role_at_organization?: unknown;
        } | null | undefined;
        readonly start_date?: string | null | undefined;
        readonly end_date?: string | null | undefined;
        readonly archived?: boolean | undefined;
        readonly responses_limit?: number | null | undefined;
        readonly feature_flag_keys?: readonly {
            readonly [x: string]: string | null;
        }[] | undefined;
        readonly iteration_count?: number | null | undefined;
        readonly iteration_frequency_days?: number | null | undefined;
        readonly iteration_start_dates?: readonly (string | null)[] | null | undefined;
        readonly current_iteration?: number | null | undefined;
        readonly current_iteration_start_date?: string | null | undefined;
        readonly response_sampling_start_date?: string | null | undefined;
        readonly response_sampling_interval_type?: unknown;
        readonly response_sampling_interval?: number | null | undefined;
        readonly response_sampling_limit?: number | null | undefined;
        readonly response_sampling_daily_limits?: unknown;
        readonly enable_partial_responses?: boolean | null | undefined;
        readonly enable_iframe_embedding?: boolean | null | undefined;
        readonly translations?: unknown;
        readonly user_access_level?: string | null | undefined;
        readonly form_content?: unknown;
    }[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=surveysList.d.ts.map