import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const BatchExportsCreateInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly id: Schema.optional<Schema.String>;
    readonly team_id: Schema.optional<Schema.Number>;
    readonly name: Schema.optional<Schema.String>;
    readonly model: Schema.optional<Schema.Unknown>;
    readonly destination: Schema.optional<Schema.Struct<{
        readonly type: Schema.optional<Schema.Literals<readonly ["S3", "Snowflake", "Postgres", "Redshift", "BigQuery", "Databricks", "AzureBlob", "Workflows", "HTTP", "NoOp"]>>;
        readonly config: Schema.optional<Schema.Unknown>;
        readonly integration: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly integration_id: Schema.optional<Schema.NullOr<Schema.Number>>;
    }>>;
    readonly interval: Schema.optional<Schema.Literals<readonly ["hour", "day", "week", "every 5 minutes", "every 15 minutes"]>>;
    readonly paused: Schema.optional<Schema.Boolean>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly last_updated_at: Schema.optional<Schema.String>;
    readonly last_paused_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly start_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly end_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly latest_runs: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly status: Schema.optional<Schema.Literals<readonly ["Cancelled", "Completed", "ContinuedAsNew", "Failed", "FailedRetryable", "FailedBilling", "Terminated", "TimedOut", "Running", "Starting"]>>;
        readonly records_completed: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly records_failed: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly latest_error: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly data_interval_start: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly data_interval_end: Schema.optional<Schema.String>;
        readonly cursor: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly finished_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly last_updated_at: Schema.optional<Schema.String>;
        readonly records_total_count: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly bytes_exported: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly batch_export: Schema.optional<Schema.String>;
        readonly backfill: Schema.optional<Schema.NullOr<Schema.String>>;
    }>>>;
    readonly hogql_query: Schema.optional<Schema.String>;
    readonly schema: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly filters: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly timezone: Schema.optional<Schema.Unknown>;
    readonly offset_day: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly offset_hour: Schema.optional<Schema.NullOr<Schema.Number>>;
}>;
export type BatchExportsCreateInput = typeof BatchExportsCreateInput.Type;
export declare const BatchExportsCreateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly team_id: Schema.optional<Schema.Number>;
    readonly name: Schema.optional<Schema.String>;
    readonly model: Schema.optional<Schema.Unknown>;
    readonly destination: Schema.optional<Schema.Struct<{
        readonly type: Schema.optional<Schema.Literals<readonly ["S3", "Snowflake", "Postgres", "Redshift", "BigQuery", "Databricks", "AzureBlob", "Workflows", "HTTP", "NoOp"]>>;
        readonly config: Schema.optional<Schema.Unknown>;
        readonly integration: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly integration_id: Schema.optional<Schema.NullOr<Schema.Number>>;
    }>>;
    readonly interval: Schema.optional<Schema.Literals<readonly ["hour", "day", "week", "every 5 minutes", "every 15 minutes"]>>;
    readonly paused: Schema.optional<Schema.Boolean>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly last_updated_at: Schema.optional<Schema.String>;
    readonly last_paused_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly start_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly end_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly latest_runs: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly status: Schema.optional<Schema.Literals<readonly ["Cancelled", "Completed", "ContinuedAsNew", "Failed", "FailedRetryable", "FailedBilling", "Terminated", "TimedOut", "Running", "Starting"]>>;
        readonly records_completed: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly records_failed: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly latest_error: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly data_interval_start: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly data_interval_end: Schema.optional<Schema.String>;
        readonly cursor: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly finished_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly last_updated_at: Schema.optional<Schema.String>;
        readonly records_total_count: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly bytes_exported: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly batch_export: Schema.optional<Schema.String>;
        readonly backfill: Schema.optional<Schema.NullOr<Schema.String>>;
    }>>>;
    readonly hogql_query: Schema.optional<Schema.String>;
    readonly schema: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly filters: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly timezone: Schema.optional<Schema.Unknown>;
    readonly offset_day: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly offset_hour: Schema.optional<Schema.NullOr<Schema.Number>>;
}>;
export type BatchExportsCreateOutput = typeof BatchExportsCreateOutput.Type;
/**
 *
 * @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 batchExportsCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly id?: string | undefined;
    readonly team_id?: number | undefined;
    readonly name?: string | undefined;
    readonly model?: unknown;
    readonly destination?: {
        readonly type?: "AzureBlob" | "BigQuery" | "Databricks" | "HTTP" | "NoOp" | "Postgres" | "Redshift" | "S3" | "Snowflake" | "Workflows" | undefined;
        readonly config?: unknown;
        readonly integration?: number | null | undefined;
        readonly integration_id?: number | null | undefined;
    } | undefined;
    readonly interval?: "day" | "every 15 minutes" | "every 5 minutes" | "hour" | "week" | undefined;
    readonly paused?: boolean | undefined;
    readonly created_at?: string | undefined;
    readonly last_updated_at?: string | undefined;
    readonly last_paused_at?: string | null | undefined;
    readonly start_at?: string | null | undefined;
    readonly end_at?: string | null | undefined;
    readonly latest_runs?: readonly {
        readonly id?: string | undefined;
        readonly status?: "Cancelled" | "Completed" | "ContinuedAsNew" | "Failed" | "FailedBilling" | "FailedRetryable" | "Running" | "Starting" | "Terminated" | "TimedOut" | undefined;
        readonly records_completed?: number | null | undefined;
        readonly records_failed?: number | null | undefined;
        readonly latest_error?: string | null | undefined;
        readonly data_interval_start?: string | null | undefined;
        readonly data_interval_end?: string | undefined;
        readonly cursor?: string | null | undefined;
        readonly created_at?: string | undefined;
        readonly finished_at?: string | null | undefined;
        readonly last_updated_at?: string | undefined;
        readonly records_total_count?: number | null | undefined;
        readonly bytes_exported?: number | null | undefined;
        readonly batch_export?: string | undefined;
        readonly backfill?: string | null | undefined;
    }[] | undefined;
    readonly hogql_query?: string | undefined;
    readonly schema?: unknown;
    readonly filters?: unknown;
    readonly timezone?: unknown;
    readonly offset_day?: number | null | undefined;
    readonly offset_hour?: number | null | undefined;
}, {
    readonly id?: string | undefined;
    readonly team_id?: number | undefined;
    readonly name?: string | undefined;
    readonly model?: unknown;
    readonly destination?: {
        readonly type?: "AzureBlob" | "BigQuery" | "Databricks" | "HTTP" | "NoOp" | "Postgres" | "Redshift" | "S3" | "Snowflake" | "Workflows" | undefined;
        readonly config?: unknown;
        readonly integration?: number | null | undefined;
        readonly integration_id?: number | null | undefined;
    } | undefined;
    readonly interval?: "day" | "every 15 minutes" | "every 5 minutes" | "hour" | "week" | undefined;
    readonly paused?: boolean | undefined;
    readonly created_at?: string | undefined;
    readonly last_updated_at?: string | undefined;
    readonly last_paused_at?: string | null | undefined;
    readonly start_at?: string | null | undefined;
    readonly end_at?: string | null | undefined;
    readonly latest_runs?: readonly {
        readonly id?: string | undefined;
        readonly status?: "Cancelled" | "Completed" | "ContinuedAsNew" | "Failed" | "FailedBilling" | "FailedRetryable" | "Running" | "Starting" | "Terminated" | "TimedOut" | undefined;
        readonly records_completed?: number | null | undefined;
        readonly records_failed?: number | null | undefined;
        readonly latest_error?: string | null | undefined;
        readonly data_interval_start?: string | null | undefined;
        readonly data_interval_end?: string | undefined;
        readonly cursor?: string | null | undefined;
        readonly created_at?: string | undefined;
        readonly finished_at?: string | null | undefined;
        readonly last_updated_at?: string | undefined;
        readonly records_total_count?: number | null | undefined;
        readonly bytes_exported?: number | null | undefined;
        readonly batch_export?: string | undefined;
        readonly backfill?: string | null | undefined;
    }[] | undefined;
    readonly hogql_query?: string | undefined;
    readonly schema?: unknown;
    readonly filters?: unknown;
    readonly timezone?: unknown;
    readonly offset_day?: number | null | undefined;
    readonly offset_hour?: number | null | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=batchExportsCreate.d.ts.map