import { z } from 'zod'; export type SCMProviderType = z.infer; export declare const SCMProviderType: z.ZodEnum<["github", "gitlab"]>; export type BuildStatus = z.infer; export declare const BuildStatus: z.ZodEnum<["queued", "initializing", "running", "stopped"]>; export type BuildOutcome = z.infer; export declare const BuildOutcome: z.ZodEnum<["success", "fail", "skipped", "cancelled", "terminated"]>; export type RepoConnectionRecord = z.infer; export declare const RepoConnectionRecord: z.ZodObject<{ repo_connection_uuid: z.ZodString; repo_id: z.ZodString; repo_name: z.ZodString; provider_account_id: z.ZodString; provider_account_name: z.ZodString; provider_type: z.ZodEnum<["github", "gitlab"]>; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }>; export type RepoConnectionRequest = z.infer; export declare const RepoConnectionRequest: z.ZodObject; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "repo_name" | "repo_id" | "provider_account_id" | "provider_account_name" | "provider_type">, "strip", z.ZodTypeAny, { repo_name: string; repo_id: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; }, { repo_name: string; repo_id: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; }>; export type TriggerRecord = z.infer; export declare const TriggerRecord: z.ZodObject<{ trigger_uuid: z.ZodString; build_token_uuid: z.ZodString; repo_connection: z.ZodObject<{ repo_connection_uuid: z.ZodString; repo_id: z.ZodString; repo_name: z.ZodString; provider_account_id: z.ZodString; provider_account_name: z.ZodString; provider_type: z.ZodEnum<["github", "gitlab"]>; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }>; external_script_id: z.ZodString; trigger_name: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodDefault>; root_directory: z.ZodDefault; branch_includes: z.ZodDefault>; branch_excludes: z.ZodDefault>; path_includes: z.ZodDefault>; path_excludes: z.ZodDefault>; build_caching_enabled: z.ZodDefault; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; build_token_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; build_token_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }>; export type EnvironmentVariable = z.infer; export declare const EnvironmentVariable: z.ZodObject<{ key: z.ZodString; value: z.ZodNullable; is_secret: z.ZodBoolean; }, "strip", z.ZodTypeAny, { key: string; value: string | null; is_secret: boolean; }, { key: string; value: string | null; is_secret: boolean; }>; export type EnvironmentVariablesRecord = z.infer; export declare const EnvironmentVariablesRecord: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; export type EnvironmentVariablesRequest = z.infer; export declare const EnvironmentVariablesRequest: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; export type EnvironmentVariablesResponse = z.infer; export declare const EnvironmentVariablesResponse: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; export declare const BuildRecordStatus: z.ZodEnum<["queued", "initializing", "running", "stopped"]>; export type BuildRecordStatusEnumType = z.infer; export declare const BuildOutcomeType: "build_outcome"; export type BuildOutcomeEnumType = z.infer; export declare const BuildRecord: z.ZodObject<{ build_uuid: z.ZodString; status: z.ZodEnum<["queued", "initializing", "running", "stopped"]>; build_outcome: z.ZodNullable>; initializing_on: z.ZodNullable; running_on: z.ZodNullable; stopped_on: z.ZodNullable; created_on: z.ZodDate; modified_on: z.ZodDate; }, "strip", z.ZodTypeAny, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; }, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; }>; export type BuildRecord = z.infer; export declare const BuildTriggerSource: z.ZodEnum<["push_event", "retry", "manual"]>; export declare const BuildTriggerMetadataRecord: z.ZodObject<{ build_trigger_source: z.ZodEnum<["push_event", "retry", "manual"]>; commit_hash: z.ZodString; branch: z.ZodString; author: z.ZodString; commit_message: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodNullable; provider_account_name: z.ZodString; provider_type: z.ZodEnum<["github", "gitlab"]>; repo_name: z.ZodString; root_directory: z.ZodString; environment_variables: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; }, "strip", z.ZodTypeAny, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }>; export type BuildTriggerMetadataRecord = z.infer; export type CreateTriggerRequest = z.infer; export declare const CreateTriggerRequest: z.ZodObject<{ build_command: z.ZodNullable; build_token_uuid: z.ZodString; external_script_id: z.ZodString; trigger_name: z.ZodString; deploy_command: z.ZodDefault>; root_directory: z.ZodDefault; branch_includes: z.ZodDefault>; branch_excludes: z.ZodDefault>; path_includes: z.ZodDefault>; path_excludes: z.ZodDefault>; build_caching_enabled: z.ZodDefault; repo_connection_uuid: z.ZodString; }, "strip", z.ZodTypeAny, { build_command: string | null; repo_connection_uuid: string; build_token_uuid: string; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }, { build_command: string | null; repo_connection_uuid: string; build_token_uuid: string; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }>; export type BuildTokenOwnerType = z.infer; export declare const BuildTokenOwnerType: z.ZodEnum<["user", "account"]>; export type BuildTokenRequest = z.infer; export declare const BuildTokenRequest: z.ZodObject<{ build_token_name: z.ZodString; build_token_secret: z.ZodString; cloudflare_token_id: z.ZodString; repo_connection_uuid: z.ZodString; }, "strip", z.ZodTypeAny, { repo_connection_uuid: string; build_token_name: string; build_token_secret: string; cloudflare_token_id: string; }, { repo_connection_uuid: string; build_token_name: string; build_token_secret: string; cloudflare_token_id: string; }>; export type ReadBuildTokenResponse = z.infer; export declare const ReadBuildTokenResponse: z.ZodObject<{ build_token_uuid: z.ZodString; build_token_name: z.ZodString; cloudflare_token_id: z.ZodString; owner_type: z.ZodEnum<["user", "account"]>; }, "strip", z.ZodTypeAny, { build_token_uuid: string; build_token_name: string; cloudflare_token_id: string; owner_type: "user" | "account"; }, { build_token_uuid: string; build_token_name: string; cloudflare_token_id: string; owner_type: "user" | "account"; }>; export type BuildResponse = z.infer; export declare const BuildResponse: z.ZodObject<{ status: z.ZodEnum<["queued", "initializing", "running", "stopped"]>; created_on: z.ZodDate; modified_on: z.ZodDate; build_outcome: z.ZodNullable>; build_uuid: z.ZodString; initializing_on: z.ZodNullable; running_on: z.ZodNullable; stopped_on: z.ZodNullable; trigger: z.ZodObject; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }>; external_script_id: z.ZodString; trigger_name: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodDefault>; root_directory: z.ZodDefault; branch_includes: z.ZodDefault>; branch_excludes: z.ZodDefault>; path_includes: z.ZodDefault>; path_excludes: z.ZodDefault>; build_caching_enabled: z.ZodDefault; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "build_token_uuid">, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }>; build_trigger_metadata: z.ZodObject<{ build_trigger_source: z.ZodEnum<["push_event", "retry", "manual"]>; commit_hash: z.ZodString; branch: z.ZodString; author: z.ZodString; commit_message: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodNullable; provider_account_name: z.ZodString; provider_type: z.ZodEnum<["github", "gitlab"]>; repo_name: z.ZodString; root_directory: z.ZodString; environment_variables: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; }, "strip", z.ZodTypeAny, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }>; pull_request: z.ZodNullable>; }, "strip", z.ZodTypeAny, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }>; export type BuildResponseByExternalScriptId = z.infer; export declare const BuildResponseByExternalScriptId: z.ZodRecord; created_on: z.ZodDate; modified_on: z.ZodDate; build_outcome: z.ZodNullable>; build_uuid: z.ZodString; initializing_on: z.ZodNullable; running_on: z.ZodNullable; stopped_on: z.ZodNullable; trigger: z.ZodObject; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }>; external_script_id: z.ZodString; trigger_name: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodDefault>; root_directory: z.ZodDefault; branch_includes: z.ZodDefault>; branch_excludes: z.ZodDefault>; path_includes: z.ZodDefault>; path_excludes: z.ZodDefault>; build_caching_enabled: z.ZodDefault; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "build_token_uuid">, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }>; build_trigger_metadata: z.ZodObject<{ build_trigger_source: z.ZodEnum<["push_event", "retry", "manual"]>; commit_hash: z.ZodString; branch: z.ZodString; author: z.ZodString; commit_message: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodNullable; provider_account_name: z.ZodString; provider_type: z.ZodEnum<["github", "gitlab"]>; repo_name: z.ZodString; root_directory: z.ZodString; environment_variables: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; }, "strip", z.ZodTypeAny, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }>; pull_request: z.ZodNullable>; }, "strip", z.ZodTypeAny, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }>>; export type LatestBuildsResponse = z.infer; export declare const LatestBuildsResponse: z.ZodObject<{ builds: z.ZodRecord; created_on: z.ZodDate; modified_on: z.ZodDate; build_outcome: z.ZodNullable>; build_uuid: z.ZodString; initializing_on: z.ZodNullable; running_on: z.ZodNullable; stopped_on: z.ZodNullable; trigger: z.ZodObject; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }>; external_script_id: z.ZodString; trigger_name: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodDefault>; root_directory: z.ZodDefault; branch_includes: z.ZodDefault>; branch_excludes: z.ZodDefault>; path_includes: z.ZodDefault>; path_excludes: z.ZodDefault>; build_caching_enabled: z.ZodDefault; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "build_token_uuid">, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }>; build_trigger_metadata: z.ZodObject<{ build_trigger_source: z.ZodEnum<["push_event", "retry", "manual"]>; commit_hash: z.ZodString; branch: z.ZodString; author: z.ZodString; commit_message: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodNullable; provider_account_name: z.ZodString; provider_type: z.ZodEnum<["github", "gitlab"]>; repo_name: z.ZodString; root_directory: z.ZodString; environment_variables: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; }, "strip", z.ZodTypeAny, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }>; pull_request: z.ZodNullable>; }, "strip", z.ZodTypeAny, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }>>; }, "strip", z.ZodTypeAny, { builds: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }>; }, { builds: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }>; }>; export type BuildResponseByVersionId = z.infer; export declare const BuildResponseByVersionId: z.ZodRecord; created_on: z.ZodDate; modified_on: z.ZodDate; build_outcome: z.ZodNullable>; build_uuid: z.ZodString; initializing_on: z.ZodNullable; running_on: z.ZodNullable; stopped_on: z.ZodNullable; trigger: z.ZodObject; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }>; external_script_id: z.ZodString; trigger_name: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodDefault>; root_directory: z.ZodDefault; branch_includes: z.ZodDefault>; branch_excludes: z.ZodDefault>; path_includes: z.ZodDefault>; path_excludes: z.ZodDefault>; build_caching_enabled: z.ZodDefault; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "build_token_uuid">, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }>; build_trigger_metadata: z.ZodObject<{ build_trigger_source: z.ZodEnum<["push_event", "retry", "manual"]>; commit_hash: z.ZodString; branch: z.ZodString; author: z.ZodString; commit_message: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodNullable; provider_account_name: z.ZodString; provider_type: z.ZodEnum<["github", "gitlab"]>; repo_name: z.ZodString; root_directory: z.ZodString; environment_variables: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; }, "strip", z.ZodTypeAny, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }>; pull_request: z.ZodNullable>; }, "strip", z.ZodTypeAny, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }>>; export type BuildsByVersionResponse = z.infer; export declare const BuildsByVersionResponse: z.ZodObject<{ builds: z.ZodRecord; created_on: z.ZodDate; modified_on: z.ZodDate; build_outcome: z.ZodNullable>; build_uuid: z.ZodString; initializing_on: z.ZodNullable; running_on: z.ZodNullable; stopped_on: z.ZodNullable; trigger: z.ZodObject; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }, { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }>; external_script_id: z.ZodString; trigger_name: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodDefault>; root_directory: z.ZodDefault; branch_includes: z.ZodDefault>; branch_excludes: z.ZodDefault>; path_includes: z.ZodDefault>; path_excludes: z.ZodDefault>; build_caching_enabled: z.ZodDefault; created_on: z.ZodDate; modified_on: z.ZodDate; deleted_on: z.ZodNullable; }, "build_token_uuid">, "strip", z.ZodTypeAny, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }, { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }>; build_trigger_metadata: z.ZodObject<{ build_trigger_source: z.ZodEnum<["push_event", "retry", "manual"]>; commit_hash: z.ZodString; branch: z.ZodString; author: z.ZodString; commit_message: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodNullable; provider_account_name: z.ZodString; provider_type: z.ZodEnum<["github", "gitlab"]>; repo_name: z.ZodString; root_directory: z.ZodString; environment_variables: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; }, "strip", z.ZodTypeAny, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }, { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }>; pull_request: z.ZodNullable>; }, "strip", z.ZodTypeAny, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command: string | null; root_directory: string; branch_includes: string[]; branch_excludes: string[]; path_includes: string[]; path_excludes: string[]; build_caching_enabled: boolean; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }, { status: "queued" | "initializing" | "running" | "stopped"; created_on: Date; modified_on: Date; build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; initializing_on: Date | null; running_on: Date | null; stopped_on: Date | null; trigger: { created_on: Date; modified_on: Date; build_command: string | null; deleted_on: Date | null; trigger_uuid: string; repo_connection: { created_on: Date; modified_on: Date; repo_name: string; repo_id: string; repo_connection_uuid: string; provider_account_id: string; provider_account_name: string; provider_type: "github" | "gitlab"; deleted_on: Date | null; }; external_script_id: string; trigger_name: string; deploy_command?: string | null | undefined; root_directory?: string | undefined; branch_includes?: string[] | undefined; branch_excludes?: string[] | undefined; path_includes?: string[] | undefined; path_excludes?: string[] | undefined; build_caching_enabled?: boolean | undefined; }; build_trigger_metadata: { build_command: string | null; repo_name: string; branch: string; commit_hash: string; commit_message: string; provider_account_name: string; provider_type: "github" | "gitlab"; deploy_command: string | null; root_directory: string; build_trigger_source: "push_event" | "retry" | "manual"; author: string; environment_variables: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }>>; }, "strip", z.ZodTypeAny, { builds: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }>; }, { builds: Record; }; pull_request: { created_on: Date; pull_request_url: string; } | null; }>; }>; export type PublicLogLine = z.infer; export declare const PublicLogLine: z.ZodTuple<[z.ZodNumber, z.ZodString], null>; export type PublicLogLines = z.infer; export declare const PublicLogLines: z.ZodArray, "many">; export type EncodedLogsCursor = z.infer; export declare const EncodedLogsCursor: z.ZodString; export type BuildLogsResponse = z.infer; export declare const BuildLogsResponse: z.ZodObject<{ cursor: z.ZodOptional; truncated: z.ZodBoolean; lines: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { truncated: boolean; lines: [number, string][]; cursor?: string | undefined; }, { truncated: boolean; lines: [number, string][]; cursor?: string | undefined; }>; export declare function triggerToRepoSource(trigger: Pick): { type: "github" | "gitlab"; config: { owner: string; owner_display_name: string; production_branch: string; repo_display_name: string; repo_name: string; }; }; export type CanceledBuildResponse = z.infer; export declare const CanceledBuildResponse: z.ZodObject; build_outcome: z.ZodNullable>; initializing_on: z.ZodNullable; running_on: z.ZodNullable; stopped_on: z.ZodNullable; created_on: z.ZodDate; modified_on: z.ZodDate; }, "build_outcome" | "build_uuid" | "stopped_on">, "strip", z.ZodTypeAny, { build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; stopped_on: Date | null; }, { build_outcome: "success" | "skipped" | "fail" | "cancelled" | "terminated" | null; build_uuid: string; stopped_on: Date | null; }>; export type PurgeBuildCacheResponse = z.infer; export declare const PurgeBuildCacheResponse: z.ZodString; export type CreateBuildRequest = z.infer; export declare const CreateBuildRequest: z.ZodIntersection; commit_hash: z.ZodString; branch: z.ZodString; author: z.ZodString; commit_message: z.ZodString; build_command: z.ZodNullable; deploy_command: z.ZodNullable; provider_account_name: z.ZodString; provider_type: z.ZodEnum<["github", "gitlab"]>; repo_name: z.ZodString; root_directory: z.ZodString; environment_variables: z.ZodRecord; is_secret: z.ZodBoolean; }, "key">, "strip", z.ZodTypeAny, { value: string | null; is_secret: boolean; }, { value: string | null; is_secret: boolean; }>>; }, "branch" | "commit_hash">, "strip", z.ZodTypeAny, { branch: string; commit_hash: string; }, { branch: string; commit_hash: string; }>, z.ZodObject<{ seed_repo: z.ZodOptional; owner: z.ZodString; repository: z.ZodString; path: z.ZodOptional; branch: z.ZodOptional; files: z.ZodOptional; }, "strip", z.ZodTypeAny, { filename: string; content: string; isBase64?: boolean | undefined; }, { filename: string; content: string; isBase64?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { owner: string; provider: "github" | "gitlab"; repository: string; path?: string | undefined; branch?: string | undefined; files?: { filename: string; content: string; isBase64?: boolean | undefined; }[] | undefined; }, { owner: string; provider: "github" | "gitlab"; repository: string; path?: string | undefined; branch?: string | undefined; files?: { filename: string; content: string; isBase64?: boolean | undefined; }[] | undefined; }>>; }, "strip", z.ZodTypeAny, { seed_repo?: { owner: string; provider: "github" | "gitlab"; repository: string; path?: string | undefined; branch?: string | undefined; files?: { filename: string; content: string; isBase64?: boolean | undefined; }[] | undefined; } | undefined; }, { seed_repo?: { owner: string; provider: "github" | "gitlab"; repository: string; path?: string | undefined; branch?: string | undefined; files?: { filename: string; content: string; isBase64?: boolean | undefined; }[] | undefined; } | undefined; }>>; export type GithubUserType = z.infer; export declare const GithubUserType: z.ZodEnum<["User", "Organization"]>; export type ConfigAutofillResponse = z.infer; export declare const ConfigAutofillResponse: z.ZodObject<{ config_file: z.ZodNullable; default_worker_name: z.ZodNullable; env_worker_names: z.ZodNullable>; package_manager: z.ZodOptional>; scripts: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { config_file: string | null; default_worker_name: string | null; env_worker_names: Record | null; package_manager?: string | null | undefined; scripts?: Record | null | undefined; }, { config_file: string | null; default_worker_name: string | null; env_worker_names: Record | null; package_manager?: string | null | undefined; scripts?: Record | null | undefined; }>; export type GetAccountLimitResponse = z.infer; export declare const GetAccountLimitResponse: z.ZodNullable; has_reached_build_minutes_limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { build_minutes_refresh_on?: Date | undefined; has_reached_build_minutes_limit?: boolean | undefined; }, { build_minutes_refresh_on?: Date | undefined; has_reached_build_minutes_limit?: boolean | undefined; }>>;