import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const HogFlowsInvocationsCreateInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly project_id: Schema.String;
    readonly name: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly description: Schema.optional<Schema.String>;
    readonly version: Schema.optional<Schema.Number>;
    readonly status: Schema.optional<Schema.Literals<readonly ["draft", "active", "archived"]>>;
    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 updated_at: Schema.optional<Schema.String>;
    readonly trigger: Schema.optional<Schema.Unknown>;
    readonly trigger_masking: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly ttl: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly threshold: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly hash: Schema.optional<Schema.String>;
        readonly bytecode: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    }>>>;
    readonly conversion: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly exit_condition: Schema.optional<Schema.Literals<readonly ["exit_on_conversion", "exit_on_trigger_not_matched", "exit_on_trigger_not_matched_or_conversion", "exit_only_at_end"]>>;
    readonly edges: Schema.optional<Schema.Unknown>;
    readonly actions: 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 on_error: Schema.optional<Schema.Unknown>;
        readonly created_at: Schema.optional<Schema.Number>;
        readonly updated_at: Schema.optional<Schema.Number>;
        readonly filters: Schema.optional<Schema.NullOr<Schema.Struct<{
            readonly source: Schema.optional<Schema.Literals<readonly ["events", "person-updates", "data-warehouse-table"]>>;
            readonly actions: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly events: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly data_warehouse: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly properties: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly bytecode: Schema.optional<Schema.NullOr<Schema.Unknown>>;
            readonly transpiled: Schema.optional<Schema.Unknown>;
            readonly filter_test_accounts: Schema.optional<Schema.Boolean>;
            readonly bytecode_error: Schema.optional<Schema.String>;
        }>>>;
        readonly type: Schema.optional<Schema.String>;
        readonly config: Schema.optional<Schema.Unknown>;
        readonly output_variable: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    }>>>;
    readonly abort_action: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly variables: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.String>>>;
    readonly billable_action_types: Schema.optional<Schema.NullOr<Schema.Unknown>>;
}>;
export type HogFlowsInvocationsCreateInput = typeof HogFlowsInvocationsCreateInput.Type;
export declare const HogFlowsInvocationsCreateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly name: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly description: Schema.optional<Schema.String>;
    readonly version: Schema.optional<Schema.Number>;
    readonly status: Schema.optional<Schema.Literals<readonly ["draft", "active", "archived"]>>;
    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 updated_at: Schema.optional<Schema.String>;
    readonly trigger: Schema.optional<Schema.Unknown>;
    readonly trigger_masking: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly ttl: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly threshold: Schema.optional<Schema.NullOr<Schema.Number>>;
        readonly hash: Schema.optional<Schema.String>;
        readonly bytecode: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    }>>>;
    readonly conversion: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly exit_condition: Schema.optional<Schema.Literals<readonly ["exit_on_conversion", "exit_on_trigger_not_matched", "exit_on_trigger_not_matched_or_conversion", "exit_only_at_end"]>>;
    readonly edges: Schema.optional<Schema.Unknown>;
    readonly actions: 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 on_error: Schema.optional<Schema.Unknown>;
        readonly created_at: Schema.optional<Schema.Number>;
        readonly updated_at: Schema.optional<Schema.Number>;
        readonly filters: Schema.optional<Schema.NullOr<Schema.Struct<{
            readonly source: Schema.optional<Schema.Literals<readonly ["events", "person-updates", "data-warehouse-table"]>>;
            readonly actions: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly events: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly data_warehouse: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly properties: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly bytecode: Schema.optional<Schema.NullOr<Schema.Unknown>>;
            readonly transpiled: Schema.optional<Schema.Unknown>;
            readonly filter_test_accounts: Schema.optional<Schema.Boolean>;
            readonly bytecode_error: Schema.optional<Schema.String>;
        }>>>;
        readonly type: Schema.optional<Schema.String>;
        readonly config: Schema.optional<Schema.Unknown>;
        readonly output_variable: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    }>>>;
    readonly abort_action: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly variables: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.String>>>;
    readonly billable_action_types: Schema.optional<Schema.NullOr<Schema.Unknown>>;
}>;
export type HogFlowsInvocationsCreateOutput = typeof HogFlowsInvocationsCreateOutput.Type;
/**
 *
 * @param id - A UUID string identifying this hog flow.
 * @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 hogFlowsInvocationsCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly abort_action?: string | null | undefined;
    readonly actions?: readonly {
        readonly config?: unknown;
        readonly created_at?: number | undefined;
        readonly description?: string | undefined;
        readonly filters?: {
            readonly actions?: readonly {
                readonly [x: string]: unknown;
            }[] | undefined;
            readonly bytecode?: unknown;
            readonly bytecode_error?: string | undefined;
            readonly data_warehouse?: readonly {
                readonly [x: string]: unknown;
            }[] | undefined;
            readonly events?: readonly {
                readonly [x: string]: unknown;
            }[] | undefined;
            readonly filter_test_accounts?: boolean | undefined;
            readonly properties?: readonly {
                readonly [x: string]: unknown;
            }[] | undefined;
            readonly source?: "data-warehouse-table" | "events" | "person-updates" | undefined;
            readonly transpiled?: unknown;
        } | null | undefined;
        readonly id?: string | undefined;
        readonly name?: string | undefined;
        readonly on_error?: unknown;
        readonly output_variable?: unknown;
        readonly type?: string | undefined;
        readonly updated_at?: number | undefined;
    }[] | undefined;
    readonly billable_action_types?: unknown;
    readonly conversion?: unknown;
    readonly created_at?: string | undefined;
    readonly created_by?: {
        readonly distinct_id?: string | null | undefined;
        readonly email?: string | undefined;
        readonly first_name?: string | undefined;
        readonly hedgehog_config?: {
            readonly [x: string]: unknown;
        } | null | undefined;
        readonly id?: number | undefined;
        readonly is_email_verified?: boolean | null | undefined;
        readonly last_name?: string | undefined;
        readonly role_at_organization?: unknown;
        readonly uuid?: string | undefined;
    } | null | undefined;
    readonly description?: string | undefined;
    readonly edges?: unknown;
    readonly exit_condition?: "exit_on_conversion" | "exit_on_trigger_not_matched" | "exit_on_trigger_not_matched_or_conversion" | "exit_only_at_end" | undefined;
    readonly id: string;
    readonly name?: string | null | undefined;
    readonly project_id: string;
    readonly status?: "active" | "archived" | "draft" | undefined;
    readonly trigger?: unknown;
    readonly trigger_masking?: {
        readonly bytecode?: unknown;
        readonly hash?: string | undefined;
        readonly threshold?: number | null | undefined;
        readonly ttl?: number | null | undefined;
    } | null | undefined;
    readonly updated_at?: string | undefined;
    readonly variables?: readonly {
        readonly [x: string]: string;
    }[] | undefined;
    readonly version?: number | undefined;
}, {
    readonly abort_action?: string | null | undefined;
    readonly actions?: readonly {
        readonly config?: unknown;
        readonly created_at?: number | undefined;
        readonly description?: string | undefined;
        readonly filters?: {
            readonly actions?: readonly {
                readonly [x: string]: unknown;
            }[] | undefined;
            readonly bytecode?: unknown;
            readonly bytecode_error?: string | undefined;
            readonly data_warehouse?: readonly {
                readonly [x: string]: unknown;
            }[] | undefined;
            readonly events?: readonly {
                readonly [x: string]: unknown;
            }[] | undefined;
            readonly filter_test_accounts?: boolean | undefined;
            readonly properties?: readonly {
                readonly [x: string]: unknown;
            }[] | undefined;
            readonly source?: "data-warehouse-table" | "events" | "person-updates" | undefined;
            readonly transpiled?: unknown;
        } | null | undefined;
        readonly id?: string | undefined;
        readonly name?: string | undefined;
        readonly on_error?: unknown;
        readonly output_variable?: unknown;
        readonly type?: string | undefined;
        readonly updated_at?: number | undefined;
    }[] | undefined;
    readonly billable_action_types?: unknown;
    readonly conversion?: unknown;
    readonly created_at?: string | undefined;
    readonly created_by?: {
        readonly distinct_id?: string | null | undefined;
        readonly email?: string | undefined;
        readonly first_name?: string | undefined;
        readonly hedgehog_config?: {
            readonly [x: string]: unknown;
        } | null | undefined;
        readonly id?: number | undefined;
        readonly is_email_verified?: boolean | null | undefined;
        readonly last_name?: string | undefined;
        readonly role_at_organization?: unknown;
        readonly uuid?: string | undefined;
    } | null | undefined;
    readonly description?: string | undefined;
    readonly edges?: unknown;
    readonly exit_condition?: "exit_on_conversion" | "exit_on_trigger_not_matched" | "exit_on_trigger_not_matched_or_conversion" | "exit_only_at_end" | undefined;
    readonly id?: string | undefined;
    readonly name?: string | null | undefined;
    readonly status?: "active" | "archived" | "draft" | undefined;
    readonly trigger?: unknown;
    readonly trigger_masking?: {
        readonly bytecode?: unknown;
        readonly hash?: string | undefined;
        readonly threshold?: number | null | undefined;
        readonly ttl?: number | null | undefined;
    } | null | undefined;
    readonly updated_at?: string | undefined;
    readonly variables?: readonly {
        readonly [x: string]: string;
    }[] | undefined;
    readonly version?: number | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=hogFlowsInvocationsCreate.d.ts.map