import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const EndpointsRunCreateInput: Schema.Struct<{
    readonly name: Schema.String;
    readonly project_id: Schema.String;
    readonly client_query_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly debug: Schema.optional<Schema.NullOr<Schema.Boolean>>;
    readonly filters_override: Schema.optional<Schema.Struct<{
        readonly breakdown_filter: Schema.optional<Schema.Struct<{
            readonly breakdown: Schema.optional<Schema.Unknown>;
            readonly breakdown_group_type_index: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly breakdown_hide_other_aggregation: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly breakdown_histogram_bin_count: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly breakdown_limit: Schema.optional<Schema.NullOr<Schema.Number>>;
            readonly breakdown_normalize_url: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly breakdown_path_cleaning: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly breakdown_type: Schema.optional<Schema.Literals<readonly ["cohort", "person", "event", "event_metadata", "group", "session", "hogql", "data_warehouse", "data_warehouse_person_property", "revenue_analytics"]>>;
            readonly breakdowns: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
                readonly group_type_index: Schema.optional<Schema.NullOr<Schema.Number>>;
                readonly histogram_bin_count: Schema.optional<Schema.NullOr<Schema.Number>>;
                readonly normalize_url: Schema.optional<Schema.NullOr<Schema.Boolean>>;
                readonly property: Schema.optional<Schema.Unknown>;
                readonly type: Schema.optional<Schema.Literals<readonly ["cohort", "person", "event", "event_metadata", "group", "session", "hogql", "data_warehouse_person_property", "revenue_analytics"]>>;
            }>>>>;
        }>>;
        readonly date_from: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly date_to: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly explicitDate: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly properties: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Unknown>>>;
    }>>;
    readonly limit: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly offset: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly refresh: Schema.optional<Schema.Literals<readonly ["cache", "force", "direct"]>>;
    readonly variables: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
    readonly version: Schema.optional<Schema.NullOr<Schema.Number>>;
}>;
export type EndpointsRunCreateInput = typeof EndpointsRunCreateInput.Type;
export declare const EndpointsRunCreateOutput: Schema.Struct<{
    readonly name: Schema.optional<Schema.String>;
    readonly results: Schema.optional<Schema.$Array<Schema.Unknown>>;
    readonly columns: Schema.optional<Schema.$Array<Schema.String>>;
    readonly hasMore: Schema.optional<Schema.Boolean>;
    readonly endpoint_version: Schema.optional<Schema.Number>;
}>;
export type EndpointsRunCreateOutput = typeof EndpointsRunCreateOutput.Type;
/**
 * Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
 *
 * @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 endpointsRunCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly client_query_id?: string | null | undefined;
    readonly debug?: boolean | null | undefined;
    readonly filters_override?: {
        readonly breakdown_filter?: {
            readonly breakdown?: unknown;
            readonly breakdown_group_type_index?: number | null | undefined;
            readonly breakdown_hide_other_aggregation?: boolean | null | undefined;
            readonly breakdown_histogram_bin_count?: number | null | undefined;
            readonly breakdown_limit?: number | null | undefined;
            readonly breakdown_normalize_url?: boolean | null | undefined;
            readonly breakdown_path_cleaning?: boolean | null | undefined;
            readonly breakdown_type?: "cohort" | "data_warehouse" | "data_warehouse_person_property" | "event" | "event_metadata" | "group" | "hogql" | "person" | "revenue_analytics" | "session" | undefined;
            readonly breakdowns?: readonly {
                readonly group_type_index?: number | null | undefined;
                readonly histogram_bin_count?: number | null | undefined;
                readonly normalize_url?: boolean | null | undefined;
                readonly property?: unknown;
                readonly type?: "cohort" | "data_warehouse_person_property" | "event" | "event_metadata" | "group" | "hogql" | "person" | "revenue_analytics" | "session" | undefined;
            }[] | null | undefined;
        } | undefined;
        readonly date_from?: string | null | undefined;
        readonly date_to?: string | null | undefined;
        readonly explicitDate?: boolean | null | undefined;
        readonly properties?: readonly unknown[] | null | undefined;
    } | undefined;
    readonly limit?: number | null | undefined;
    readonly name: string;
    readonly offset?: number | null | undefined;
    readonly project_id: string;
    readonly refresh?: "cache" | "direct" | "force" | undefined;
    readonly variables?: {
        readonly [x: string]: unknown;
    } | null | undefined;
    readonly version?: number | null | undefined;
}, {
    readonly columns?: readonly string[] | undefined;
    readonly endpoint_version?: number | undefined;
    readonly hasMore?: boolean | undefined;
    readonly name?: string | undefined;
    readonly results?: readonly unknown[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=endpointsRunCreate.d.ts.map