import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const HogFunctionsRearrangePartialUpdateInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly orders: Schema.optional<Schema.$Record<Schema.String, Schema.Number>>;
}>;
export type HogFunctionsRearrangePartialUpdateInput = typeof HogFunctionsRearrangePartialUpdateInput.Type;
export declare const HogFunctionsRearrangePartialUpdateOutput: Schema.$Array<Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly type: Schema.optional<Schema.Unknown>;
    readonly name: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly description: Schema.optional<Schema.String>;
    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 enabled: Schema.optional<Schema.Boolean>;
    readonly deleted: Schema.optional<Schema.Boolean>;
    readonly hog: Schema.optional<Schema.String>;
    readonly bytecode: Schema.optional<Schema.NullOr<Schema.Unknown>>;
    readonly transpiled: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly inputs_schema: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly type: Schema.optional<Schema.Literals<readonly ["string", "number", "boolean", "dictionary", "choice", "json", "integration", "integration_field", "email", "native_email", "posthog_assignee", "posthog_ticket_tags", "posthog_business_hours"]>>;
        readonly key: Schema.optional<Schema.String>;
        readonly label: Schema.optional<Schema.String>;
        readonly choices: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
        readonly required: Schema.optional<Schema.Boolean>;
        readonly default: Schema.optional<Schema.Unknown>;
        readonly secret: Schema.optional<Schema.Boolean>;
        readonly hidden: Schema.optional<Schema.Boolean>;
        readonly description: Schema.optional<Schema.String>;
        readonly integration: Schema.optional<Schema.String>;
        readonly integration_key: Schema.optional<Schema.String>;
        readonly requires_field: Schema.optional<Schema.String>;
        readonly integration_field: Schema.optional<Schema.String>;
        readonly requiredScopes: Schema.optional<Schema.String>;
        readonly templating: Schema.optional<Schema.Unknown>;
    }>>>;
    readonly inputs: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
        readonly value: Schema.optional<Schema.Unknown>;
        readonly templating: Schema.optional<Schema.Literals<readonly ["hog", "liquid"]>>;
        readonly bytecode: Schema.optional<Schema.$Array<Schema.Unknown>>;
        readonly order: Schema.optional<Schema.Number>;
        readonly transpiled: Schema.optional<Schema.Unknown>;
    }>>>;
    readonly filters: Schema.optional<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 masking: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly ttl: Schema.optional<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 mappings: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
        readonly name: Schema.optional<Schema.String>;
        readonly inputs_schema: Schema.optional<Schema.$Array<Schema.Struct<{
            readonly type: Schema.optional<Schema.Literals<readonly ["string", "number", "boolean", "dictionary", "choice", "json", "integration", "integration_field", "email", "native_email", "posthog_assignee", "posthog_ticket_tags", "posthog_business_hours"]>>;
            readonly key: Schema.optional<Schema.String>;
            readonly label: Schema.optional<Schema.String>;
            readonly choices: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly required: Schema.optional<Schema.Boolean>;
            readonly default: Schema.optional<Schema.Unknown>;
            readonly secret: Schema.optional<Schema.Boolean>;
            readonly hidden: Schema.optional<Schema.Boolean>;
            readonly description: Schema.optional<Schema.String>;
            readonly integration: Schema.optional<Schema.String>;
            readonly integration_key: Schema.optional<Schema.String>;
            readonly requires_field: Schema.optional<Schema.String>;
            readonly integration_field: Schema.optional<Schema.String>;
            readonly requiredScopes: Schema.optional<Schema.String>;
            readonly templating: Schema.optional<Schema.Unknown>;
        }>>>;
        readonly inputs: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
            readonly value: Schema.optional<Schema.Unknown>;
            readonly templating: Schema.optional<Schema.Literals<readonly ["hog", "liquid"]>>;
            readonly bytecode: Schema.optional<Schema.$Array<Schema.Unknown>>;
            readonly order: Schema.optional<Schema.Number>;
            readonly transpiled: Schema.optional<Schema.Unknown>;
        }>>>;
        readonly filters: Schema.optional<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 icon_url: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly template: Schema.optional<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly name: Schema.optional<Schema.String>;
        readonly description: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly code: Schema.optional<Schema.String>;
        readonly code_language: Schema.optional<Schema.String>;
        readonly inputs_schema: Schema.optional<Schema.Unknown>;
        readonly type: Schema.optional<Schema.String>;
        readonly status: Schema.optional<Schema.String>;
        readonly category: Schema.optional<Schema.Unknown>;
        readonly free: Schema.optional<Schema.Boolean>;
        readonly icon_url: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly filters: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly masking: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly mapping_templates: Schema.optional<Schema.NullOr<Schema.$Array<Schema.Struct<{
            readonly name: Schema.optional<Schema.String>;
            readonly include_by_default: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly use_all_events_by_default: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly filters: Schema.optional<Schema.NullOr<Schema.Unknown>>;
            readonly inputs: Schema.optional<Schema.NullOr<Schema.Unknown>>;
            readonly inputs_schema: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        }>>>>;
    }>>;
    readonly template_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly status: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly state: Schema.optional<Schema.Literals<readonly [0, 1, 2, 3, 11, 12]>>;
        readonly tokens: Schema.optional<Schema.Number>;
    }>>>;
    readonly execution_order: Schema.optional<Schema.NullOr<Schema.Number>>;
    readonly _create_in_folder: Schema.optional<Schema.String>;
    readonly batch_export_id: Schema.optional<Schema.NullOr<Schema.String>>;
}>>;
export type HogFunctionsRearrangePartialUpdateOutput = typeof HogFunctionsRearrangePartialUpdateOutput.Type;
/**
 * Update the execution order of multiple HogFunctions.
 *
 * @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 hogFunctionsRearrangePartialUpdate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly orders?: {
        readonly [x: string]: number;
    } | undefined;
    readonly project_id: string;
}, readonly {
    readonly _create_in_folder?: string | undefined;
    readonly batch_export_id?: string | null | undefined;
    readonly bytecode?: 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 deleted?: boolean | undefined;
    readonly description?: string | undefined;
    readonly enabled?: boolean | undefined;
    readonly execution_order?: number | null | 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;
    } | undefined;
    readonly hog?: string | undefined;
    readonly icon_url?: string | null | undefined;
    readonly id?: string | undefined;
    readonly inputs?: {
        readonly [x: string]: {
            readonly bytecode?: readonly unknown[] | undefined;
            readonly order?: number | undefined;
            readonly templating?: "hog" | "liquid" | undefined;
            readonly transpiled?: unknown;
            readonly value?: unknown;
        };
    } | undefined;
    readonly inputs_schema?: readonly {
        readonly choices?: readonly {
            readonly [x: string]: unknown;
        }[] | undefined;
        readonly default?: unknown;
        readonly description?: string | undefined;
        readonly hidden?: boolean | undefined;
        readonly integration?: string | undefined;
        readonly integration_field?: string | undefined;
        readonly integration_key?: string | undefined;
        readonly key?: string | undefined;
        readonly label?: string | undefined;
        readonly required?: boolean | undefined;
        readonly requiredScopes?: string | undefined;
        readonly requires_field?: string | undefined;
        readonly secret?: boolean | undefined;
        readonly templating?: unknown;
        readonly type?: "boolean" | "choice" | "dictionary" | "email" | "integration" | "integration_field" | "json" | "native_email" | "number" | "posthog_assignee" | "posthog_business_hours" | "posthog_ticket_tags" | "string" | undefined;
    }[] | undefined;
    readonly mappings?: readonly {
        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;
        } | undefined;
        readonly inputs?: {
            readonly [x: string]: {
                readonly bytecode?: readonly unknown[] | undefined;
                readonly order?: number | undefined;
                readonly templating?: "hog" | "liquid" | undefined;
                readonly transpiled?: unknown;
                readonly value?: unknown;
            };
        } | undefined;
        readonly inputs_schema?: readonly {
            readonly choices?: readonly {
                readonly [x: string]: unknown;
            }[] | undefined;
            readonly default?: unknown;
            readonly description?: string | undefined;
            readonly hidden?: boolean | undefined;
            readonly integration?: string | undefined;
            readonly integration_field?: string | undefined;
            readonly integration_key?: string | undefined;
            readonly key?: string | undefined;
            readonly label?: string | undefined;
            readonly required?: boolean | undefined;
            readonly requiredScopes?: string | undefined;
            readonly requires_field?: string | undefined;
            readonly secret?: boolean | undefined;
            readonly templating?: unknown;
            readonly type?: "boolean" | "choice" | "dictionary" | "email" | "integration" | "integration_field" | "json" | "native_email" | "number" | "posthog_assignee" | "posthog_business_hours" | "posthog_ticket_tags" | "string" | undefined;
        }[] | undefined;
        readonly name?: string | undefined;
    }[] | null | undefined;
    readonly masking?: {
        readonly bytecode?: unknown;
        readonly hash?: string | undefined;
        readonly threshold?: number | null | undefined;
        readonly ttl?: number | undefined;
    } | null | undefined;
    readonly name?: string | null | undefined;
    readonly status?: {
        readonly state?: 0 | 1 | 2 | 3 | 11 | 12 | undefined;
        readonly tokens?: number | undefined;
    } | null | undefined;
    readonly template?: {
        readonly category?: unknown;
        readonly code?: string | undefined;
        readonly code_language?: string | undefined;
        readonly description?: string | null | undefined;
        readonly filters?: unknown;
        readonly free?: boolean | undefined;
        readonly icon_url?: string | null | undefined;
        readonly id?: string | undefined;
        readonly inputs_schema?: unknown;
        readonly mapping_templates?: readonly {
            readonly filters?: unknown;
            readonly include_by_default?: boolean | null | undefined;
            readonly inputs?: unknown;
            readonly inputs_schema?: unknown;
            readonly name?: string | undefined;
            readonly use_all_events_by_default?: boolean | null | undefined;
        }[] | null | undefined;
        readonly masking?: unknown;
        readonly name?: string | undefined;
        readonly status?: string | undefined;
        readonly type?: string | undefined;
    } | undefined;
    readonly template_id?: string | null | undefined;
    readonly transpiled?: string | null | undefined;
    readonly type?: unknown;
    readonly updated_at?: string | undefined;
}[], BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=hogFunctionsRearrangePartialUpdate.d.ts.map