import { Part } from "../types/a2a.js"; import { AppType, ContextFetchDefinition, ConversationHistoryConfig, ConversationMetadata, DatasetItemExpectedOutput, DatasetItemInput, EvaluationSuiteFilterCriteria, Filter, MessageContent, MessageMetadata, PassCriteria, TaskMetadataConfig, ToolMcpConfig, ToolServerCapabilities } from "../types/utility.js"; import { JsonSchemaProperty } from "./json-schemas.js"; import "../index.js"; import { z } from "@hono/zod-openapi"; import * as drizzle_orm_pg_core354 from "drizzle-orm/pg-core"; import * as drizzle_zod19 from "drizzle-zod"; //#region src/validation/schemas.d.ts declare const TextPartSchema: z.ZodObject<{ kind: z.ZodLiteral<"text">; text: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>; declare const FilePartSchema: z.ZodObject<{ kind: z.ZodLiteral<"file">; file: z.ZodUnion; mimeType: z.ZodOptional; bytes: z.ZodString; }, z.core.$strict>, z.ZodObject<{ name: z.ZodOptional; mimeType: z.ZodOptional; uri: z.ZodString; }, z.core.$strict>]>; metadata: z.ZodOptional>; }, z.core.$strip>; declare const DataPartSchema: z.ZodObject<{ kind: z.ZodLiteral<"data">; data: z.ZodRecord; metadata: z.ZodOptional>; }, z.core.$strip>; declare const PartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"text">; text: z.ZodString; metadata: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"file">; file: z.ZodUnion; mimeType: z.ZodOptional; bytes: z.ZodString; }, z.core.$strict>, z.ZodObject<{ name: z.ZodOptional; mimeType: z.ZodOptional; uri: z.ZodString; }, z.core.$strict>]>; metadata: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"data">; data: z.ZodRecord; metadata: z.ZodOptional>; }, z.core.$strip>], "kind">; type PartSchemaType = z.infer; declare const StopWhenSchema: z.ZodObject<{ transferCountIs: z.ZodOptional; stepCountIs: z.ZodOptional; }, z.core.$strip>; declare const AgentStopWhenSchema: z.ZodObject<{ transferCountIs: z.ZodOptional; }, z.core.$strip>; declare const SubAgentStopWhenSchema: z.ZodObject<{ stepCountIs: z.ZodOptional; }, z.core.$strip>; type StopWhen = z.infer; type AgentStopWhen = z.infer; type SubAgentStopWhen = z.infer; declare const UserIdSchema: z.ZodString; declare const ModelSettingsSchema: z.ZodObject<{ model: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; type ModelSettings = z.infer; declare const ModelSchema: z.ZodObject<{ base: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; declare const ProjectModelSchema: z.ZodObject<{ base: z.ZodObject<{ model: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; declare const OutputContractSchema: z.ZodObject<{ allowText: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>; type OutputContract = z.infer; declare const FunctionToolConfigSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; dependencies: z.ZodOptional>; execute: z.ZodUnion, z.ZodString]>; }, z.core.$strip>; type FunctionToolConfig = Omit, 'execute'> & { execute: ((params: any) => Promise) | string; }; declare const SubAgentSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agents"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agents"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "sub_agents"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; conversationHistoryConfig: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_history_config"; tableName: "sub_agents"; dataType: "json"; columnType: "PgJsonb"; data: ConversationHistoryConfig; driverParam: unknown; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ConversationHistoryConfig; }>; models: drizzle_orm_pg_core354.PgColumn<{ name: "models"; tableName: "sub_agents"; dataType: "json"; columnType: "PgJsonb"; data: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; }>; stopWhen: drizzle_orm_pg_core354.PgColumn<{ name: "stop_when"; tableName: "sub_agents"; dataType: "json"; columnType: "PgJsonb"; data: { stepCountIs?: number | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { stepCountIs?: number | undefined; }; }>; outputContract: drizzle_orm_pg_core354.PgColumn<{ name: "output_contract"; tableName: "sub_agents"; dataType: "json"; columnType: "PgJsonb"; data: { [x: string]: unknown; allowText?: boolean | undefined; requireComponent?: string[] | undefined; requireArtifact?: string[] | undefined; requireTransfer?: boolean | undefined; onViolation?: "retry" | "reject" | "warn" | undefined; retryBudget?: number | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { [x: string]: unknown; allowText?: boolean | undefined; requireComponent?: string[] | undefined; requireArtifact?: string[] | undefined; requireTransfer?: boolean | undefined; onViolation?: "retry" | "reject" | "warn" | undefined; retryBudget?: number | undefined; }; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "sub_agents"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agents"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agents"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "sub_agents"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; conversationHistoryConfig: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_history_config"; tableName: "sub_agents"; dataType: "json"; columnType: "PgJsonb"; data: ConversationHistoryConfig; driverParam: unknown; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ConversationHistoryConfig; }>; models: drizzle_orm_pg_core354.PgColumn<{ name: "models"; tableName: "sub_agents"; dataType: "json"; columnType: "PgJsonb"; data: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; }>; stopWhen: drizzle_orm_pg_core354.PgColumn<{ name: "stop_when"; tableName: "sub_agents"; dataType: "json"; columnType: "PgJsonb"; data: { stepCountIs?: number | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { stepCountIs?: number | undefined; }; }>; outputContract: drizzle_orm_pg_core354.PgColumn<{ name: "output_contract"; tableName: "sub_agents"; dataType: "json"; columnType: "PgJsonb"; data: { [x: string]: unknown; allowText?: boolean | undefined; requireComponent?: string[] | undefined; requireArtifact?: string[] | undefined; requireTransfer?: boolean | undefined; onViolation?: "retry" | "reject" | "warn" | undefined; retryBudget?: number | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { [x: string]: unknown; allowText?: boolean | undefined; requireComponent?: string[] | undefined; requireArtifact?: string[] | undefined; requireTransfer?: boolean | undefined; onViolation?: "retry" | "reject" | "warn" | undefined; retryBudget?: number | undefined; }; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "sub_agents"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agents"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const SubAgentInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; conversationHistoryConfig: z.ZodOptional>>>; stopWhen: z.ZodOptional>>>; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>; prompt: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const SubAgentUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; conversationHistoryConfig: z.ZodOptional>>>>; stopWhen: z.ZodOptional>>>>; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional>>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>>; prompt: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const SubAgentApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; prompt: z.ZodNullable; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; }, z.core.$strip>; declare const SubAgentApiInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; description: z.ZodOptional>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodOptional>>>; prompt: z.ZodOptional>; conversationHistoryConfig: z.ZodOptional>>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$strip>; declare const SubAgentApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; name: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; description: z.ZodOptional>>>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>>; stopWhen: z.ZodOptional>>>>>; prompt: z.ZodOptional>>>; conversationHistoryConfig: z.ZodOptional>>>>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>>>; }, z.core.$strip>; declare const SubAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; sourceSubAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "source_sub_agent_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; targetSubAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "target_sub_agent_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; relationType: drizzle_orm_pg_core354.PgColumn<{ name: "relation_type"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; sourceSubAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "source_sub_agent_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; targetSubAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "target_sub_agent_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; relationType: drizzle_orm_pg_core354.PgColumn<{ name: "relation_type"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const SubAgentRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; relationType: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; agentId: z.ZodString; sourceSubAgentId: z.ZodString; targetSubAgentId: z.ZodOptional; externalSubAgentId: z.ZodOptional; teamSubAgentId: z.ZodOptional; }, { out: {}; in: {}; }>; declare const SubAgentRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; relationType: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; agentId: z.ZodOptional; sourceSubAgentId: z.ZodOptional; targetSubAgentId: z.ZodOptional>; externalSubAgentId: z.ZodOptional>; teamSubAgentId: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const SubAgentRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; sourceSubAgentId: z.ZodString; targetSubAgentId: z.ZodNullable; relationType: z.ZodNullable; }, z.core.$strip>; declare const SubAgentRelationApiInsertSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; sourceSubAgentId: z.ZodString; targetSubAgentId: z.ZodOptional; externalSubAgentId: z.ZodOptional; teamSubAgentId: z.ZodOptional; relationType: z.ZodEnum<{ transfer: "transfer"; delegate: "delegate"; }>; }, z.core.$strip>; declare const SubAgentRelationApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; sourceSubAgentId: z.ZodOptional>; targetSubAgentId: z.ZodOptional>>; externalSubAgentId: z.ZodOptional>>; teamSubAgentId: z.ZodOptional>>; relationType: z.ZodOptional>; }, z.core.$strip>; declare const SubAgentRelationQuerySchema: z.ZodObject<{ sourceSubAgentId: z.ZodOptional; targetSubAgentId: z.ZodOptional; externalSubAgentId: z.ZodOptional; teamSubAgentId: z.ZodOptional; }, z.core.$strip>; declare const ExternalSubAgentRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; targetSubAgentId: z.ZodOptional>; relationType: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; agentId: z.ZodString; sourceSubAgentId: z.ZodString; externalSubAgentId: z.ZodString; }, { out: {}; in: {}; }>; declare const ExternalSubAgentRelationApiInsertSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; agentId: z.ZodString; sourceSubAgentId: z.ZodString; targetSubAgentId: z.ZodOptional>; relationType: z.ZodOptional>; externalSubAgentId: z.ZodString; }, z.core.$strip>; declare const AgentSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "agent"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "agent"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; defaultSubAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_sub_agent_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; contextConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "context_config_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; models: drizzle_orm_pg_core354.PgColumn<{ name: "models"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; }>; statusUpdates: drizzle_orm_pg_core354.PgColumn<{ name: "status_updates"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }; }>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "agent"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; stopWhen: drizzle_orm_pg_core354.PgColumn<{ name: "stop_when"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { transferCountIs?: number | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { transferCountIs?: number | undefined; }; }>; executionMode: drizzle_orm_pg_core354.PgColumn<{ name: "execution_mode"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: "classic" | "durable"; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; $type: "classic" | "durable"; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "agent"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "agent"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "agent"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; defaultSubAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_sub_agent_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; contextConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "context_config_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; models: drizzle_orm_pg_core354.PgColumn<{ name: "models"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; }>; statusUpdates: drizzle_orm_pg_core354.PgColumn<{ name: "status_updates"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }; }>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "agent"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; stopWhen: drizzle_orm_pg_core354.PgColumn<{ name: "stop_when"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { transferCountIs?: number | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { transferCountIs?: number | undefined; }; }>; executionMode: drizzle_orm_pg_core354.PgColumn<{ name: "execution_mode"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: "classic" | "durable"; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; $type: "classic" | "durable"; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "agent"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const AgentInsertSchema: drizzle_zod19.BuildSchema<"insert", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "agent"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "agent"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; defaultSubAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_sub_agent_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; contextConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "context_config_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; models: drizzle_orm_pg_core354.PgColumn<{ name: "models"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; }>; statusUpdates: drizzle_orm_pg_core354.PgColumn<{ name: "status_updates"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }; }>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "agent"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; stopWhen: drizzle_orm_pg_core354.PgColumn<{ name: "stop_when"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { transferCountIs?: number | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { transferCountIs?: number | undefined; }; }>; executionMode: drizzle_orm_pg_core354.PgColumn<{ name: "execution_mode"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: "classic" | "durable"; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; $type: "classic" | "durable"; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "agent"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "agent"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; defaultSubAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_sub_agent_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; contextConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "context_config_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; models: drizzle_orm_pg_core354.PgColumn<{ name: "models"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }; }>; statusUpdates: drizzle_orm_pg_core354.PgColumn<{ name: "status_updates"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }; }>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "agent"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; stopWhen: drizzle_orm_pg_core354.PgColumn<{ name: "stop_when"; tableName: "agent"; dataType: "json"; columnType: "PgJsonb"; data: { transferCountIs?: number | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { transferCountIs?: number | undefined; }; }>; executionMode: drizzle_orm_pg_core354.PgColumn<{ name: "execution_mode"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: "classic" | "durable"; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; $type: "classic" | "durable"; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "agent"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "agent"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "projectId" | "tenantId" | "models" | "stopWhen" | "prompt" | "defaultSubAgentId" | "contextConfigId" | "statusUpdates" | "executionMode">, undefined>, undefined>; declare const AgentUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; defaultSubAgentId: z.ZodOptional>>; contextConfigId: z.ZodOptional>>; models: z.ZodOptional | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>>>; statusUpdates: z.ZodOptional; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, z.core.$ZodTypeInternals<{ enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }>>>>>; prompt: z.ZodOptional>>; stopWhen: z.ZodOptional>>>>; executionMode: z.ZodOptional>; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const AgentApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; prompt: z.ZodNullable; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; statusUpdates: z.ZodNullable; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, z.core.$ZodTypeInternals<{ enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }>>>; executionMode: z.ZodString; }, z.core.$strip>; declare const AgentApiInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; models: z.ZodOptional | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>>; stopWhen: z.ZodOptional>>>; prompt: z.ZodOptional>; defaultSubAgentId: z.ZodOptional>; contextConfigId: z.ZodOptional>; statusUpdates: z.ZodOptional; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, z.core.$ZodTypeInternals<{ enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }>>>>; executionMode: z.ZodOptional; }, z.core.$strip>; declare const AgentApiUpdateSchema: z.ZodObject<{ name: z.ZodOptional>; description: z.ZodOptional>>>; models: z.ZodOptional | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>>>>; stopWhen: z.ZodOptional>>>>>; prompt: z.ZodOptional>>>; defaultSubAgentId: z.ZodOptional>>>; contextConfigId: z.ZodOptional>>>; statusUpdates: z.ZodOptional; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, z.core.$ZodTypeInternals<{ enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }>>>>>>; executionMode: z.ZodOptional>>; }, z.core.$strip>; declare const TriggerAuthHeaderInputSchema: z.ZodObject<{ name: z.ZodString; value: z.ZodString; }, z.core.$strip>; declare const TriggerAuthHeaderUpdateSchema: z.ZodObject<{ name: z.ZodString; value: z.ZodOptional; keepExisting: z.ZodOptional; }, z.core.$strip>; declare const TriggerAuthenticationInputSchema: z.ZodObject<{ headers: z.ZodOptional>>; }, z.core.$strip>; declare const TriggerAuthenticationUpdateSchema: z.ZodObject<{ headers: z.ZodOptional; keepExisting: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; declare const TriggerAuthHeaderStoredSchema: z.ZodObject<{ name: z.ZodString; valueHash: z.ZodString; valuePrefix: z.ZodString; }, z.core.$strip>; declare const TriggerAuthenticationStoredSchema: z.ZodObject<{ headers: z.ZodOptional>>; }, z.core.$strip>; declare const TriggerAuthenticationSchema: z.ZodObject<{ headers: z.ZodOptional>>; }, z.core.$strip>; declare const TriggerOutputTransformSchema: z.ZodObject<{ jmespath: z.ZodOptional; objectTransformation: z.ZodOptional>; }, z.core.$strip>; /** * Configuration for extracting the webhook signature from an incoming request. * * The signature can be located in HTTP headers, query parameters, or the request body. * Supports prefix stripping and regex extraction for complex signature formats. * * @example * // GitHub: Extract from header with prefix * { source: 'header', key: 'X-Hub-Signature-256', prefix: 'sha256=' } * * @example * // Stripe: Extract from header using regex * { source: 'header', key: 'Stripe-Signature', regex: 'v1=([a-f0-9]+)' } * * @example * // Custom: Extract from body using JMESPath * { source: 'body', key: 'metadata.signature' } */ declare const SignatureSourceSchema: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; /** * Configuration for a single component that is part of the signed data. * * Webhook providers often sign multiple pieces of data together (e.g., timestamp + body). * Components are extracted from the request and joined in order before verification. * * @example * // GitHub: Sign only the body * { source: 'body', required: true } * * @example * // Slack: Sign literal version + timestamp header + body * { source: 'literal', value: 'v0', required: true } * { source: 'header', key: 'X-Slack-Request-Timestamp', required: true } * { source: 'body', required: true } * * @example * // Stripe: Extract timestamp from header using regex * { source: 'header', key: 'Stripe-Signature', regex: 't=([0-9]+)', required: true } */ declare const SignedComponentSchema: z.ZodObject<{ source: z.ZodEnum<{ body: "body"; header: "header"; literal: "literal"; }>; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>; /** * Configuration for how to join multiple signed components into a single string. * * Different webhook providers use different separators between components. * * @example * // GitHub/Zendesk: Direct concatenation (empty separator) * { strategy: 'concatenate', separator: '' } * * @example * // Slack: Colon separator * { strategy: 'concatenate', separator: ':' } * * @example * // Stripe: Dot separator * { strategy: 'concatenate', separator: '.' } */ declare const ComponentJoinSchema: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; /** * Advanced validation options for fine-grained control over signature verification. * * These options control edge case behavior and should generally use default values. * * @example * // Strict validation for security-critical webhooks * { * headerCaseSensitive: true, * allowEmptyBody: false, * normalizeUnicode: true * } */ declare const SignatureValidationOptionsSchema: z.ZodObject<{ headerCaseSensitive: z.ZodDefault; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>; /** * Complete configuration for webhook HMAC signature verification. * * Supports flexible, provider-agnostic signature verification for webhooks from * GitHub, Slack, Stripe, Zendesk, and other providers. * * SECURITY: Always use credential references to store signing secrets. Never hardcode * secrets in your configuration. Prefer sha256 or stronger algorithms. * * @example * // GitHub webhook verification * { * algorithm: 'sha256', * encoding: 'hex', * signature: { source: 'header', key: 'X-Hub-Signature-256', prefix: 'sha256=' }, * signedComponents: [{ source: 'body', required: true }], * componentJoin: { strategy: 'concatenate', separator: '' } * } * * @example * // Slack webhook verification with multi-component signing * { * algorithm: 'sha256', * encoding: 'hex', * signature: { source: 'header', key: 'X-Slack-Signature', prefix: 'v0=' }, * signedComponents: [ * { source: 'literal', value: 'v0', required: true }, * { source: 'header', key: 'X-Slack-Request-Timestamp', required: true }, * { source: 'body', required: true } * ], * componentJoin: { strategy: 'concatenate', separator: ':' } * } * * @example * // Stripe webhook verification with regex extraction * { * algorithm: 'sha256', * encoding: 'hex', * signature: { source: 'header', key: 'Stripe-Signature', regex: 'v1=([a-f0-9]+)' }, * signedComponents: [ * { source: 'header', key: 'Stripe-Signature', regex: 't=([0-9]+)', required: true }, * { source: 'body', required: true } * ], * componentJoin: { strategy: 'concatenate', separator: '.' } * } */ declare const SignatureVerificationConfigSchema: z.ZodObject<{ algorithm: z.ZodEnum<{ sha256: "sha256"; sha512: "sha512"; sha384: "sha384"; sha1: "sha1"; md5: "md5"; }>; encoding: z.ZodEnum<{ hex: "hex"; base64: "base64"; }>; signature: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; signedComponents: z.ZodArray; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>>; componentJoin: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; validation: z.ZodOptional; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>; /** * Complete configuration for webhook HMAC signature verification. * * Use this type when working with signature verification in TypeScript. * See SignatureVerificationConfigSchema for detailed examples and validation. */ type SignatureVerificationConfig = z.infer; /** * Configuration for extracting the webhook signature from an incoming request. * * See SignatureSourceSchema for detailed examples and validation. */ type SignatureSource = z.infer; /** * Configuration for a single component that is part of the signed data. * * See SignedComponentSchema for detailed examples and validation. */ type SignedComponent = z.infer; /** * Configuration for how to join multiple signed components into a single string. * * See ComponentJoinSchema for detailed examples and validation. */ type ComponentJoin = z.infer; /** * Advanced validation options for fine-grained control over signature verification. * * See SignatureValidationOptionsSchema for detailed examples and validation. */ type SignatureValidationOptions = z.infer; declare const TriggerInvocationStatusEnum: z.ZodEnum<{ pending: "pending"; success: "success"; failed: "failed"; }>; declare const maxWebhookDispatchDelayMs = 600000; declare const TriggerSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; enabled: z.ZodBoolean; inputSchema: z.ZodNullable>>; outputTransform: z.ZodNullable>>; messageTemplate: z.ZodNullable; authentication: z.ZodNullable>>; name: z.ZodString; description: z.ZodNullable; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional; encoding: z.ZodEnum<{ hex: "hex"; base64: "base64"; }>; signature: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; signedComponents: z.ZodArray; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>>; componentJoin: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; validation: z.ZodOptional; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const TriggerInsertSchema: drizzle_zod19.BuildSchema<"insert", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "triggers"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "triggers"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "triggers"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; inputSchema: drizzle_orm_pg_core354.PgColumn<{ name: "input_schema"; tableName: "triggers"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; outputTransform: drizzle_orm_pg_core354.PgColumn<{ name: "output_transform"; tableName: "triggers"; dataType: "json"; columnType: "PgJsonb"; data: { jmespath?: string; objectTransformation?: Record; } | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { jmespath?: string; objectTransformation?: Record; } | null; }>; messageTemplate: drizzle_orm_pg_core354.PgColumn<{ name: "message_template"; tableName: "triggers"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; authentication: drizzle_orm_pg_core354.PgColumn<{ name: "authentication"; tableName: "triggers"; dataType: "json"; columnType: "PgJsonb"; data: unknown; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: unknown; }>; signingSecretCredentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "signing_secret_credential_reference_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; signatureVerification: drizzle_orm_pg_core354.PgColumn<{ name: "signature_verification"; tableName: "triggers"; dataType: "json"; columnType: "PgJsonb"; data: { algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5"; encoding: "hex" | "base64"; signature: { source: "query" | "body" | "header"; key: string; prefix?: string | undefined; regex?: string | undefined; }; signedComponents: { source: "body" | "header" | "literal"; required: boolean; key?: string | undefined; value?: string | undefined; regex?: string | undefined; }[]; componentJoin: { strategy: "concatenate"; separator: string; }; validation?: { headerCaseSensitive: boolean; allowEmptyBody: boolean; normalizeUnicode: boolean; } | undefined; } | null; driverParam: unknown; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5"; encoding: "hex" | "base64"; signature: { source: "query" | "body" | "header"; key: string; prefix?: string | undefined; regex?: string | undefined; }; signedComponents: { source: "body" | "header" | "literal"; required: boolean; key?: string | undefined; value?: string | undefined; regex?: string | undefined; }[]; componentJoin: { strategy: "concatenate"; separator: string; }; validation?: { headerCaseSensitive: boolean; allowEmptyBody: boolean; normalizeUnicode: boolean; } | undefined; } | null; }>; runAsUserId: drizzle_orm_pg_core354.PgColumn<{ name: "run_as_user_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; dispatchDelayMs: drizzle_orm_pg_core354.PgColumn<{ name: "dispatch_delay_ms"; tableName: "triggers"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdBy: drizzle_orm_pg_core354.PgColumn<{ name: "created_by"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "triggers"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "triggers"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "triggers"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; inputSchema: drizzle_orm_pg_core354.PgColumn<{ name: "input_schema"; tableName: "triggers"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; outputTransform: drizzle_orm_pg_core354.PgColumn<{ name: "output_transform"; tableName: "triggers"; dataType: "json"; columnType: "PgJsonb"; data: { jmespath?: string; objectTransformation?: Record; } | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { jmespath?: string; objectTransformation?: Record; } | null; }>; messageTemplate: drizzle_orm_pg_core354.PgColumn<{ name: "message_template"; tableName: "triggers"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; authentication: drizzle_orm_pg_core354.PgColumn<{ name: "authentication"; tableName: "triggers"; dataType: "json"; columnType: "PgJsonb"; data: unknown; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: unknown; }>; signingSecretCredentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "signing_secret_credential_reference_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; signatureVerification: drizzle_orm_pg_core354.PgColumn<{ name: "signature_verification"; tableName: "triggers"; dataType: "json"; columnType: "PgJsonb"; data: { algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5"; encoding: "hex" | "base64"; signature: { source: "query" | "body" | "header"; key: string; prefix?: string | undefined; regex?: string | undefined; }; signedComponents: { source: "body" | "header" | "literal"; required: boolean; key?: string | undefined; value?: string | undefined; regex?: string | undefined; }[]; componentJoin: { strategy: "concatenate"; separator: string; }; validation?: { headerCaseSensitive: boolean; allowEmptyBody: boolean; normalizeUnicode: boolean; } | undefined; } | null; driverParam: unknown; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5"; encoding: "hex" | "base64"; signature: { source: "query" | "body" | "header"; key: string; prefix?: string | undefined; regex?: string | undefined; }; signedComponents: { source: "body" | "header" | "literal"; required: boolean; key?: string | undefined; value?: string | undefined; regex?: string | undefined; }[]; componentJoin: { strategy: "concatenate"; separator: string; }; validation?: { headerCaseSensitive: boolean; allowEmptyBody: boolean; normalizeUnicode: boolean; } | undefined; } | null; }>; runAsUserId: drizzle_orm_pg_core354.PgColumn<{ name: "run_as_user_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; dispatchDelayMs: drizzle_orm_pg_core354.PgColumn<{ name: "dispatch_delay_ms"; tableName: "triggers"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdBy: drizzle_orm_pg_core354.PgColumn<{ name: "created_by"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "triggers"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "triggers"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "enabled" | "projectId" | "tenantId" | "agentId" | "inputSchema" | "outputTransform" | "messageTemplate" | "authentication" | "signingSecretCredentialReferenceId" | "signatureVerification" | "runAsUserId" | "dispatchDelayMs" | "createdBy">, undefined>, undefined>; declare const runAsUserIdsSchema: z.ZodOptional>; declare const TriggerUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; inputSchema: z.ZodOptional>>>>; outputTransform: z.ZodOptional>>>>; messageTemplate: z.ZodOptional>>; signingSecretCredentialReferenceId: z.ZodOptional>>; signatureVerification: z.ZodOptional>>>>; runAsUserId: z.ZodOptional>>; dispatchDelayMs: z.ZodOptional>>; createdBy: z.ZodOptional>>; name: z.ZodOptional; description: z.ZodOptional>>; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; enabled: z.ZodOptional>; authentication: z.ZodOptional; keepExisting: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>>; }, { out: {}; in: {}; }>; declare const TriggerApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; inputSchema: z.ZodNullable>>; outputTransform: z.ZodNullable>>; messageTemplate: z.ZodNullable; authentication: z.ZodNullable>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional; encoding: z.ZodEnum<{ hex: "hex"; base64: "base64"; }>; signature: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; signedComponents: z.ZodArray; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>>; componentJoin: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; validation: z.ZodOptional; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; }, z.core.$strip>; declare const TriggerApiInsertBaseSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodString; description: z.ZodOptional>; enabled: z.ZodOptional; inputSchema: z.ZodOptional>>>; outputTransform: z.ZodOptional>>>; messageTemplate: z.ZodOptional>; authentication: z.ZodOptional>>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodOptional>; }, z.core.$strip>; declare const TriggerApiInsertSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodString; description: z.ZodOptional>; enabled: z.ZodOptional; inputSchema: z.ZodOptional>>>; outputTransform: z.ZodOptional>>>; messageTemplate: z.ZodOptional>; authentication: z.ZodOptional>>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodOptional>; }, z.core.$strip>; declare const TriggerApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; name: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; description: z.ZodOptional>>>; enabled: z.ZodOptional>>; inputSchema: z.ZodOptional>>>>>; outputTransform: z.ZodOptional>>>>>; messageTemplate: z.ZodOptional>>>; authentication: z.ZodOptional; keepExisting: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>>>; signingSecretCredentialReferenceId: z.ZodOptional>>>; signatureVerification: z.ZodOptional>>>>>; runAsUserId: z.ZodOptional>>>; dispatchDelayMs: z.ZodOptional>>>; createdBy: z.ZodOptional>>>; runAsUserIds: z.ZodOptional>; }, z.core.$strip>; declare const TriggerWithWebhookUrlSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; inputSchema: z.ZodNullable>>; outputTransform: z.ZodNullable>>; messageTemplate: z.ZodNullable; authentication: z.ZodNullable>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional; encoding: z.ZodEnum<{ hex: "hex"; base64: "base64"; }>; signature: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; signedComponents: z.ZodArray; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>>; componentJoin: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; validation: z.ZodOptional; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodArray; userCount: z.ZodNumber; webhookUrl: z.ZodString; }, z.core.$strip>; declare const TriggerInvocationSelectSchema: z.ZodObject<{ triggerId: z.ZodString; conversationId: z.ZodNullable; batchId: z.ZodNullable; status: z.ZodString; requestPayload: z.ZodType>; transformedPayload: z.ZodNullable>>; errorMessage: z.ZodNullable; createdAt: z.ZodString; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; runAsUserId: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const TriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", { triggerId: drizzle_orm_pg_core354.PgColumn<{ name: "trigger_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; runAsUserId: drizzle_orm_pg_core354.PgColumn<{ name: "run_as_user_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; batchId: drizzle_orm_pg_core354.PgColumn<{ name: "batch_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; ref: drizzle_orm_pg_core354.PgColumn<{ name: "ref"; tableName: "trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: { type: "commit" | "tag" | "branch"; name: string; hash: string; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "commit" | "tag" | "branch"; name: string; hash: string; }; }>; status: drizzle_orm_pg_core354.PgColumn<{ name: "status"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; }>; requestPayload: drizzle_orm_pg_core354.PgColumn<{ name: "request_payload"; tableName: "trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: unknown; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; transformedPayload: drizzle_orm_pg_core354.PgColumn<{ name: "transformed_payload"; tableName: "trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: unknown; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; errorMessage: drizzle_orm_pg_core354.PgColumn<{ name: "error_message"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; runAsUserId: drizzle_orm_pg_core354.PgColumn<{ name: "run_as_user_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; batchId: drizzle_orm_pg_core354.PgColumn<{ name: "batch_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; ref: drizzle_orm_pg_core354.PgColumn<{ name: "ref"; tableName: "trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: { type: "commit" | "tag" | "branch"; name: string; hash: string; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "commit" | "tag" | "branch"; name: string; hash: string; }; }>; status: drizzle_orm_pg_core354.PgColumn<{ name: "status"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; }>; requestPayload: drizzle_orm_pg_core354.PgColumn<{ name: "request_payload"; tableName: "trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: unknown; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; transformedPayload: drizzle_orm_pg_core354.PgColumn<{ name: "transformed_payload"; tableName: "trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: unknown; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; errorMessage: drizzle_orm_pg_core354.PgColumn<{ name: "error_message"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, "id" | "createdAt" | "ref" | "status" | "projectId" | "tenantId" | "agentId" | "runAsUserId" | "triggerId" | "conversationId" | "batchId" | "requestPayload" | "transformedPayload" | "errorMessage">, undefined>, undefined>; declare const SetTriggerUsersRequestSchema: z.ZodObject<{ userIds: z.ZodArray; }, z.core.$strip>; declare const AddTriggerUserRequestSchema: z.ZodObject<{ userId: z.ZodString; }, z.core.$strip>; declare const TriggerUsersResponseSchema: z.ZodObject<{ data: z.ZodArray; }, z.core.$strip>; declare const TriggerInvocationUpdateSchema: z.ZodObject<{ triggerId: z.ZodOptional; conversationId: z.ZodOptional>>; runAsUserId: z.ZodOptional>>; batchId: z.ZodOptional>>; ref: z.ZodOptional>>>>; status: z.ZodOptional>; requestPayload: z.ZodOptional>>; transformedPayload: z.ZodOptional>>>>; errorMessage: z.ZodOptional>>; createdAt: z.ZodOptional>; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const TriggerInvocationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; status: z.ZodString; runAsUserId: z.ZodOptional>; triggerId: z.ZodString; conversationId: z.ZodNullable; batchId: z.ZodNullable; requestPayload: z.ZodType>; transformedPayload: z.ZodNullable>>; errorMessage: z.ZodNullable; }, z.core.$strip>; declare const TriggerInvocationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; ref: z.ZodOptional>>>; status: z.ZodOptional; runAsUserId: z.ZodOptional>; triggerId: z.ZodString; conversationId: z.ZodOptional>; batchId: z.ZodOptional>; requestPayload: z.ZodType>; transformedPayload: z.ZodOptional>>>; errorMessage: z.ZodOptional>; id: z.ZodString; }, z.core.$strip>; declare const TriggerInvocationApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; ref: z.ZodOptional>>>>>; status: z.ZodOptional>>; runAsUserId: z.ZodOptional>>>; triggerId: z.ZodOptional>; conversationId: z.ZodOptional>>>; batchId: z.ZodOptional>>>; requestPayload: z.ZodOptional>>>; transformedPayload: z.ZodOptional>>>>>; errorMessage: z.ZodOptional>>>; }, z.core.$strip>; declare const WebhookDestinationEventTypeEnum: z.ZodEnum<{ "conversation.created": "conversation.created"; "conversation.updated": "conversation.updated"; "feedback.created": "feedback.created"; "event.created": "event.created"; "evaluation.failed": "evaluation.failed"; "conversation.execution.error": "conversation.execution.error"; "conversation.generation.error": "conversation.generation.error"; "conversation.tool.error": "conversation.tool.error"; "conversation.context.error": "conversation.context.error"; }>; declare const WebhookEventEnvelopeSchema: z.ZodObject<{ type: z.ZodString; timestamp: z.ZodString; tenantId: z.ZodString; projectId: z.ZodString; agentId: z.ZodString; agentName: z.ZodString; data: z.ZodRecord; }, z.core.$strip>; declare const WebhookMessageSchema: z.ZodObject<{ id: z.ZodString; role: z.ZodEnum<{ user: "user"; assistant: "assistant"; }>; content: z.ZodNullable; parts: z.ZodOptional>>; createdAt: z.ZodString; }, z.core.$strip>; declare const ConversationDetailSchema: z.ZodObject<{ id: z.ZodString; agentId: z.ZodNullable; title: z.ZodNullable; userProperties: z.ZodNullable>; properties: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; messages: z.ZodArray; content: z.ZodNullable; parts: z.ZodOptional>>; createdAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; declare const WebhookConversationDataSchema: z.ZodObject<{ conversation: z.ZodObject<{ id: z.ZodString; agentId: z.ZodNullable; title: z.ZodNullable; userProperties: z.ZodNullable>; properties: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; messages: z.ZodArray; content: z.ZodNullable; parts: z.ZodOptional>>; createdAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; declare const HttpHeaderNameSchema: z.ZodString; declare const HttpHeaderValueSchema: z.ZodString; declare const HttpHeadersRecordSchema: z.ZodRecord; declare const WebhookDestinationSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; enabled: z.ZodBoolean; url: z.ZodNullable; slackChannelId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; eventTypes: z.ZodArray>; headers: z.ZodNullable>; }, { out: {}; in: {}; }>; declare const WebhookDestinationInsertSchema: drizzle_zod19.BuildSchema<"insert", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "webhook_destinations"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; url: drizzle_orm_pg_core354.PgColumn<{ name: "url"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; slackChannelId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_channel_id"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; eventTypes: drizzle_orm_pg_core354.PgColumn<{ name: "event_types"; tableName: "webhook_destinations"; dataType: "json"; columnType: "PgJsonb"; data: string[]; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[]; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "webhook_destinations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "webhook_destinations"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; url: drizzle_orm_pg_core354.PgColumn<{ name: "url"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; slackChannelId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_channel_id"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; eventTypes: drizzle_orm_pg_core354.PgColumn<{ name: "event_types"; tableName: "webhook_destinations"; dataType: "json"; columnType: "PgJsonb"; data: string[]; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[]; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "webhook_destinations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "webhook_destinations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, "id" | "name" | "createdAt" | "updatedAt" | "description" | "headers" | "enabled" | "url" | "projectId" | "tenantId" | "slackChannelId" | "eventTypes">, undefined>, undefined>; declare const WebhookDestinationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; url: z.ZodOptional>>; slackChannelId: z.ZodOptional>>; eventTypes: z.ZodOptional>>; headers: z.ZodOptional>>>>; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; enabled: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const WebhookDestinationApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; headers: z.ZodNullable>; enabled: z.ZodBoolean; url: z.ZodNullable; slackChannelId: z.ZodNullable; eventTypes: z.ZodArray>; agentIds: z.ZodOptional>; evaluatorIds: z.ZodOptional>; }, z.core.$strip>; declare const WebhookDestinationApiInsertSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodString; description: z.ZodOptional>; headers: z.ZodOptional>>>; enabled: z.ZodOptional; url: z.ZodOptional>; slackChannelId: z.ZodOptional>; eventTypes: z.ZodType>; agentIds: z.ZodOptional>; evaluatorIds: z.ZodOptional>; }, z.core.$strip>; declare const WebhookDestinationApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; name: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; description: z.ZodOptional>>>; headers: z.ZodOptional>>>>>; enabled: z.ZodOptional>>; url: z.ZodOptional>>>; slackChannelId: z.ZodOptional>>>; eventTypes: z.ZodOptional>>>; agentIds: z.ZodOptional>; evaluatorIds: z.ZodOptional>; }, z.core.$strip>; declare const WebhookDestinationResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; headers: z.ZodNullable>; enabled: z.ZodBoolean; url: z.ZodNullable; slackChannelId: z.ZodNullable; eventTypes: z.ZodArray>; agentIds: z.ZodOptional>; evaluatorIds: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; declare const WebhookDestinationListResponse: z.ZodObject<{ data: z.ZodArray; headers: z.ZodNullable>; enabled: z.ZodBoolean; url: z.ZodNullable; slackChannelId: z.ZodNullable; eventTypes: z.ZodArray>; agentIds: z.ZodOptional>; evaluatorIds: z.ZodOptional>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const CronExpressionSchema: z.ZodString; declare const maxScheduledTriggerDispatchDelayMs = 600000; declare const SCHEDULED_TRIGGER_DEFAULT_MAX_RETRIES = 1; declare const SCHEDULED_TRIGGER_DEFAULT_RETRY_DELAY_SECONDS = 60; declare const SCHEDULED_TRIGGER_DEFAULT_TIMEOUT_SECONDS = 780; declare const SCHEDULED_TRIGGER_DEFAULT_DISPATCH_DELAY_MS = 120000; declare const ScheduledTriggerSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; agentId: z.ZodNullable; name: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; cronExpression: z.ZodNullable; cronTimezone: z.ZodNullable; runAt: z.ZodNullable; messageTemplate: z.ZodNullable; maxRetries: z.ZodInt; retryDelaySeconds: z.ZodInt; timeoutSeconds: z.ZodInt; nextRunAt: z.ZodNullable; ref: z.ZodString; dispatchDelayMs: z.ZodNullable; datasetRunConfigId: z.ZodNullable; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; payload: z.ZodOptional>>; runAsUserId: z.ZodNullable; createdBy: z.ZodNullable; }, { out: {}; in: {}; }>; declare const ScheduledTriggerInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; ref: z.ZodOptional; description: z.ZodOptional>; enabled: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; agentId: z.ZodOptional>; messageTemplate: z.ZodOptional>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; cronExpression: z.ZodOptional>; cronTimezone: z.ZodOptional>; runAt: z.ZodOptional>; maxRetries: z.ZodOptional; retryDelaySeconds: z.ZodOptional; timeoutSeconds: z.ZodOptional; datasetRunConfigId: z.ZodOptional>; payload: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const ScheduledTriggerUpdateSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; agentId: z.ZodOptional>>; messageTemplate: z.ZodOptional>>; runAsUserId: z.ZodOptional>>; dispatchDelayMs: z.ZodOptional>>; createdBy: z.ZodOptional>>; cronExpression: z.ZodOptional>>; runAt: z.ZodOptional>>; datasetRunConfigId: z.ZodOptional>>; payload: z.ZodOptional>>>; enabled: z.ZodOptional>; cronTimezone: z.ZodOptional>>; ref: z.ZodOptional>; maxRetries: z.ZodOptional>; retryDelaySeconds: z.ZodOptional>; timeoutSeconds: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const ScheduledTriggerApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; ref: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; payload: z.ZodOptional>>; messageTemplate: z.ZodNullable; runAsUserId: z.ZodNullable; dispatchDelayMs: z.ZodNullable; createdBy: z.ZodNullable; cronExpression: z.ZodNullable; cronTimezone: z.ZodNullable; runAt: z.ZodNullable; maxRetries: z.ZodInt; retryDelaySeconds: z.ZodInt; timeoutSeconds: z.ZodInt; nextRunAt: z.ZodNullable; datasetRunConfigId: z.ZodNullable; }, z.core.$strip>; declare const ScheduledTriggerApiInsertBaseSchema: z.ZodObject<{ name: z.ZodString; ref: z.ZodOptional; description: z.ZodOptional>; enabled: z.ZodOptional; payload: z.ZodOptional>>; messageTemplate: z.ZodOptional>; runAsUserId: z.ZodOptional>; createdBy: z.ZodOptional>; cronExpression: z.ZodOptional>; cronTimezone: z.ZodOptional>; runAt: z.ZodOptional>; maxRetries: z.ZodOptional; retryDelaySeconds: z.ZodOptional; timeoutSeconds: z.ZodOptional; datasetRunConfigId: z.ZodOptional>; id: z.ZodOptional; runAsUserIds: z.ZodOptional>; dispatchDelayMs: z.ZodOptional; }, z.core.$strip>; declare const ScheduledTriggerApiInsertSchema: z.ZodObject<{ name: z.ZodString; ref: z.ZodOptional; description: z.ZodOptional>; enabled: z.ZodOptional; payload: z.ZodOptional>>; messageTemplate: z.ZodOptional>; runAsUserId: z.ZodOptional>; createdBy: z.ZodOptional>; cronExpression: z.ZodOptional>; cronTimezone: z.ZodOptional>; runAt: z.ZodOptional>; maxRetries: z.ZodOptional; retryDelaySeconds: z.ZodOptional; timeoutSeconds: z.ZodOptional; datasetRunConfigId: z.ZodOptional>; id: z.ZodOptional; runAsUserIds: z.ZodOptional>; dispatchDelayMs: z.ZodOptional; }, z.core.$strip>; declare const ScheduledTriggerApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; name: z.ZodOptional>; ref: z.ZodOptional>>; description: z.ZodOptional>>>; enabled: z.ZodOptional>>; payload: z.ZodOptional>>>>; messageTemplate: z.ZodOptional>>>; runAsUserId: z.ZodOptional>>>; createdBy: z.ZodOptional>>>; cronExpression: z.ZodOptional>>>; cronTimezone: z.ZodOptional>>>; runAt: z.ZodOptional>>>; maxRetries: z.ZodOptional>>; retryDelaySeconds: z.ZodOptional>>; timeoutSeconds: z.ZodOptional>>; datasetRunConfigId: z.ZodOptional>>>; runAsUserIds: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; }, z.core.$strip>; declare const SetScheduledTriggerUsersRequestSchema: z.ZodObject<{ userIds: z.ZodArray; }, z.core.$strip>; declare const AddScheduledTriggerUserRequestSchema: z.ZodObject<{ userId: z.ZodString; }, z.core.$strip>; declare const ScheduledTriggerUsersResponseSchema: z.ZodObject<{ data: z.ZodArray; }, z.core.$strip>; declare const ScheduledTriggerInvocationStatusEnum: z.ZodEnum<{ pending: "pending"; failed: "failed"; running: "running"; completed: "completed"; cancelled: "cancelled"; }>; declare const ScheduledTriggerInvocationSelectSchema: z.ZodObject<{ scheduledTriggerId: z.ZodString; scheduledFor: z.ZodString; startedAt: z.ZodNullable; completedAt: z.ZodNullable; conversationIds: z.ZodNullable>>; attemptNumber: z.ZodInt; idempotencyKey: z.ZodString; runAsUserId: z.ZodNullable; createdAt: z.ZodString; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; resolvedPayload: z.ZodOptional>>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; running: "running"; completed: "completed"; cancelled: "cancelled"; }>; }, { out: {}; in: {}; }>; declare const ScheduledTriggerInvocationInsertSchema: drizzle_zod19.BuildSchema<"insert", { scheduledTriggerId: drizzle_orm_pg_core354.PgColumn<{ name: "scheduled_trigger_id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; ref: drizzle_orm_pg_core354.PgColumn<{ name: "ref"; tableName: "scheduled_trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: { type: "commit" | "tag" | "branch"; name: string; hash: string; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "commit" | "tag" | "branch"; name: string; hash: string; }; }>; status: drizzle_orm_pg_core354.PgColumn<{ name: "status"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: "pending" | "failed" | "running" | "completed" | "cancelled"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; $type: "pending" | "failed" | "running" | "completed" | "cancelled"; }>; scheduledFor: drizzle_orm_pg_core354.PgColumn<{ name: "scheduled_for"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; startedAt: drizzle_orm_pg_core354.PgColumn<{ name: "started_at"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; completedAt: drizzle_orm_pg_core354.PgColumn<{ name: "completed_at"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; resolvedPayload: drizzle_orm_pg_core354.PgColumn<{ name: "resolved_payload"; tableName: "scheduled_trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; conversationIds: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_ids"; tableName: "scheduled_trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: string[]; driverParam: unknown; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[]; }>; attemptNumber: drizzle_orm_pg_core354.PgColumn<{ name: "attempt_number"; tableName: "scheduled_trigger_invocations"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; idempotencyKey: drizzle_orm_pg_core354.PgColumn<{ name: "idempotency_key"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; runAsUserId: drizzle_orm_pg_core354.PgColumn<{ name: "run_as_user_id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine; ref: drizzle_orm_pg_core354.PgColumn<{ name: "ref"; tableName: "scheduled_trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: { type: "commit" | "tag" | "branch"; name: string; hash: string; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "commit" | "tag" | "branch"; name: string; hash: string; }; }>; status: drizzle_orm_pg_core354.PgColumn<{ name: "status"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: "pending" | "failed" | "running" | "completed" | "cancelled"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; $type: "pending" | "failed" | "running" | "completed" | "cancelled"; }>; scheduledFor: drizzle_orm_pg_core354.PgColumn<{ name: "scheduled_for"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; startedAt: drizzle_orm_pg_core354.PgColumn<{ name: "started_at"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; completedAt: drizzle_orm_pg_core354.PgColumn<{ name: "completed_at"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; resolvedPayload: drizzle_orm_pg_core354.PgColumn<{ name: "resolved_payload"; tableName: "scheduled_trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; conversationIds: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_ids"; tableName: "scheduled_trigger_invocations"; dataType: "json"; columnType: "PgJsonb"; data: string[]; driverParam: unknown; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[]; }>; attemptNumber: drizzle_orm_pg_core354.PgColumn<{ name: "attempt_number"; tableName: "scheduled_trigger_invocations"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; idempotencyKey: drizzle_orm_pg_core354.PgColumn<{ name: "idempotency_key"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; runAsUserId: drizzle_orm_pg_core354.PgColumn<{ name: "run_as_user_id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "scheduled_trigger_invocations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, "id" | "createdAt" | "ref" | "status" | "projectId" | "tenantId" | "agentId" | "runAsUserId" | "scheduledTriggerId" | "scheduledFor" | "startedAt" | "completedAt" | "resolvedPayload" | "conversationIds" | "attemptNumber" | "idempotencyKey">, undefined>, undefined>; declare const ScheduledTriggerInvocationUpdateSchema: z.ZodObject<{ scheduledTriggerId: z.ZodOptional; ref: z.ZodOptional>>>>; status: z.ZodOptional; scheduledFor: z.ZodOptional; startedAt: z.ZodOptional>>; completedAt: z.ZodOptional>>; resolvedPayload: z.ZodOptional>>>>; conversationIds: z.ZodOptional>>>>; attemptNumber: z.ZodOptional>; idempotencyKey: z.ZodOptional; runAsUserId: z.ZodOptional>>; createdAt: z.ZodOptional>; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const ScheduledTriggerInvocationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; running: "running"; completed: "completed"; cancelled: "cancelled"; }>; runAsUserId: z.ZodNullable; scheduledTriggerId: z.ZodString; scheduledFor: z.ZodString; startedAt: z.ZodNullable; completedAt: z.ZodNullable; resolvedPayload: z.ZodOptional>>; conversationIds: z.ZodNullable>>; attemptNumber: z.ZodInt; idempotencyKey: z.ZodString; }, z.core.$strip>; declare const ScheduledTriggerInvocationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; ref: z.ZodOptional>>>; status: z.ZodString; runAsUserId: z.ZodOptional>; scheduledTriggerId: z.ZodString; scheduledFor: z.ZodString; startedAt: z.ZodOptional>; completedAt: z.ZodOptional>; resolvedPayload: z.ZodOptional>>>; conversationIds: z.ZodOptional>>>; attemptNumber: z.ZodOptional; idempotencyKey: z.ZodString; id: z.ZodString; }, z.core.$strip>; declare const ScheduledTriggerInvocationApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; ref: z.ZodOptional>>>>>; status: z.ZodOptional>; runAsUserId: z.ZodOptional>>>; scheduledTriggerId: z.ZodOptional>; scheduledFor: z.ZodOptional>; startedAt: z.ZodOptional>>>; completedAt: z.ZodOptional>>>; resolvedPayload: z.ZodOptional>>>>>; conversationIds: z.ZodOptional>>>>>; attemptNumber: z.ZodOptional>>; idempotencyKey: z.ZodOptional>; }, z.core.$strip>; type ScheduledTriggerInvocationStatus = z.infer; declare const SchedulerStateSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "scheduler_state"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "scheduler_state"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "scheduler_state"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; currentRunId: drizzle_orm_pg_core354.PgColumn<{ name: "current_run_id"; tableName: "scheduler_state"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "scheduler_state"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "scheduler_state"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "scheduler_state"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; currentRunId: drizzle_orm_pg_core354.PgColumn<{ name: "current_run_id"; tableName: "scheduler_state"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const TaskSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; contextId: z.ZodString; status: z.ZodString; metadata: z.ZodNullable>>; subAgentId: z.ZodString; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; }, { out: {}; in: {}; }>; declare const TaskInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; contextId: z.ZodString; status: z.ZodString; metadata: z.ZodOptional>>>; subAgentId: z.ZodString; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; conversationId: z.ZodOptional; ref: z.ZodObject<{ type: z.ZodEnum<{ commit: "commit"; tag: "tag"; branch: "branch"; }>; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>; }, { out: {}; in: {}; }>; declare const TaskUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; contextId: z.ZodOptional; status: z.ZodOptional; metadata: z.ZodOptional>>>>; subAgentId: z.ZodOptional; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; conversationId: z.ZodOptional>; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>; }, { out: {}; in: {}; }>; declare const TaskApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; metadata: z.ZodNullable>>; status: z.ZodString; agentId: z.ZodString; subAgentId: z.ZodString; contextId: z.ZodString; }, z.core.$strip>; declare const TaskApiInsertSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; ref: z.ZodObject<{ type: z.ZodEnum<{ commit: "commit"; tag: "tag"; branch: "branch"; }>; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>; metadata: z.ZodOptional>>>; status: z.ZodString; agentId: z.ZodString; subAgentId: z.ZodString; conversationId: z.ZodOptional; contextId: z.ZodString; }, z.core.$strip>; declare const TaskApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; metadata: z.ZodOptional>>>>>; status: z.ZodOptional>; agentId: z.ZodOptional>; subAgentId: z.ZodOptional>; conversationId: z.ZodOptional>>; contextId: z.ZodOptional>; }, z.core.$strip>; declare const TaskRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "task_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "task_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; parentTaskId: drizzle_orm_pg_core354.PgColumn<{ name: "parent_task_id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; childTaskId: drizzle_orm_pg_core354.PgColumn<{ name: "child_task_id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; relationType: drizzle_orm_pg_core354.PgColumn<{ name: "relation_type"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "task_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "task_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; parentTaskId: drizzle_orm_pg_core354.PgColumn<{ name: "parent_task_id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; childTaskId: drizzle_orm_pg_core354.PgColumn<{ name: "child_task_id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; relationType: drizzle_orm_pg_core354.PgColumn<{ name: "relation_type"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "task_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const TaskRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; relationType: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; parentTaskId: z.ZodString; childTaskId: z.ZodString; }, { out: {}; in: {}; }>; declare const TaskRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; relationType: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; parentTaskId: z.ZodOptional; childTaskId: z.ZodOptional; }, { out: {}; in: {}; }>; declare const TaskRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; relationType: z.ZodNullable; parentTaskId: z.ZodString; childTaskId: z.ZodString; }, z.core.$strip>; declare const TaskRelationApiInsertSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; relationType: z.ZodOptional>; parentTaskId: z.ZodString; childTaskId: z.ZodString; }, z.core.$strip>; declare const TaskRelationApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; relationType: z.ZodOptional>>>; parentTaskId: z.ZodOptional>; childTaskId: z.ZodOptional>; }, z.core.$strip>; declare const McpTransportConfigSchema: z.ZodObject<{ type: z.ZodEnum<{ readonly streamableHttp: "streamable_http"; readonly sse: "sse"; }>; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>; declare const ToolStatusSchema: z.ZodEnum<{ unknown: "unknown"; healthy: "healthy"; unhealthy: "unhealthy"; needs_auth: "needs_auth"; unavailable: "unavailable"; }>; declare const McpToolDefinitionSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; inputSchema: z.ZodOptional>; }, z.core.$strip>; declare const ToolSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const ToolInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; headers: z.ZodOptional>>; projectId: z.ZodString; tenantId: z.ZodString; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; }, { out: {}; in: {}; }>; declare const ConversationSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; userId: z.ZodNullable; agentId: z.ZodNullable; activeSubAgentId: z.ZodString; title: z.ZodNullable; lastContextResolution: z.ZodNullable; metadata: z.ZodNullable>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; userProperties: z.ZodOptional>>; properties: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const ConversationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; userId: z.ZodOptional>; agentId: z.ZodOptional>; activeSubAgentId: z.ZodString; title: z.ZodOptional>; lastContextResolution: z.ZodOptional>; metadata: z.ZodOptional>>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; contextConfigId: z.ZodOptional; ref: z.ZodObject<{ type: z.ZodEnum<{ commit: "commit"; tag: "tag"; branch: "branch"; }>; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>; userProperties: z.ZodOptional>>; properties: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const ConversationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; userId: z.ZodOptional>>; agentId: z.ZodOptional>>; activeSubAgentId: z.ZodOptional; title: z.ZodOptional>>; lastContextResolution: z.ZodOptional>>; metadata: z.ZodOptional>>>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; contextConfigId: z.ZodOptional>; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>; userProperties: z.ZodOptional>>>; properties: z.ZodOptional>>>; }, { out: {}; in: {}; }>; declare const ConversationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; userId: z.ZodNullable; metadata: z.ZodNullable>>; properties: z.ZodOptional>>; title: z.ZodNullable; agentId: z.ZodNullable; userProperties: z.ZodOptional>>; activeSubAgentId: z.ZodString; lastContextResolution: z.ZodNullable; }, z.core.$strip>; declare const ConversationApiInsertSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; ref: z.ZodObject<{ type: z.ZodEnum<{ commit: "commit"; tag: "tag"; branch: "branch"; }>; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>; userId: z.ZodOptional>; metadata: z.ZodOptional>>>; properties: z.ZodOptional>>; title: z.ZodOptional>; agentId: z.ZodOptional>; contextConfigId: z.ZodOptional; userProperties: z.ZodOptional>>; activeSubAgentId: z.ZodString; lastContextResolution: z.ZodOptional>; }, z.core.$strip>; declare const ConversationApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; userId: z.ZodOptional>>>; metadata: z.ZodOptional>>>>>; properties: z.ZodOptional>>>>; title: z.ZodOptional>>>; agentId: z.ZodOptional>>>; contextConfigId: z.ZodOptional>>; userProperties: z.ZodOptional>>>>; activeSubAgentId: z.ZodOptional>; lastContextResolution: z.ZodOptional>>>; }, z.core.$strip>; declare const MessageSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; conversationId: z.ZodString; role: z.ZodString; fromSubAgentId: z.ZodNullable; toSubAgentId: z.ZodNullable; fromExternalAgentId: z.ZodNullable; toExternalAgentId: z.ZodNullable; fromTeamAgentId: z.ZodNullable; toTeamAgentId: z.ZodNullable; content: z.ZodType>; visibility: z.ZodString; messageType: z.ZodString; taskId: z.ZodNullable; parentMessageId: z.ZodNullable; a2aTaskId: z.ZodNullable; a2aSessionId: z.ZodNullable; metadata: z.ZodNullable>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; userProperties: z.ZodOptional>>; properties: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const MessageInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; role: z.ZodString; fromSubAgentId: z.ZodOptional>; toSubAgentId: z.ZodOptional>; fromExternalAgentId: z.ZodOptional>; toExternalAgentId: z.ZodOptional>; fromTeamAgentId: z.ZodOptional>; toTeamAgentId: z.ZodOptional>; content: z.ZodType>; visibility: z.ZodOptional; messageType: z.ZodOptional; parentMessageId: z.ZodOptional>; a2aTaskId: z.ZodOptional>; a2aSessionId: z.ZodOptional>; metadata: z.ZodOptional>>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; conversationId: z.ZodString; taskId: z.ZodOptional; userProperties: z.ZodOptional>>; properties: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const MessageUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; role: z.ZodOptional; fromSubAgentId: z.ZodOptional>>; toSubAgentId: z.ZodOptional>>; fromExternalAgentId: z.ZodOptional>>; toExternalAgentId: z.ZodOptional>>; fromTeamAgentId: z.ZodOptional>>; toTeamAgentId: z.ZodOptional>>; content: z.ZodOptional>>; visibility: z.ZodOptional>; messageType: z.ZodOptional>; parentMessageId: z.ZodOptional>>; a2aTaskId: z.ZodOptional>>; a2aSessionId: z.ZodOptional>>; metadata: z.ZodOptional>>>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; conversationId: z.ZodOptional; taskId: z.ZodOptional>; userProperties: z.ZodOptional>>>; properties: z.ZodOptional>>>; }, { out: {}; in: {}; }>; declare const MessageApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodNullable>>; role: z.ZodString; content: z.ZodType>; properties: z.ZodOptional>>; fromSubAgentId: z.ZodNullable; toSubAgentId: z.ZodNullable; fromExternalAgentId: z.ZodNullable; toExternalAgentId: z.ZodNullable; taskId: z.ZodNullable; a2aTaskId: z.ZodNullable; conversationId: z.ZodString; userProperties: z.ZodOptional>>; fromTeamAgentId: z.ZodNullable; toTeamAgentId: z.ZodNullable; visibility: z.ZodString; messageType: z.ZodString; parentMessageId: z.ZodNullable; a2aSessionId: z.ZodNullable; }, z.core.$strip>; declare const MessageApiInsertSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; metadata: z.ZodOptional>>>; role: z.ZodString; content: z.ZodType>; properties: z.ZodOptional>>; fromSubAgentId: z.ZodOptional>; toSubAgentId: z.ZodOptional>; fromExternalAgentId: z.ZodOptional>; toExternalAgentId: z.ZodOptional>; taskId: z.ZodOptional; a2aTaskId: z.ZodOptional>; conversationId: z.ZodString; userProperties: z.ZodOptional>>; fromTeamAgentId: z.ZodOptional>; toTeamAgentId: z.ZodOptional>; visibility: z.ZodOptional; messageType: z.ZodOptional; parentMessageId: z.ZodOptional>; a2aSessionId: z.ZodOptional>; }, z.core.$strip>; declare const MessageApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; metadata: z.ZodOptional>>>>>; role: z.ZodOptional>; content: z.ZodOptional>>>; properties: z.ZodOptional>>>>; fromSubAgentId: z.ZodOptional>>>; toSubAgentId: z.ZodOptional>>>; fromExternalAgentId: z.ZodOptional>>>; toExternalAgentId: z.ZodOptional>>>; taskId: z.ZodOptional>>; a2aTaskId: z.ZodOptional>>>; conversationId: z.ZodOptional>; userProperties: z.ZodOptional>>>>; fromTeamAgentId: z.ZodOptional>>>; toTeamAgentId: z.ZodOptional>>>; visibility: z.ZodOptional>>; messageType: z.ZodOptional>>; parentMessageId: z.ZodOptional>>>; a2aSessionId: z.ZodOptional>>>; }, z.core.$strip>; declare const FeedbackSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "feedback"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "feedback"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; messageId: drizzle_orm_pg_core354.PgColumn<{ name: "message_id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: "positive" | "negative"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; $type: "positive" | "negative"; }>; details: drizzle_orm_pg_core354.PgColumn<{ name: "details"; tableName: "feedback"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "feedback"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "feedback"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; messageId: drizzle_orm_pg_core354.PgColumn<{ name: "message_id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: "positive" | "negative"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; $type: "positive" | "negative"; }>; details: drizzle_orm_pg_core354.PgColumn<{ name: "details"; tableName: "feedback"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "feedback"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const FeedbackInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; conversationId: z.ZodString; messageId: z.ZodOptional; type: z.ZodEnum<{ positive: "positive"; negative: "negative"; }>; details: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const FeedbackUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; conversationId: z.ZodOptional; messageId: z.ZodOptional>; type: z.ZodOptional>; details: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const FeedbackApiSelectSchema: z.ZodObject<{ type: z.ZodString; id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; details: z.ZodNullable; conversationId: z.ZodString; messageId: z.ZodNullable; }, z.core.$strip>; declare const FeedbackApiInsertSchema: z.ZodObject<{ type: z.ZodEnum<{ positive: "positive"; negative: "negative"; }>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; details: z.ZodOptional>; conversationId: z.ZodString; messageId: z.ZodOptional; id: z.ZodOptional; }, z.core.$strip>; declare const FeedbackApiUpdateSchema: z.ZodObject<{ type: z.ZodOptional>>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; details: z.ZodOptional>>>; }, z.core.$strip>; declare const WebhookFeedbackDataSchema: z.ZodObject<{ feedback: z.ZodObject<{ type: z.ZodString; id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; details: z.ZodNullable; conversationId: z.ZodString; messageId: z.ZodNullable; }, z.core.$strip>; conversation: z.ZodObject<{ id: z.ZodString; agentId: z.ZodNullable; title: z.ZodNullable; userProperties: z.ZodNullable>; properties: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; messages: z.ZodArray; content: z.ZodNullable; parts: z.ZodOptional>>; createdAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; declare const EventSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "events"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "events"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; messageId: drizzle_orm_pg_core354.PgColumn<{ name: "message_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; properties: drizzle_orm_pg_core354.PgColumn<{ name: "properties"; tableName: "events"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; userProperties: drizzle_orm_pg_core354.PgColumn<{ name: "user_properties"; tableName: "events"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; metadata: drizzle_orm_pg_core354.PgColumn<{ name: "metadata"; tableName: "events"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; serverMetadata: drizzle_orm_pg_core354.PgColumn<{ name: "server_metadata"; tableName: "events"; dataType: "json"; columnType: "PgJsonb"; data: { [k: string]: unknown; authMethod?: string; } | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { [k: string]: unknown; authMethod?: string; } | null; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "events"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "events"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; messageId: drizzle_orm_pg_core354.PgColumn<{ name: "message_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; properties: drizzle_orm_pg_core354.PgColumn<{ name: "properties"; tableName: "events"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; userProperties: drizzle_orm_pg_core354.PgColumn<{ name: "user_properties"; tableName: "events"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; metadata: drizzle_orm_pg_core354.PgColumn<{ name: "metadata"; tableName: "events"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; serverMetadata: drizzle_orm_pg_core354.PgColumn<{ name: "server_metadata"; tableName: "events"; dataType: "json"; columnType: "PgJsonb"; data: { [k: string]: unknown; authMethod?: string; } | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { [k: string]: unknown; authMethod?: string; } | null; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "events"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const EventInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; type: z.ZodString; agentId: z.ZodOptional>; conversationId: z.ZodOptional>; messageId: z.ZodOptional>; properties: z.ZodOptional>>; userProperties: z.ZodOptional>>; metadata: z.ZodOptional>>; serverMetadata: z.ZodOptional; }, z.core.$catchall>>>; }, { out: {}; in: {}; }>; declare const EventApiSelectSchema: z.ZodObject<{ type: z.ZodString; id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodNullable>>; properties: z.ZodNullable>>; agentId: z.ZodNullable; conversationId: z.ZodNullable; userProperties: z.ZodNullable>>; messageId: z.ZodNullable; serverMetadata: z.ZodNullable>>; }, z.core.$strip>; declare const EventApiInsertSchema: z.ZodObject<{ type: z.ZodString; agentId: z.ZodOptional>; conversationId: z.ZodOptional>; messageId: z.ZodOptional>; id: z.ZodOptional; properties: z.ZodOptional>; userProperties: z.ZodOptional>; metadata: z.ZodOptional>; }, z.core.$strip>; declare const WebhookEventCreatedDataSchema: z.ZodObject<{ event: z.ZodObject<{ type: z.ZodString; id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodNullable>>; properties: z.ZodNullable>>; agentId: z.ZodNullable; conversationId: z.ZodNullable; userProperties: z.ZodNullable>>; messageId: z.ZodNullable; serverMetadata: z.ZodNullable>>; }, z.core.$strip>; }, z.core.$strip>; declare const ContextCacheSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; conversationId: z.ZodString; contextConfigId: z.ZodString; contextVariableKey: z.ZodString; value: z.ZodType>; requestHash: z.ZodNullable; fetchedAt: z.ZodString; fetchSource: z.ZodNullable; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; }, { out: {}; in: {}; }>; declare const ContextCacheInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; conversationId: z.ZodString; contextConfigId: z.ZodString; contextVariableKey: z.ZodString; value: z.ZodType>; requestHash: z.ZodOptional>; fetchedAt: z.ZodOptional; fetchSource: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; ref: z.ZodObject<{ type: z.ZodEnum<{ commit: "commit"; tag: "tag"; branch: "branch"; }>; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>; }, { out: {}; in: {}; }>; declare const ContextCacheUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; conversationId: z.ZodOptional; contextConfigId: z.ZodOptional; contextVariableKey: z.ZodOptional; value: z.ZodOptional>>; requestHash: z.ZodOptional>>; fetchedAt: z.ZodOptional>; fetchSource: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>; }, { out: {}; in: {}; }>; declare const ContextCacheApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; value: z.ZodType>; contextConfigId: z.ZodString; conversationId: z.ZodString; contextVariableKey: z.ZodString; requestHash: z.ZodNullable; fetchedAt: z.ZodString; fetchSource: z.ZodNullable; }, z.core.$strip>; declare const ContextCacheApiInsertSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; ref: z.ZodObject<{ type: z.ZodEnum<{ commit: "commit"; tag: "tag"; branch: "branch"; }>; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>; value: z.ZodType>; contextConfigId: z.ZodString; conversationId: z.ZodString; contextVariableKey: z.ZodString; requestHash: z.ZodOptional>; fetchedAt: z.ZodOptional; fetchSource: z.ZodOptional>; }, z.core.$strip>; declare const ContextCacheApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; value: z.ZodOptional>>>; contextConfigId: z.ZodOptional>; conversationId: z.ZodOptional>; contextVariableKey: z.ZodOptional>; requestHash: z.ZodOptional>>>; fetchedAt: z.ZodOptional>>; fetchSource: z.ZodOptional>>>; }, z.core.$strip>; declare const DatasetRunSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; datasetId: z.ZodString; datasetRunConfigId: z.ZodNullable; evaluationJobConfigId: z.ZodNullable; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; }, { out: {}; in: {}; }>; declare const DatasetRunInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; datasetId: z.ZodString; datasetRunConfigId: z.ZodOptional>; evaluationJobConfigId: z.ZodOptional>; ref: z.ZodOptional>>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const DatasetRunUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; datasetId: z.ZodOptional; datasetRunConfigId: z.ZodOptional>>; evaluationJobConfigId: z.ZodOptional>>; ref: z.ZodOptional>>>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const DatasetRunApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; datasetRunConfigId: z.ZodNullable; datasetId: z.ZodString; evaluationJobConfigId: z.ZodNullable; }, z.core.$strip>; declare const DatasetRunApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; ref: z.ZodOptional>>>; datasetRunConfigId: z.ZodOptional>; datasetId: z.ZodString; evaluationJobConfigId: z.ZodOptional>; }, z.core.$strip>; declare const DatasetRunApiUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; ref: z.ZodOptional>>>>>; datasetRunConfigId: z.ZodOptional>>>; datasetId: z.ZodOptional>; evaluationJobConfigId: z.ZodOptional>>>; }, z.core.$strip>; declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetRunId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_run_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetItemId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_item_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetRunId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_run_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetItemId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_item_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_run_conversation_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const DatasetRunConversationRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; datasetRunId: z.ZodString; conversationId: z.ZodString; datasetItemId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const DatasetRunConversationRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; datasetRunId: z.ZodOptional; conversationId: z.ZodOptional; datasetItemId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const DatasetRunConversationRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; conversationId: z.ZodString; datasetRunId: z.ZodString; datasetItemId: z.ZodString; }, z.core.$strip>; declare const DatasetRunConversationRelationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; conversationId: z.ZodString; datasetRunId: z.ZodString; datasetItemId: z.ZodString; }, z.core.$strip>; declare const DatasetRunConversationRelationApiUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; conversationId: z.ZodOptional>; datasetRunId: z.ZodOptional>; datasetItemId: z.ZodOptional>; }, z.core.$strip>; declare const EvaluationResultSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluationRunId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_run_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; output: drizzle_orm_pg_core354.PgColumn<{ name: "output"; tableName: "evaluation_result"; dataType: "json"; columnType: "PgJsonb"; data: MessageContent; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: MessageContent; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; conversationId: drizzle_orm_pg_core354.PgColumn<{ name: "conversation_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluationRunId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_run_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; output: drizzle_orm_pg_core354.PgColumn<{ name: "output"; tableName: "evaluation_result"; dataType: "json"; columnType: "PgJsonb"; data: MessageContent; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: MessageContent; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_result"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const EvaluationResultInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; conversationId: z.ZodString; evaluatorId: z.ZodString; evaluationRunId: z.ZodOptional>; output: z.ZodOptional>>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const EvaluationResultUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; conversationId: z.ZodOptional; evaluatorId: z.ZodOptional; evaluationRunId: z.ZodOptional>>; output: z.ZodOptional>>>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const EvaluationResultApiSelectSchema: z.ZodObject<{ output: z.ZodNullable>>; id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; conversationId: z.ZodString; evaluatorId: z.ZodString; evaluationRunId: z.ZodNullable; }, z.core.$strip>; declare const EvaluationResultApiInsertSchema: z.ZodObject<{ output: z.ZodOptional>>>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; conversationId: z.ZodString; evaluatorId: z.ZodString; evaluationRunId: z.ZodOptional>; }, z.core.$strip>; declare const EvaluationResultApiUpdateSchema: z.ZodObject<{ output: z.ZodOptional>>>>>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; conversationId: z.ZodOptional>; evaluatorId: z.ZodOptional>; evaluationRunId: z.ZodOptional>>>; }, z.core.$strip>; declare const EvaluationRunSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; evaluationJobConfigId: z.ZodNullable; evaluationRunConfigId: z.ZodNullable; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; }, { out: {}; in: {}; }>; declare const EvaluationRunInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; evaluationJobConfigId: z.ZodOptional>; evaluationRunConfigId: z.ZodOptional>; ref: z.ZodOptional>>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const EvaluationRunUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; evaluationJobConfigId: z.ZodOptional>>; evaluationRunConfigId: z.ZodOptional>>; ref: z.ZodOptional>>>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const EvaluationRunApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; evaluationJobConfigId: z.ZodNullable; evaluationRunConfigId: z.ZodNullable; }, z.core.$strip>; declare const EvaluationRunApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; ref: z.ZodOptional>>>; evaluationJobConfigId: z.ZodOptional>; evaluationRunConfigId: z.ZodOptional>; }, z.core.$strip>; declare const EvaluationRunApiUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; ref: z.ZodOptional>>>>>; evaluationJobConfigId: z.ZodOptional>>>; evaluationRunConfigId: z.ZodOptional>>>; }, z.core.$strip>; declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isActive: drizzle_orm_pg_core354.PgColumn<{ name: "is_active"; tableName: "evaluation_run_config"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isActive: drizzle_orm_pg_core354.PgColumn<{ name: "is_active"; tableName: "evaluation_run_config"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const EvaluationRunConfigInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; isActive: z.ZodOptional; name: z.ZodString; description: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const EvaluationRunConfigUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; isActive: z.ZodOptional>; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const EvaluationRunConfigApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; isActive: z.ZodBoolean; }, z.core.$strip>; declare const EvaluationRunConfigApiInsertSchema: z.ZodObject<{ name: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; description: z.ZodOptional>; isActive: z.ZodOptional; suiteConfigIds: z.ZodArray; }, z.core.$strip>; declare const EvaluationRunConfigApiUpdateSchema: z.ZodObject<{ name: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; description: z.ZodOptional>>>; isActive: z.ZodOptional>>; suiteConfigIds: z.ZodOptional>; }, z.core.$strip>; declare const EvaluationRunConfigWithSuiteConfigsApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; isActive: z.ZodBoolean; suiteConfigIds: z.ZodArray; }, z.core.$strip>; declare const EvaluationJobConfigSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; jobFilters: drizzle_orm_pg_core354.PgColumn<{ name: "job_filters"; tableName: "evaluation_job_config"; dataType: "json"; columnType: "PgJsonb"; data: Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; jobFilters: drizzle_orm_pg_core354.PgColumn<{ name: "job_filters"; tableName: "evaluation_job_config"; dataType: "json"; columnType: "PgJsonb"; data: Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_job_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const EvaluationJobConfigInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; jobFilters: z.ZodOptional, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>, z.core.$ZodTypeInternals, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>>>>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const EvaluationJobConfigUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; jobFilters: z.ZodOptional, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>, z.core.$ZodTypeInternals, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>>>>>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const EvaluationJobConfigApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; jobFilters: z.ZodNullable, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>, z.core.$ZodTypeInternals, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>>>>; }, z.core.$strip>; declare const EvaluationJobConfigApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; jobFilters: z.ZodOptional, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>, z.core.$ZodTypeInternals, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>>>>>; evaluatorIds: z.ZodArray; }, z.core.$strip>; declare const EvaluationJobConfigApiUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; jobFilters: z.ZodOptional, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>, z.core.$ZodTypeInternals, Filter<{ datasetRunIds?: string[] | undefined; conversationIds?: string[] | undefined; dateRange?: { startDate: string; endDate: string; } | undefined; }>>>>>>>; }, z.core.$strip>; declare const EvaluationSuiteConfigSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; filters: drizzle_orm_pg_core354.PgColumn<{ name: "filters"; tableName: "evaluation_suite_config"; dataType: "json"; columnType: "PgJsonb"; data: Filter; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Filter; }>; sampleRate: drizzle_orm_pg_core354.PgColumn<{ name: "sample_rate"; tableName: "evaluation_suite_config"; dataType: "number"; columnType: "PgDoublePrecision"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; filters: drizzle_orm_pg_core354.PgColumn<{ name: "filters"; tableName: "evaluation_suite_config"; dataType: "json"; columnType: "PgJsonb"; data: Filter; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Filter; }>; sampleRate: drizzle_orm_pg_core354.PgColumn<{ name: "sample_rate"; tableName: "evaluation_suite_config"; dataType: "number"; columnType: "PgDoublePrecision"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_suite_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const EvaluationSuiteConfigInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; filters: z.ZodOptional, Filter, z.core.$ZodTypeInternals, Filter>>>>; sampleRate: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const EvaluationSuiteConfigUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; filters: z.ZodOptional, Filter, z.core.$ZodTypeInternals, Filter>>>>>; sampleRate: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const EvaluationSuiteConfigApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; filters: z.ZodNullable, Filter, z.core.$ZodTypeInternals, Filter>>>; sampleRate: z.ZodNullable; }, z.core.$strip>; declare const EvaluationSuiteConfigApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; filters: z.ZodOptional, Filter, z.core.$ZodTypeInternals, Filter>>>>; sampleRate: z.ZodOptional>; evaluatorIds: z.ZodArray; }, z.core.$strip>; declare const EvaluationSuiteConfigApiUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; filters: z.ZodOptional, Filter, z.core.$ZodTypeInternals, Filter>>>>>>; sampleRate: z.ZodOptional>>>; evaluatorIds: z.ZodOptional>; }, z.core.$strip>; declare const EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluationRunConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_run_config_id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluationSuiteConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_suite_config_id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluationRunConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_run_config_id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluationSuiteConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_suite_config_id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_run_config_evaluation_suite_config_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; evaluationRunConfigId: z.ZodString; evaluationSuiteConfigId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; evaluationRunConfigId: z.ZodOptional; evaluationSuiteConfigId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; evaluationRunConfigId: z.ZodString; evaluationSuiteConfigId: z.ZodString; }, z.core.$strip>; declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; evaluationRunConfigId: z.ZodString; evaluationSuiteConfigId: z.ZodString; }, z.core.$strip>; declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; evaluationRunConfigId: z.ZodOptional>; evaluationSuiteConfigId: z.ZodOptional>; }, z.core.$strip>; declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluationJobConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_job_config_id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluationJobConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_job_config_id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_job_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const EvaluationJobConfigEvaluatorRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; evaluationJobConfigId: z.ZodString; evaluatorId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const EvaluationJobConfigEvaluatorRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; evaluationJobConfigId: z.ZodOptional; evaluatorId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; evaluationJobConfigId: z.ZodString; evaluatorId: z.ZodString; }, z.core.$strip>; declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; evaluationJobConfigId: z.ZodString; evaluatorId: z.ZodString; }, z.core.$strip>; declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; evaluationJobConfigId: z.ZodOptional>; evaluatorId: z.ZodOptional>; }, z.core.$strip>; declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluationSuiteConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_suite_config_id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; evaluationSuiteConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluation_suite_config_id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluation_suite_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const EvaluationSuiteConfigEvaluatorRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; evaluationSuiteConfigId: z.ZodString; evaluatorId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const EvaluationSuiteConfigEvaluatorRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; evaluationSuiteConfigId: z.ZodOptional; evaluatorId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; evaluatorId: z.ZodString; evaluationSuiteConfigId: z.ZodString; }, z.core.$strip>; declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; evaluatorId: z.ZodString; evaluationSuiteConfigId: z.ZodString; }, z.core.$strip>; declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; evaluatorId: z.ZodOptional>; evaluationSuiteConfigId: z.ZodOptional>; }, z.core.$strip>; declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluator"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluator"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "evaluator"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; schema: drizzle_orm_pg_core354.PgColumn<{ name: "schema"; tableName: "evaluator"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; model: drizzle_orm_pg_core354.PgColumn<{ name: "model"; tableName: "evaluator"; dataType: "json"; columnType: "PgJsonb"; data: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }; }>; passCriteria: drizzle_orm_pg_core354.PgColumn<{ name: "pass_criteria"; tableName: "evaluator"; dataType: "json"; columnType: "PgJsonb"; data: PassCriteria; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: PassCriteria; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "evaluator"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "evaluator"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluator"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluator"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluator"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "evaluator"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "evaluator"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "evaluator"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; schema: drizzle_orm_pg_core354.PgColumn<{ name: "schema"; tableName: "evaluator"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; model: drizzle_orm_pg_core354.PgColumn<{ name: "model"; tableName: "evaluator"; dataType: "json"; columnType: "PgJsonb"; data: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }; }>; passCriteria: drizzle_orm_pg_core354.PgColumn<{ name: "pass_criteria"; tableName: "evaluator"; dataType: "json"; columnType: "PgJsonb"; data: PassCriteria; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: PassCriteria; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "evaluator"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "evaluator"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "evaluator"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "evaluator"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "evaluator"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const EvaluatorInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; prompt: z.ZodString; schema: z.ZodType, Record, z.core.$ZodTypeInternals, Record>>; model: z.ZodType<{ model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, z.core.$ZodTypeInternals<{ model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }>>; name: z.ZodString; description: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; passCriteria: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const EvaluatorUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; prompt: z.ZodOptional; schema: z.ZodOptional, Record, z.core.$ZodTypeInternals, Record>>>; model: z.ZodOptional | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, z.core.$ZodTypeInternals<{ model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }>>>; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; passCriteria: z.ZodOptional>>>; }, { out: {}; in: {}; }>; declare const EvaluatorApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; schema: z.ZodType, Record, z.core.$ZodTypeInternals, Record>>; description: z.ZodNullable; model: z.ZodType<{ model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, z.core.$ZodTypeInternals<{ model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }>>; prompt: z.ZodString; passCriteria: z.ZodNullable>>; }, z.core.$strip>; declare const EvaluatorApiInsertSchema: z.ZodObject<{ name: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; schema: z.ZodType, Record, z.core.$ZodTypeInternals, Record>>; description: z.ZodOptional>; model: z.ZodType<{ model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, z.core.$ZodTypeInternals<{ model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }>>; prompt: z.ZodString; passCriteria: z.ZodOptional>>; }, z.core.$strip>; declare const EvaluatorApiUpdateSchema: z.ZodObject<{ name: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; schema: z.ZodOptional, Record, z.core.$ZodTypeInternals, Record>>>>; description: z.ZodOptional>>>; model: z.ZodOptional | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, z.core.$ZodTypeInternals<{ model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }, { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; }>>>>; prompt: z.ZodOptional>; passCriteria: z.ZodOptional>>>>; }, z.core.$strip>; declare const DatasetSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "dataset"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "dataset"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const DatasetInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; name: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const DatasetUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; name: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const DatasetApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const DatasetApiInsertSchema: z.ZodObject<{ name: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, z.core.$strip>; declare const DatasetApiUpdateSchema: z.ZodObject<{ name: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; }, z.core.$strip>; declare const DatasetItemSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_item"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_item"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_id"; tableName: "dataset_item"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; input: drizzle_orm_pg_core354.PgColumn<{ name: "input"; tableName: "dataset_item"; dataType: "json"; columnType: "PgJsonb"; data: DatasetItemInput; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: DatasetItemInput; }>; expectedOutput: drizzle_orm_pg_core354.PgColumn<{ name: "expected_output"; tableName: "dataset_item"; dataType: "json"; columnType: "PgJsonb"; data: DatasetItemExpectedOutput; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: DatasetItemExpectedOutput; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_item"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_item"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_item"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_item"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_item"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_id"; tableName: "dataset_item"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; input: drizzle_orm_pg_core354.PgColumn<{ name: "input"; tableName: "dataset_item"; dataType: "json"; columnType: "PgJsonb"; data: DatasetItemInput; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: DatasetItemInput; }>; expectedOutput: drizzle_orm_pg_core354.PgColumn<{ name: "expected_output"; tableName: "dataset_item"; dataType: "json"; columnType: "PgJsonb"; data: DatasetItemExpectedOutput; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: DatasetItemExpectedOutput; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_item"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_item"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_item"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const DatasetItemInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; datasetId: z.ZodString; input: z.ZodType>; expectedOutput: z.ZodOptional>>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const DatasetItemUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; datasetId: z.ZodOptional; input: z.ZodOptional>>; expectedOutput: z.ZodOptional>>>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const DatasetItemApiSelectSchema: z.ZodObject<{ input: z.ZodType>; id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; datasetId: z.ZodString; expectedOutput: z.ZodNullable>>; }, z.core.$strip>; declare const DatasetItemApiInsertSchema: z.ZodObject<{ input: z.ZodType>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; expectedOutput: z.ZodOptional>>>; }, z.core.$strip>; declare const DatasetItemApiUpdateSchema: z.ZodObject<{ input: z.ZodOptional>>>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; expectedOutput: z.ZodOptional>>>>>; }, z.core.$strip>; declare const DatasetRunItemSchema: z.ZodObject<{ input: z.ZodOptional>>; id: z.ZodOptional; expectedOutput: z.ZodOptional>>>; agentId: z.ZodString; }, z.core.$strip>; declare const TriggerConversationEvaluationSchema: z.ZodObject<{ conversationId: z.ZodString; }, z.core.$strip>; declare const TriggerBatchConversationEvaluationSchema: z.ZodObject<{ conversations: z.ZodArray; evaluationRunId: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; declare const EvaluationJobFilterCriteriaSchema: z.ZodObject<{ datasetRunIds: z.ZodOptional>; conversationIds: z.ZodOptional>; dateRange: z.ZodOptional>; }, z.core.$strip>; declare const TriggerEvaluationJobSchema: z.ZodObject<{ evaluationJobConfigId: z.ZodString; evaluatorIds: z.ZodArray; jobFilters: z.ZodOptional>; conversationIds: z.ZodOptional>; dateRange: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; declare const DatasetRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_id"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; dispatchDelayMs: drizzle_orm_pg_core354.PgColumn<{ name: "dispatch_delay_ms"; tableName: "dataset_run_config"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_id"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; dispatchDelayMs: drizzle_orm_pg_core354.PgColumn<{ name: "dispatch_delay_ms"; tableName: "dataset_run_config"; dataType: "number"; columnType: "PgInteger"; data: number; driverParam: string | number; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_run_config"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const DatasetRunConfigInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; datasetId: z.ZodString; dispatchDelayMs: z.ZodOptional>; name: z.ZodString; description: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const DatasetRunConfigUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; datasetId: z.ZodOptional; dispatchDelayMs: z.ZodOptional>>; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const DatasetRunConfigApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; dispatchDelayMs: z.ZodNullable; datasetId: z.ZodString; }, z.core.$strip>; declare const DatasetRunConfigApiInsertSchema: z.ZodObject<{ name: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; description: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; datasetId: z.ZodString; }, z.core.$strip>; declare const DatasetRunConfigApiUpdateSchema: z.ZodObject<{ name: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; description: z.ZodOptional>>>; dispatchDelayMs: z.ZodOptional>>>; datasetId: z.ZodOptional>; }, z.core.$strip>; declare const AgentDatasetRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; datasetId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; datasetId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "agent_dataset_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const AgentDatasetRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; agentId: z.ZodString; datasetId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const AgentDatasetRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; agentId: z.ZodOptional; datasetId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const AgentDatasetRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; agentId: z.ZodString; datasetId: z.ZodString; }, z.core.$strip>; declare const AgentDatasetRelationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; agentId: z.ZodString; datasetId: z.ZodString; }, z.core.$strip>; declare const AgentEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "agent_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const AgentEvaluatorRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; agentId: z.ZodString; evaluatorId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const AgentEvaluatorRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; agentId: z.ZodOptional; evaluatorId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const AgentEvaluatorRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; agentId: z.ZodString; evaluatorId: z.ZodString; }, z.core.$strip>; declare const AgentEvaluatorRelationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; agentId: z.ZodString; evaluatorId: z.ZodString; }, z.core.$strip>; declare const DatasetRunConfigAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetRunConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_run_config_id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetRunConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_run_config_id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_run_config_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const DatasetRunConfigAgentRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; datasetRunConfigId: z.ZodString; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const DatasetRunConfigAgentRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; datasetRunConfigId: z.ZodOptional; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const DatasetRunConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetRunConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_run_config_id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; datasetRunConfigId: drizzle_orm_pg_core354.PgColumn<{ name: "dataset_run_config_id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; evaluatorId: drizzle_orm_pg_core354.PgColumn<{ name: "evaluator_id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "dataset_run_config_evaluator_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const DatasetRunConfigEvaluatorRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; datasetRunConfigId: z.ZodString; evaluatorId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const DatasetRunConfigEvaluatorRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; datasetRunConfigId: z.ZodOptional; evaluatorId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const DataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "data_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "data_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; props: drizzle_orm_pg_core354.PgColumn<{ name: "props"; tableName: "data_components"; dataType: "json"; columnType: "PgJsonb"; data: { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }; }>; render: drizzle_orm_pg_core354.PgColumn<{ name: "render"; tableName: "data_components"; dataType: "json"; columnType: "PgJsonb"; data: { component: string; mockData: Record; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { component: string; mockData: Record; }; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "data_components"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "data_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "data_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; props: drizzle_orm_pg_core354.PgColumn<{ name: "props"; tableName: "data_components"; dataType: "json"; columnType: "PgJsonb"; data: { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }; }>; render: drizzle_orm_pg_core354.PgColumn<{ name: "render"; tableName: "data_components"; dataType: "json"; columnType: "PgJsonb"; data: { component: string; mockData: Record; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { component: string; mockData: Record; }; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "data_components"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const DataComponentInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; props: z.ZodType<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>; render: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>; }, { out: {}; in: {}; }>; declare const DataComponentUpdateSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; props: z.ZodOptional; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>; render: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>>; }, { out: {}; in: {}; }>; declare const DataComponentApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; props: z.ZodType<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>; declare const DataComponentApiInsertSchema: z.ZodObject<{ id: z.ZodString; render: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>; name: z.ZodString; description: z.ZodOptional>; props: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodRecord>>; required: z.ZodOptional>>; additionalProperties: z.ZodOptional; description: z.ZodOptional; }, z.core.$loose>; }, z.core.$strip>; declare const DataComponentApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>>; render: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>>>>; name: z.ZodOptional; description: z.ZodOptional>>; props: z.ZodOptional; properties: z.ZodRecord>>; required: z.ZodOptional>>; additionalProperties: z.ZodOptional; description: z.ZodOptional; }, z.core.$loose>>; }, z.core.$strip>; declare const SubAgentDataComponentSelectSchema: drizzle_zod19.BuildSchema<"select", { dataComponentId: drizzle_orm_pg_core354.PgColumn<{ name: "data_component_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ dataComponentId: drizzle_orm_pg_core354.PgColumn<{ name: "data_component_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"insert", { dataComponentId: drizzle_orm_pg_core354.PgColumn<{ name: "data_component_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_data_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, "id" | "createdAt" | "projectId" | "tenantId" | "agentId" | "subAgentId" | "dataComponentId">, undefined>, undefined>; declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{ dataComponentId: z.ZodOptional; createdAt: z.ZodOptional>; subAgentId: z.ZodOptional; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; subAgentId: z.ZodString; dataComponentId: z.ZodString; }, z.core.$strip>; declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{ agentId: z.ZodString; subAgentId: z.ZodString; dataComponentId: z.ZodString; }, { out: {}; in: {}; }>; declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; subAgentId: z.ZodOptional>; dataComponentId: z.ZodOptional>; }, z.core.$strip>; declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "artifact_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "artifact_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; props: drizzle_orm_pg_core354.PgColumn<{ name: "props"; tableName: "artifact_components"; dataType: "json"; columnType: "PgJsonb"; data: { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }; }>; render: drizzle_orm_pg_core354.PgColumn<{ name: "render"; tableName: "artifact_components"; dataType: "json"; columnType: "PgJsonb"; data: { component: string; mockData: Record; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { component: string; mockData: Record; }; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "artifact_components"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "artifact_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "artifact_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; props: drizzle_orm_pg_core354.PgColumn<{ name: "props"; tableName: "artifact_components"; dataType: "json"; columnType: "PgJsonb"; data: { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }; }>; render: drizzle_orm_pg_core354.PgColumn<{ name: "render"; tableName: "artifact_components"; dataType: "json"; columnType: "PgJsonb"; data: { component: string; mockData: Record; }; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { component: string; mockData: Record; }; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "artifact_components"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const ArtifactComponentInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; props: z.ZodOptional; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>>; render: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>; name: z.ZodString; description: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; }, { out: {}; in: {}; }>; declare const ArtifactComponentUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; props: z.ZodOptional; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>>>; render: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>>; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const ArtifactComponentApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; props: z.ZodNullable; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>; declare const ArtifactComponentApiInsertSchema: z.ZodObject<{ id: z.ZodString; render: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>; name: z.ZodString; description: z.ZodOptional>; props: z.ZodNullable; properties: z.ZodRecord>>; required: z.ZodOptional>>; additionalProperties: z.ZodOptional; description: z.ZodOptional; }, z.core.$loose>>; }, { out: {}; in: {}; }>; declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; name: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; description: z.ZodOptional>>>; props: z.ZodOptional; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>>>>; render: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>>>; }, z.core.$strip>; declare const SubAgentArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", { artifactComponentId: drizzle_orm_pg_core354.PgColumn<{ name: "artifact_component_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ artifactComponentId: drizzle_orm_pg_core354.PgColumn<{ name: "artifact_component_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_artifact_components"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const SubAgentArtifactComponentInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; subAgentId: z.ZodString; artifactComponentId: z.ZodString; }, { out: {}; in: {}; }>; declare const SubAgentArtifactComponentUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; subAgentId: z.ZodOptional; artifactComponentId: z.ZodOptional; }, { out: {}; in: {}; }>; declare const SubAgentArtifactComponentApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; subAgentId: z.ZodString; artifactComponentId: z.ZodString; }, z.core.$strip>; declare const SubAgentArtifactComponentApiInsertSchema: z.ZodObject<{ agentId: z.ZodString; subAgentId: z.ZodString; artifactComponentId: z.ZodString; }, { out: {}; in: {}; }>; declare const SubAgentArtifactComponentApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; subAgentId: z.ZodOptional>; artifactComponentId: z.ZodOptional>; }, z.core.$strip>; declare const ExternalAgentSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; baseUrl: z.ZodString; name: z.ZodString; description: z.ZodNullable; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; credentialReferenceId: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const ExternalAgentInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodURL; }, { out: {}; in: {}; }>; declare const ExternalAgentUpdateSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; credentialReferenceId: z.ZodOptional>>; baseUrl: z.ZodOptional; }, { out: {}; in: {}; }>; declare const ExternalAgentApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>; declare const ExternalAgentApiInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodURL; }, z.core.$strip>; declare const ExternalAgentApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; name: z.ZodOptional>; description: z.ZodOptional>>>; credentialReferenceId: z.ZodOptional>>>; baseUrl: z.ZodOptional>; }, z.core.$strip>; declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; prompt: z.ZodNullable; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; type: z.ZodLiteral<"external">; }, z.core.$strip>], "type">; declare const ApiKeySelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "api_keys"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "api_keys"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; publicId: drizzle_orm_pg_core354.PgColumn<{ name: "public_id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; keyHash: drizzle_orm_pg_core354.PgColumn<{ name: "key_hash"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; keyPrefix: drizzle_orm_pg_core354.PgColumn<{ name: "key_prefix"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; lastUsedAt: drizzle_orm_pg_core354.PgColumn<{ name: "last_used_at"; tableName: "api_keys"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; expiresAt: drizzle_orm_pg_core354.PgColumn<{ name: "expires_at"; tableName: "api_keys"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "api_keys"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "api_keys"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; publicId: drizzle_orm_pg_core354.PgColumn<{ name: "public_id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; keyHash: drizzle_orm_pg_core354.PgColumn<{ name: "key_hash"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; keyPrefix: drizzle_orm_pg_core354.PgColumn<{ name: "key_prefix"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; lastUsedAt: drizzle_orm_pg_core354.PgColumn<{ name: "last_used_at"; tableName: "api_keys"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; expiresAt: drizzle_orm_pg_core354.PgColumn<{ name: "expires_at"; tableName: "api_keys"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "api_keys"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const ApiKeyInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; publicId: z.ZodString; keyHash: z.ZodString; keyPrefix: z.ZodString; lastUsedAt: z.ZodOptional>; expiresAt: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, { out: {}; in: {}; }>; declare const ApiKeyUpdateSchema: z.ZodObject<{ name: z.ZodOptional; updatedAt: z.ZodOptional>; expiresAt: z.ZodOptional>>; agentId: z.ZodOptional; }, { out: {}; in: {}; }>; declare const ApiKeyApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; expiresAt: z.ZodNullable; agentId: z.ZodString; publicId: z.ZodString; keyPrefix: z.ZodString; lastUsedAt: z.ZodNullable; }, { out: {}; in: {}; }>; declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{ data: z.ZodObject<{ apiKey: z.ZodObject<{ id: z.ZodString; name: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; expiresAt: z.ZodNullable; agentId: z.ZodString; publicId: z.ZodString; keyPrefix: z.ZodString; lastUsedAt: z.ZodNullable; }, { out: {}; in: {}; }>; key: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const ApiKeyApiInsertSchema: z.ZodObject<{ name: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; expiresAt: z.ZodOptional>; agentId: z.ZodString; }, { out: {}; in: {}; }>; declare const ApiKeyApiUpdateSchema: z.ZodObject<{ name: z.ZodOptional; updatedAt: z.ZodOptional>; expiresAt: z.ZodOptional>>; agentId: z.ZodOptional; }, { out: {}; in: {}; }>; declare const ALLOWED_DOMAIN_PATTERN: RegExp; declare const PublicKeyAlgorithmSchema: z.ZodEnum<{ RS256: "RS256"; RS384: "RS384"; RS512: "RS512"; ES256: "ES256"; ES384: "ES384"; ES512: "ES512"; EdDSA: "EdDSA"; }>; declare const PublicKeyConfigSchema: z.ZodObject<{ kid: z.ZodString; publicKey: z.ZodString; algorithm: z.ZodEnum<{ RS256: "RS256"; RS384: "RS384"; RS512: "RS512"; ES256: "ES256"; ES384: "ES384"; ES512: "ES512"; EdDSA: "EdDSA"; }>; addedAt: z.ZodString; }, z.core.$strip>; declare const WebClientConfigSchema: z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; declare const ApiConfigSchema: z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>; declare const SupportCopilotPlatformSchema: z.ZodEnum<{ [x: string]: string; }>; declare const SupportCopilotQuickActionSchema: z.ZodObject<{ label: z.ZodString; prompt: z.ZodString; }, z.core.$strip>; declare const SupportCopilotQuickActionGroupSchema: z.ZodObject<{ group: z.ZodString; actions: z.ZodArray>; }, z.core.$strip>; declare const SupportCopilotConfigSchema: z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>; declare const AppConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">; declare const AddPublicKeyRequestSchema: z.ZodObject<{ kid: z.ZodString; publicKey: z.ZodString; algorithm: z.ZodEnum<{ RS256: "RS256"; RS384: "RS384"; RS512: "RS512"; ES256: "ES256"; ES384: "ES384"; ES512: "ES512"; EdDSA: "EdDSA"; }>; }, z.core.$strip>; declare const PublicKeyListResponseSchema: z.ZodObject<{ data: z.ZodArray; addedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; declare const PublicKeyResponseSchema: z.ZodObject<{ data: z.ZodObject<{ kid: z.ZodString; publicKey: z.ZodString; algorithm: z.ZodEnum<{ RS256: "RS256"; RS384: "RS384"; RS512: "RS512"; ES256: "ES256"; ES384: "ES384"; ES512: "ES512"; EdDSA: "EdDSA"; }>; addedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const WebClientConfigResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; declare const AppConfigResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">; declare const AppSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "apps"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: AppType; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 64; $type: AppType; }>; defaultProjectId: drizzle_orm_pg_core354.PgColumn<{ name: "default_project_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; defaultAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_agent_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "apps"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "apps"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "apps"; dataType: "json"; columnType: "PgJsonb"; data: { type: "web_client"; webClient: { allowedDomains: string[]; publicKeys: { kid: string; publicKey: string; algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA"; addedAt: string; }[]; allowAnonymous: boolean; audience?: string | undefined; }; } | { type: "api"; api: Record; } | { type: "support_copilot"; supportCopilot: { platform: string; credentialReferenceId?: string | undefined; quickActions?: { group: string; actions: { label: string; prompt: string; }[]; }[] | undefined; }; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "web_client"; webClient: { allowedDomains: string[]; publicKeys: { kid: string; publicKey: string; algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA"; addedAt: string; }[]; allowAnonymous: boolean; audience?: string | undefined; }; } | { type: "api"; api: Record; } | { type: "support_copilot"; supportCopilot: { platform: string; credentialReferenceId?: string | undefined; quickActions?: { group: string; actions: { label: string; prompt: string; }[]; }[] | undefined; }; }; }>; lastUsedAt: drizzle_orm_pg_core354.PgColumn<{ name: "last_used_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "apps"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: AppType; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 64; $type: AppType; }>; defaultProjectId: drizzle_orm_pg_core354.PgColumn<{ name: "default_project_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; defaultAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_agent_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "apps"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "apps"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "apps"; dataType: "json"; columnType: "PgJsonb"; data: { type: "web_client"; webClient: { allowedDomains: string[]; publicKeys: { kid: string; publicKey: string; algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA"; addedAt: string; }[]; allowAnonymous: boolean; audience?: string | undefined; }; } | { type: "api"; api: Record; } | { type: "support_copilot"; supportCopilot: { platform: string; credentialReferenceId?: string | undefined; quickActions?: { group: string; actions: { label: string; prompt: string; }[]; }[] | undefined; }; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "web_client"; webClient: { allowedDomains: string[]; publicKeys: { kid: string; publicKey: string; algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA"; addedAt: string; }[]; allowAnonymous: boolean; audience?: string | undefined; }; } | { type: "api"; api: Record; } | { type: "support_copilot"; supportCopilot: { platform: string; credentialReferenceId?: string | undefined; quickActions?: { group: string; actions: { label: string; prompt: string; }[]; }[] | undefined; }; }; }>; lastUsedAt: drizzle_orm_pg_core354.PgColumn<{ name: "last_used_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, undefined>, undefined>; declare const AppInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; tenantId: z.ZodOptional>; projectId: z.ZodOptional>; description: z.ZodOptional>; defaultProjectId: z.ZodOptional>; prompt: z.ZodOptional>; enabled: z.ZodOptional; lastUsedAt: z.ZodOptional>; id: z.ZodString; name: z.ZodString; type: z.ZodEnum<{ web_client: "web_client"; api: "api"; support_copilot: "support_copilot"; }>; defaultAgentId: z.ZodOptional>; config: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">; }, { out: {}; in: {}; }>; declare const AppUpdateSchema: z.ZodObject<{ name: z.ZodOptional; updatedAt: z.ZodOptional>; description: z.ZodOptional>>; enabled: z.ZodOptional>; projectId: z.ZodOptional>>; tenantId: z.ZodOptional>>; prompt: z.ZodOptional>>; config: z.ZodOptional; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">>; lastUsedAt: z.ZodOptional>>; defaultProjectId: z.ZodOptional>>; defaultAgentId: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const AppApiSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "apps"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: AppType; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 64; $type: AppType; }>; defaultProjectId: drizzle_orm_pg_core354.PgColumn<{ name: "default_project_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; defaultAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_agent_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "apps"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "apps"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "apps"; dataType: "json"; columnType: "PgJsonb"; data: { type: "web_client"; webClient: { allowedDomains: string[]; publicKeys: { kid: string; publicKey: string; algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA"; addedAt: string; }[]; allowAnonymous: boolean; audience?: string | undefined; }; } | { type: "api"; api: Record; } | { type: "support_copilot"; supportCopilot: { platform: string; credentialReferenceId?: string | undefined; quickActions?: { group: string; actions: { label: string; prompt: string; }[]; }[] | undefined; }; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "web_client"; webClient: { allowedDomains: string[]; publicKeys: { kid: string; publicKey: string; algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA"; addedAt: string; }[]; allowAnonymous: boolean; audience?: string | undefined; }; } | { type: "api"; api: Record; } | { type: "support_copilot"; supportCopilot: { platform: string; credentialReferenceId?: string | undefined; quickActions?: { group: string; actions: { label: string; prompt: string; }[]; }[] | undefined; }; }; }>; lastUsedAt: drizzle_orm_pg_core354.PgColumn<{ name: "last_used_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "apps"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: AppType; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 64; $type: AppType; }>; defaultProjectId: drizzle_orm_pg_core354.PgColumn<{ name: "default_project_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; defaultAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_agent_id"; tableName: "apps"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; prompt: drizzle_orm_pg_core354.PgColumn<{ name: "prompt"; tableName: "apps"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "apps"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "apps"; dataType: "json"; columnType: "PgJsonb"; data: { type: "web_client"; webClient: { allowedDomains: string[]; publicKeys: { kid: string; publicKey: string; algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA"; addedAt: string; }[]; allowAnonymous: boolean; audience?: string | undefined; }; } | { type: "api"; api: Record; } | { type: "support_copilot"; supportCopilot: { platform: string; credentialReferenceId?: string | undefined; quickActions?: { group: string; actions: { label: string; prompt: string; }[]; }[] | undefined; }; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "web_client"; webClient: { allowedDomains: string[]; publicKeys: { kid: string; publicKey: string; algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA"; addedAt: string; }[]; allowAnonymous: boolean; audience?: string | undefined; }; } | { type: "api"; api: Record; } | { type: "support_copilot"; supportCopilot: { platform: string; credentialReferenceId?: string | undefined; quickActions?: { group: string; actions: { label: string; prompt: string; }[]; }[] | undefined; }; }; }>; lastUsedAt: drizzle_orm_pg_core354.PgColumn<{ name: "last_used_at"; tableName: "apps"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, undefined>, undefined>; declare const AppApiResponseSelectSchema: z.ZodObject<{ type: z.ZodString; id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; projectId: z.ZodNullable; tenantId: z.ZodNullable; prompt: z.ZodNullable; lastUsedAt: z.ZodNullable; defaultProjectId: z.ZodNullable; defaultAgentId: z.ZodNullable; config: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">; }, { out: {}; in: {}; }>; declare const AppApiInsertSchema: z.ZodObject<{ type: z.ZodEnum<{ web_client: "web_client"; api: "api"; support_copilot: "support_copilot"; }>; name: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; description: z.ZodOptional>; enabled: z.ZodOptional; projectId: z.ZodOptional>; tenantId: z.ZodOptional>; prompt: z.ZodOptional>; config: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">; defaultProjectId: z.ZodOptional>; defaultAgentId: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const AppApiUpdateSchema: z.ZodObject<{ name: z.ZodOptional; updatedAt: z.ZodOptional>; description: z.ZodOptional>>; enabled: z.ZodOptional>; projectId: z.ZodOptional>>; tenantId: z.ZodOptional>>; prompt: z.ZodOptional>>; config: z.ZodOptional; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">>; lastUsedAt: z.ZodOptional>>; defaultProjectId: z.ZodOptional>>; defaultAgentId: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const AppApiCreationResponseSchema: z.ZodObject<{ data: z.ZodObject<{ app: z.ZodObject<{ type: z.ZodString; id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; projectId: z.ZodNullable; tenantId: z.ZodNullable; prompt: z.ZodNullable; lastUsedAt: z.ZodNullable; defaultProjectId: z.ZodNullable; defaultAgentId: z.ZodNullable; config: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">; }, { out: {}; in: {}; }>; }, z.core.$strip>; }, z.core.$strip>; declare const CredentialReferenceSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "credential_references"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "credential_references"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialStoreId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_store_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; retrievalParams: drizzle_orm_pg_core354.PgColumn<{ name: "retrieval_params"; tableName: "credential_references"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; toolId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; userId: drizzle_orm_pg_core354.PgColumn<{ name: "user_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdBy: drizzle_orm_pg_core354.PgColumn<{ name: "created_by"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "credential_references"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "credential_references"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialStoreId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_store_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; retrievalParams: drizzle_orm_pg_core354.PgColumn<{ name: "retrieval_params"; tableName: "credential_references"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; toolId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; userId: drizzle_orm_pg_core354.PgColumn<{ name: "user_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdBy: drizzle_orm_pg_core354.PgColumn<{ name: "created_by"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "credential_references"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const CredentialReferenceInsertSchema: z.ZodObject<{ type: z.ZodString; id: z.ZodString; name: z.ZodString; userId: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; toolId: z.ZodOptional>; createdBy: z.ZodOptional>; credentialStoreId: z.ZodString; retrievalParams: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const CredentialReferenceUpdateSchema: z.ZodObject<{ type: z.ZodOptional; id: z.ZodOptional; name: z.ZodOptional; userId: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; toolId: z.ZodOptional>>; createdBy: z.ZodOptional>>; credentialStoreId: z.ZodOptional; retrievalParams: z.ZodOptional>>>; }, { out: {}; in: {}; }>; declare const CredentialReferenceApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; userId: z.ZodNullable; toolId: z.ZodNullable; createdBy: z.ZodNullable; credentialStoreId: z.ZodString; retrievalParams: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; tools: z.ZodOptional; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>>>; externalAgents: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; credentialReferenceId: z.ZodOptional>; }, { out: {}; in: {}; }>>>; }, z.core.$strip>; declare const CredentialReferenceApiInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; userId: z.ZodOptional>; toolId: z.ZodOptional>; createdBy: z.ZodOptional>; credentialStoreId: z.ZodString; retrievalParams: z.ZodOptional>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; }, z.core.$strip>; declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; name: z.ZodOptional>; userId: z.ZodOptional>>>; toolId: z.ZodOptional>>>; createdBy: z.ZodOptional>>>; credentialStoreId: z.ZodOptional>; retrievalParams: z.ZodOptional>>>>; type: z.ZodOptional>; }, z.core.$strip>; declare const CredentialStoreSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; available: z.ZodBoolean; reason: z.ZodNullable; }, z.core.$strip>; declare const CredentialStoreListResponseSchema: z.ZodObject<{ data: z.ZodArray; available: z.ZodBoolean; reason: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; declare const CreateCredentialInStoreRequestSchema: z.ZodObject<{ key: z.ZodString; value: z.ZodString; metadata: z.ZodOptional>>; }, z.core.$strip>; declare const CreateCredentialInStoreResponseSchema: z.ZodObject<{ data: z.ZodObject<{ key: z.ZodString; storeId: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const RelatedAgentInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; }, z.core.$strip>; declare const ComponentAssociationSchema: z.ZodObject<{ subAgentId: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>; declare const OAuthLoginQuerySchema: z.ZodObject<{ tenantId: z.ZodString; projectId: z.ZodString; toolId: z.ZodString; }, z.core.$strip>; declare const OAuthCallbackQuerySchema: z.ZodObject<{ code: z.ZodString; state: z.ZodString; error: z.ZodOptional; error_description: z.ZodOptional; }, z.core.$strip>; declare const McpToolSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; headers: z.ZodOptional>>; projectId: z.ZodString; tenantId: z.ZodString; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; imageUrl: z.ZodOptional; availableTools: z.ZodOptional; inputSchema: z.ZodOptional>; }, z.core.$strip>>>; status: z.ZodDefault>; version: z.ZodOptional; expiresAt: z.ZodOptional; createdBy: z.ZodOptional; relationshipId: z.ZodOptional; }, { out: {}; in: {}; }>; declare const MCPToolConfigSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; expiresAt: z.ZodOptional; headers: z.ZodOptional>>; createdBy: z.ZodOptional; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; availableTools: z.ZodOptional; inputSchema: z.ZodOptional>; }, z.core.$strip>>>; relationshipId: z.ZodOptional; tenantId: z.ZodOptional; projectId: z.ZodOptional; description: z.ZodOptional; serverUrl: z.ZodURL; activeTools: z.ZodOptional>; mcpType: z.ZodOptional>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; credential: z.ZodOptional>; toolId: z.ZodOptional>; createdBy: z.ZodOptional>; credentialStoreId: z.ZodString; retrievalParams: z.ZodOptional>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; }, z.core.$strip>>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, { out: {}; in: {}; }>; declare const ToolUpdateSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional>>; headers: z.ZodOptional>>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; config: z.ZodOptional; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>>; credentialReferenceId: z.ZodOptional>>; credentialScope: z.ZodOptional>; imageUrl: z.ZodOptional>; capabilities: z.ZodOptional>>>>; lastError: z.ZodOptional>>; isWorkApp: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const ToolApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>; declare const ToolApiInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; headers: z.ZodOptional>>; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; }, z.core.$strip>; declare const ToolApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; name: z.ZodOptional>; description: z.ZodOptional>>>; headers: z.ZodOptional>>>>; config: z.ZodOptional; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>>>; credentialReferenceId: z.ZodOptional>>>; credentialScope: z.ZodOptional>>; imageUrl: z.ZodOptional>>; capabilities: z.ZodOptional>>>>>; lastError: z.ZodOptional>>>; isWorkApp: z.ZodOptional>>; }, z.core.$strip>; declare const FunctionToolSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "function_tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "function_tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; functionId: drizzle_orm_pg_core354.PgColumn<{ name: "function_id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "function_tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "function_tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "function_tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; functionId: drizzle_orm_pg_core354.PgColumn<{ name: "function_id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "function_tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "function_tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const FunctionToolInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; projectId: z.ZodString; tenantId: z.ZodString; agentId: z.ZodString; functionId: z.ZodString; }, { out: {}; in: {}; }>; declare const FunctionToolUpdateSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodOptional; description: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; agentId: z.ZodOptional; functionId: z.ZodOptional; }, { out: {}; in: {}; }>; declare const FunctionToolApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>; declare const FunctionToolApiInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; functionId: z.ZodString; }, z.core.$strip>; declare const FunctionToolApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; name: z.ZodOptional>; description: z.ZodOptional>>>; agentId: z.ZodOptional>; functionId: z.ZodOptional>; }, z.core.$strip>; declare const SubAgentFunctionToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; functionToolId: drizzle_orm_pg_core354.PgColumn<{ name: "function_tool_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; toolPolicies: drizzle_orm_pg_core354.PgColumn<{ name: "tool_policies"; tableName: "sub_agent_function_tool_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; functionToolId: drizzle_orm_pg_core354.PgColumn<{ name: "function_tool_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; toolPolicies: drizzle_orm_pg_core354.PgColumn<{ name: "tool_policies"; tableName: "sub_agent_function_tool_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_function_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const SubAgentFunctionToolRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; toolPolicies: z.ZodOptional>>>; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; subAgentId: z.ZodString; functionToolId: z.ZodString; }, { out: {}; in: {}; }>; declare const SubAgentFunctionToolRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; subAgentId: z.ZodString; functionToolId: z.ZodString; toolPolicies: z.ZodNullable>>; }, z.core.$strip>; declare const SubAgentFunctionToolRelationApiInsertSchema: z.ZodObject<{ subAgentId: z.ZodString; functionToolId: z.ZodString; toolPolicies: z.ZodOptional>>>; }, { out: {}; in: {}; }>; declare const FunctionSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "functions"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "functions"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; inputSchema: drizzle_orm_pg_core354.PgColumn<{ name: "input_schema"; tableName: "functions"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; executeCode: drizzle_orm_pg_core354.PgColumn<{ name: "execute_code"; tableName: "functions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; dependencies: drizzle_orm_pg_core354.PgColumn<{ name: "dependencies"; tableName: "functions"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "functions"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "functions"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "functions"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "functions"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "functions"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; inputSchema: drizzle_orm_pg_core354.PgColumn<{ name: "input_schema"; tableName: "functions"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; executeCode: drizzle_orm_pg_core354.PgColumn<{ name: "execute_code"; tableName: "functions"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; dependencies: drizzle_orm_pg_core354.PgColumn<{ name: "dependencies"; tableName: "functions"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "functions"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "functions"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "functions"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const FunctionInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; dependencies: z.ZodOptional>>; executeCode: z.ZodString; inputSchema: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const FunctionUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; dependencies: z.ZodOptional>>>; executeCode: z.ZodOptional; inputSchema: z.ZodOptional>>>; }, { out: {}; in: {}; }>; declare const FunctionApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; inputSchema: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>; declare const FunctionApiInsertSchema: z.ZodObject<{ id: z.ZodString; inputSchema: z.ZodOptional>>; dependencies: z.ZodOptional>>; executeCode: z.ZodString; }, z.core.$strip>; declare const FunctionApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; inputSchema: z.ZodOptional>>>>; dependencies: z.ZodOptional>>>>; executeCode: z.ZodOptional>; }, z.core.$strip>; declare const FetchConfigSchema: z.ZodObject<{ url: z.ZodString; method: z.ZodDefault>>; headers: z.ZodOptional>; body: z.ZodOptional>; transform: z.ZodOptional; requiredToFetch: z.ZodOptional>; timeout: z.ZodOptional>>; }, z.core.$strip>; declare const FetchDefinitionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; trigger: z.ZodEnum<{ initialization: "initialization"; invocation: "invocation"; }>; fetchConfig: z.ZodObject<{ url: z.ZodString; method: z.ZodDefault>>; headers: z.ZodOptional>; body: z.ZodOptional>; transform: z.ZodOptional; requiredToFetch: z.ZodOptional>; timeout: z.ZodOptional>>; }, z.core.$strip>; responseSchema: z.ZodOptional; defaultValue: z.ZodOptional; credential: z.ZodOptional>; toolId: z.ZodOptional>; createdBy: z.ZodOptional>; credentialStoreId: z.ZodString; retrievalParams: z.ZodOptional>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; }, z.core.$strip>>; }, z.core.$strip>; declare const ContextConfigSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; headersSchema: z.ZodOptional; }, { out: {}; in: {}; }>; declare const ContextConfigInsertSchema: z.ZodObject<{ id: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; agentId: z.ZodString; headersSchema: z.ZodOptional>>; contextVariables: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const ContextConfigUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; projectId: z.ZodOptional; tenantId: z.ZodOptional; agentId: z.ZodOptional; headersSchema: z.ZodOptional>>>; contextVariables: z.ZodOptional>>>; }, { out: {}; in: {}; }>; declare const ContextConfigApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; headersSchema: z.ZodOptional; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>; declare const ContextConfigApiInsertSchema: z.ZodObject<{ id: z.ZodOptional; headersSchema: z.ZodOptional>>; contextVariables: z.ZodOptional>>; }, z.core.$strip>; declare const ContextConfigApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>>; headersSchema: z.ZodOptional>>>>; contextVariables: z.ZodOptional>>>>; }, z.core.$strip>; declare const SubAgentToolRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toolId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; selectedTools: drizzle_orm_pg_core354.PgColumn<{ name: "selected_tools"; tableName: "sub_agent_tool_relations"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "sub_agent_tool_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; toolPolicies: drizzle_orm_pg_core354.PgColumn<{ name: "tool_policies"; tableName: "sub_agent_tool_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toolId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; selectedTools: drizzle_orm_pg_core354.PgColumn<{ name: "selected_tools"; tableName: "sub_agent_tool_relations"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "sub_agent_tool_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; toolPolicies: drizzle_orm_pg_core354.PgColumn<{ name: "tool_policies"; tableName: "sub_agent_tool_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_tool_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const SubAgentToolRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; subAgentId: z.ZodString; toolId: z.ZodString; selectedTools: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, { out: {}; in: {}; }>; declare const SubAgentToolRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; subAgentId: z.ZodOptional; toolId: z.ZodOptional; selectedTools: z.ZodOptional>>>; headers: z.ZodOptional>>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>>; }, { out: {}; in: {}; }>; declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; headers: z.ZodNullable>>; subAgentId: z.ZodString; toolId: z.ZodString; toolPolicies: z.ZodNullable>>; selectedTools: z.ZodNullable>>; }, z.core.$strip>; declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; headers: z.ZodOptional>>; subAgentId: z.ZodString; toolId: z.ZodString; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; selectedTools: z.ZodOptional>>; }, z.core.$strip>; declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; headers: z.ZodOptional>>>>; subAgentId: z.ZodOptional>; toolId: z.ZodOptional>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>>>; selectedTools: z.ZodOptional>>>>; }, z.core.$strip>; declare const SubAgentExternalAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; externalAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "external_agent_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "sub_agent_external_agent_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; externalAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "external_agent_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "sub_agent_external_agent_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_external_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const SubAgentExternalAgentRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; subAgentId: z.ZodString; externalAgentId: z.ZodString; headers: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const SubAgentExternalAgentRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; subAgentId: z.ZodOptional; externalAgentId: z.ZodOptional; headers: z.ZodOptional>>>; }, { out: {}; in: {}; }>; declare const SubAgentExternalAgentRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; headers: z.ZodNullable>>; subAgentId: z.ZodString; externalAgentId: z.ZodString; }, z.core.$strip>; declare const SubAgentExternalAgentRelationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; headers: z.ZodOptional>>; externalAgentId: z.ZodString; }, z.core.$strip>; declare const SubAgentExternalAgentRelationApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; headers: z.ZodOptional>>>>; subAgentId: z.ZodOptional>; externalAgentId: z.ZodOptional>; }, z.core.$strip>; declare const SubAgentTeamAgentRelationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; targetAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "target_agent_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "sub_agent_team_agent_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; targetAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "target_agent_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "sub_agent_team_agent_relations"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; subAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "sub_agent_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "sub_agent_team_agent_relations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const SubAgentTeamAgentRelationInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; agentId: z.ZodString; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; subAgentId: z.ZodString; targetAgentId: z.ZodString; headers: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const SubAgentTeamAgentRelationUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; agentId: z.ZodOptional; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; subAgentId: z.ZodOptional; targetAgentId: z.ZodOptional; headers: z.ZodOptional>>>; }, { out: {}; in: {}; }>; declare const SubAgentTeamAgentRelationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; headers: z.ZodNullable>>; subAgentId: z.ZodString; targetAgentId: z.ZodString; }, z.core.$strip>; declare const SubAgentTeamAgentRelationApiInsertSchema: z.ZodObject<{ createdAt: z.ZodOptional; updatedAt: z.ZodOptional; headers: z.ZodOptional>>; targetAgentId: z.ZodString; }, z.core.$strip>; declare const SubAgentTeamAgentRelationApiUpdateSchema: z.ZodObject<{ id: z.ZodOptional>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; headers: z.ZodOptional>>>>; subAgentId: z.ZodOptional>; targetAgentId: z.ZodOptional>; }, z.core.$strip>; declare const LedgerArtifactSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; taskId: drizzle_orm_pg_core354.PgColumn<{ name: "task_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; toolCallId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_call_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; contextId: drizzle_orm_pg_core354.PgColumn<{ name: "context_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; parts: drizzle_orm_pg_core354.PgColumn<{ name: "parts"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: Part[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Part[] | null; }>; metadata: drizzle_orm_pg_core354.PgColumn<{ name: "metadata"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; summary: drizzle_orm_pg_core354.PgColumn<{ name: "summary"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; mime: drizzle_orm_pg_core354.PgColumn<{ name: "mime"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; visibility: drizzle_orm_pg_core354.PgColumn<{ name: "visibility"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; allowedAgents: drizzle_orm_pg_core354.PgColumn<{ name: "allowed_agents"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; derivedFrom: drizzle_orm_pg_core354.PgColumn<{ name: "derived_from"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; taskId: drizzle_orm_pg_core354.PgColumn<{ name: "task_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; toolCallId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_call_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; contextId: drizzle_orm_pg_core354.PgColumn<{ name: "context_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; parts: drizzle_orm_pg_core354.PgColumn<{ name: "parts"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: Part[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Part[] | null; }>; metadata: drizzle_orm_pg_core354.PgColumn<{ name: "metadata"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; summary: drizzle_orm_pg_core354.PgColumn<{ name: "summary"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; mime: drizzle_orm_pg_core354.PgColumn<{ name: "mime"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; visibility: drizzle_orm_pg_core354.PgColumn<{ name: "visibility"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; allowedAgents: drizzle_orm_pg_core354.PgColumn<{ name: "allowed_agents"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; derivedFrom: drizzle_orm_pg_core354.PgColumn<{ name: "derived_from"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; taskId: drizzle_orm_pg_core354.PgColumn<{ name: "task_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; toolCallId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_call_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; contextId: drizzle_orm_pg_core354.PgColumn<{ name: "context_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; parts: drizzle_orm_pg_core354.PgColumn<{ name: "parts"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: Part[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Part[] | null; }>; metadata: drizzle_orm_pg_core354.PgColumn<{ name: "metadata"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; summary: drizzle_orm_pg_core354.PgColumn<{ name: "summary"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; mime: drizzle_orm_pg_core354.PgColumn<{ name: "mime"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; visibility: drizzle_orm_pg_core354.PgColumn<{ name: "visibility"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; allowedAgents: drizzle_orm_pg_core354.PgColumn<{ name: "allowed_agents"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; derivedFrom: drizzle_orm_pg_core354.PgColumn<{ name: "derived_from"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; taskId: drizzle_orm_pg_core354.PgColumn<{ name: "task_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; toolCallId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_call_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; contextId: drizzle_orm_pg_core354.PgColumn<{ name: "context_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; type: drizzle_orm_pg_core354.PgColumn<{ name: "type"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; parts: drizzle_orm_pg_core354.PgColumn<{ name: "parts"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: Part[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Part[] | null; }>; metadata: drizzle_orm_pg_core354.PgColumn<{ name: "metadata"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: Record | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record | null; }>; summary: drizzle_orm_pg_core354.PgColumn<{ name: "summary"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; mime: drizzle_orm_pg_core354.PgColumn<{ name: "mime"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; visibility: drizzle_orm_pg_core354.PgColumn<{ name: "visibility"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; allowedAgents: drizzle_orm_pg_core354.PgColumn<{ name: "allowed_agents"; tableName: "ledger_artifacts"; dataType: "json"; columnType: "PgJsonb"; data: string[] | null; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: string[] | null; }>; derivedFrom: drizzle_orm_pg_core354.PgColumn<{ name: "derived_from"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "ledger_artifacts"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "toolCallId" | "taskId" | "parts" | "contextId" | "visibility" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>; declare const LedgerArtifactUpdateSchema: z.ZodObject<{ createdAt: z.ZodOptional>; updatedAt: z.ZodOptional>; taskId: z.ZodOptional; toolCallId: z.ZodOptional>>; contextId: z.ZodOptional; type: z.ZodOptional>; name: z.ZodOptional>>; description: z.ZodOptional>>; parts: z.ZodOptional>>>>; metadata: z.ZodOptional>>>>; summary: z.ZodOptional>>; mime: z.ZodOptional>>>>; visibility: z.ZodOptional>>; allowedAgents: z.ZodOptional>>>>; derivedFrom: z.ZodOptional>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; id: z.ZodOptional; }, { out: {}; in: {}; }>; declare const LedgerArtifactApiSelectSchema: z.ZodObject<{ type: z.ZodString; id: z.ZodString; name: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodNullable>>; description: z.ZodNullable; toolCallId: z.ZodNullable; taskId: z.ZodString; parts: z.ZodNullable>>; contextId: z.ZodString; visibility: z.ZodNullable; summary: z.ZodNullable; mime: z.ZodNullable>>; allowedAgents: z.ZodNullable>>; derivedFrom: z.ZodNullable; }, z.core.$strip>; declare const LedgerArtifactApiInsertSchema: z.ZodObject<{ type: z.ZodOptional; id: z.ZodString; name: z.ZodOptional>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; metadata: z.ZodOptional>>>; description: z.ZodOptional>; toolCallId: z.ZodOptional>; taskId: z.ZodString; parts: z.ZodOptional>>>; contextId: z.ZodString; visibility: z.ZodOptional>; summary: z.ZodOptional>; mime: z.ZodOptional>>>; allowedAgents: z.ZodOptional>>>; derivedFrom: z.ZodOptional>; }, z.core.$strip>; declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{ type: z.ZodOptional>>; id: z.ZodOptional>; name: z.ZodOptional>>>; createdAt: z.ZodOptional>>; updatedAt: z.ZodOptional>>; metadata: z.ZodOptional>>>>>; description: z.ZodOptional>>>; toolCallId: z.ZodOptional>>>; taskId: z.ZodOptional>; parts: z.ZodOptional>>>>>; contextId: z.ZodOptional>; visibility: z.ZodOptional>>>; summary: z.ZodOptional>>>; mime: z.ZodOptional>>>>>; allowedAgents: z.ZodOptional>>>>>; derivedFrom: z.ZodOptional>>>; }, z.core.$strip>; declare const StatusComponentSchema: z.ZodObject<{ type: z.ZodString; description: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; declare const StatusUpdateSchema: z.ZodObject<{ enabled: z.ZodOptional; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>; declare const CanUseItemSchema: z.ZodObject<{ agentToolRelationId: z.ZodOptional; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>; declare const canRelateToInternalSubAgentSchema: z.ZodObject<{ subAgentId: z.ZodString; subAgentSubAgentRelationId: z.ZodString; }, z.core.$strip>; declare const canDelegateToExternalAgentInsertSchema: z.ZodObject<{ externalAgentId: z.ZodString; subAgentExternalAgentRelationId: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>; declare const canDelegateToTeamAgentInsertSchema: z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>; declare const canDelegateToExternalAgentSchema: z.ZodObject<{ externalAgentId: z.ZodString; subAgentExternalAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>; declare const canDelegateToTeamAgentSchema: z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>; declare const TeamAgentSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; }, z.core.$strip>; declare const FullAgentAgentInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; description: z.ZodOptional>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; conversationHistoryConfig: z.ZodOptional>>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodOptional>; artifactComponents: z.ZodOptional>; skills: z.ZodOptional; }, z.core.$strict>>>; canTransferTo: z.ZodOptional>; prompt: z.ZodOptional>; canDelegateTo: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const AgentWithinContextOfProjectSchemaBase: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; defaultSubAgentId: z.ZodOptional>; contextConfigId: z.ZodOptional>; executionMode: z.ZodOptional; subAgents: z.ZodRecord; updatedAt: z.ZodOptional; description: z.ZodOptional>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; conversationHistoryConfig: z.ZodOptional>>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodOptional>; artifactComponents: z.ZodOptional>; skills: z.ZodOptional; }, z.core.$strict>>>; canTransferTo: z.ZodOptional>; prompt: z.ZodOptional>; canDelegateTo: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; tools: z.ZodOptional>; headers: z.ZodOptional>>; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; }, z.core.$strip>>>; externalAgents: z.ZodOptional>; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodURL; }, z.core.$strip>>>; teamAgents: z.ZodOptional>; }, z.core.$strip>>>; functionTools: z.ZodOptional>; functionId: z.ZodString; }, z.core.$strip>>>; functions: z.ZodOptional>>; dependencies: z.ZodOptional>>; executeCode: z.ZodString; }, z.core.$strip>>>; triggers: z.ZodOptional; name: z.ZodString; description: z.ZodOptional>; enabled: z.ZodOptional; inputSchema: z.ZodOptional>>>; outputTransform: z.ZodOptional>>>; messageTemplate: z.ZodOptional>; authentication: z.ZodOptional>>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodOptional>; }, z.core.$strip>>>; contextConfig: z.ZodOptional; headersSchema: z.ZodOptional>>; contextVariables: z.ZodOptional>>; }, z.core.$strip>>; statusUpdates: z.ZodOptional; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; prompt: z.ZodOptional; }, z.core.$strip>; declare const AgentWithinContextOfProjectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; defaultSubAgentId: z.ZodOptional>; contextConfigId: z.ZodOptional>; executionMode: z.ZodOptional; subAgents: z.ZodRecord; updatedAt: z.ZodOptional; description: z.ZodOptional>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; conversationHistoryConfig: z.ZodOptional>>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodOptional>; artifactComponents: z.ZodOptional>; skills: z.ZodOptional; }, z.core.$strict>>>; canTransferTo: z.ZodOptional>; prompt: z.ZodOptional>; canDelegateTo: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; tools: z.ZodOptional>; headers: z.ZodOptional>>; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; }, z.core.$strip>>>; externalAgents: z.ZodOptional>; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodURL; }, z.core.$strip>>>; teamAgents: z.ZodOptional>; }, z.core.$strip>>>; functionTools: z.ZodOptional>; functionId: z.ZodString; }, z.core.$strip>>>; functions: z.ZodOptional>>; dependencies: z.ZodOptional>>; executeCode: z.ZodString; }, z.core.$strip>>>; triggers: z.ZodOptional; name: z.ZodString; description: z.ZodOptional>; enabled: z.ZodOptional; inputSchema: z.ZodOptional>>>; outputTransform: z.ZodOptional>>>; messageTemplate: z.ZodOptional>; authentication: z.ZodOptional>>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodOptional>; }, z.core.$strip>>>; contextConfig: z.ZodOptional; headersSchema: z.ZodOptional>>; contextVariables: z.ZodOptional>>; }, z.core.$strip>>; statusUpdates: z.ZodOptional; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; prompt: z.ZodOptional; }, z.core.$strip>; declare const ListResponseSchema: (itemSchema: T) => z.ZodObject<{ data: z.ZodArray; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const SingleResponseSchema: (itemSchema: T) => z.ZodObject<{ data: T; }, z.core.$strip>; declare const ErrorResponseSchema: z.ZodObject<{ error: z.ZodString; message: z.ZodOptional; details: z.ZodOptional; }, z.core.$strip>; declare const ExistsResponseSchema: z.ZodObject<{ exists: z.ZodBoolean; }, z.core.$strip>; declare const RemovedResponseSchema: z.ZodObject<{ message: z.ZodString; removed: z.ZodBoolean; }, z.core.$strip>; declare const ProjectSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; name: z.ZodString; description: z.ZodNullable; tenantId: z.ZodString; id: z.ZodString; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; stepCountIs: z.ZodOptional; }, z.core.$strip>>; }, { out: {}; in: {}; }>; declare const ProjectInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; tenantId: z.ZodString; models: z.ZodObject<{ base: z.ZodObject<{ model: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; stopWhen: z.ZodOptional; stepCountIs: z.ZodOptional; }, z.core.$strip>>; }, { out: {}; in: {}; }>; declare const ProjectUpdateSchema: z.ZodObject<{ name: z.ZodOptional; description: z.ZodOptional>>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodOptional; stepCountIs: z.ZodOptional; }, z.core.$strip>>>; }, { out: {}; in: {}; }>; declare const ProjectApiSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; stepCountIs: z.ZodOptional; }, z.core.$strip>>; }, { out: {}; in: {}; }>; declare const ProjectApiInsertSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; models: z.ZodObject<{ base: z.ZodObject<{ model: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; stopWhen: z.ZodOptional; stepCountIs: z.ZodOptional; }, z.core.$strip>>; }, { out: {}; in: {}; }>; declare const ProjectApiUpdateSchema: z.ZodObject<{ name: z.ZodOptional; description: z.ZodOptional>>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodOptional; stepCountIs: z.ZodOptional; }, z.core.$strip>>>; }, { out: {}; in: {}; }>; declare const FullProjectDefinitionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; models: z.ZodObject<{ base: z.ZodObject<{ model: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; stopWhen: z.ZodOptional; stepCountIs: z.ZodOptional; }, z.core.$strip>>; agents: z.ZodRecord>; defaultSubAgentId: z.ZodOptional>; contextConfigId: z.ZodOptional>; executionMode: z.ZodOptional; subAgents: z.ZodRecord; updatedAt: z.ZodOptional; description: z.ZodOptional>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; conversationHistoryConfig: z.ZodOptional>>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodOptional>; artifactComponents: z.ZodOptional>; skills: z.ZodOptional; }, z.core.$strict>>>; canTransferTo: z.ZodOptional>; prompt: z.ZodOptional>; canDelegateTo: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; tools: z.ZodOptional>; headers: z.ZodOptional>>; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; }, z.core.$strip>>>; externalAgents: z.ZodOptional>; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodURL; }, z.core.$strip>>>; teamAgents: z.ZodOptional>; }, z.core.$strip>>>; functionTools: z.ZodOptional>; functionId: z.ZodString; }, z.core.$strip>>>; functions: z.ZodOptional>>; dependencies: z.ZodOptional>>; executeCode: z.ZodString; }, z.core.$strip>>>; triggers: z.ZodOptional; name: z.ZodString; description: z.ZodOptional>; enabled: z.ZodOptional; inputSchema: z.ZodOptional>>>; outputTransform: z.ZodOptional>>>; messageTemplate: z.ZodOptional>; authentication: z.ZodOptional>>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodOptional>; }, z.core.$strip>>>; contextConfig: z.ZodOptional; headersSchema: z.ZodOptional>>; contextVariables: z.ZodOptional>>; }, z.core.$strip>>; statusUpdates: z.ZodOptional; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; prompt: z.ZodOptional; }, z.core.$strip>>; tools: z.ZodRecord>; headers: z.ZodOptional>>; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; }, z.core.$strip>>; functionTools: z.ZodOptional>; functionId: z.ZodString; }, z.core.$strip>>>; functions: z.ZodOptional>>; dependencies: z.ZodOptional>>; executeCode: z.ZodString; }, z.core.$strip>>>; skills: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ name: string; description: string; metadata: Record | null; content: string; files: { filePath: string; content: string; }[]; }, { files: { filePath: string; content: string; }[]; }>>, z.ZodObject<{ metadata: z.ZodNullable>; files: z.ZodArray>; name: z.ZodString; description: z.ZodString; content: z.ZodString; }, z.core.$strict>>>>; dataComponents: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>; name: z.ZodString; description: z.ZodOptional>; props: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodRecord>>; required: z.ZodOptional>>; additionalProperties: z.ZodOptional; description: z.ZodOptional; }, z.core.$loose>; }, z.core.$strip>>>; artifactComponents: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>; name: z.ZodString; description: z.ZodOptional>; props: z.ZodNullable; properties: z.ZodRecord>>; required: z.ZodOptional>>; additionalProperties: z.ZodOptional; description: z.ZodOptional; }, z.core.$loose>>; }, { out: {}; in: {}; }>>>; externalAgents: z.ZodOptional>; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodURL; }, z.core.$strip>>>; statusUpdates: z.ZodOptional; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; credentialReferences: z.ZodOptional>; toolId: z.ZodOptional>; createdBy: z.ZodOptional>; credentialStoreId: z.ZodString; retrievalParams: z.ZodOptional>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; }, z.core.$strip>>>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, { out: {}; in: {}; }>; declare const FullAgentSubAgentSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodNullable>; artifactComponents: z.ZodNullable>; canTransferTo: z.ZodNullable>; prompt: z.ZodNullable; canDelegateTo: z.ZodNullable>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; }, z.core.$strip>; declare const FullAgentSubAgentSelectSchemaWithRelationIds: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodNullable>; artifactComponents: z.ZodNullable>; prompt: z.ZodNullable; canTransferTo: z.ZodNullable>>; canDelegateTo: z.ZodNullable, z.ZodObject<{ externalAgentId: z.ZodString; subAgentExternalAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; }, z.core.$strip>; declare const AgentWithinContextOfProjectSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; executionMode: z.ZodString; subAgents: z.ZodRecord; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodNullable>; artifactComponents: z.ZodNullable>; canTransferTo: z.ZodNullable>; prompt: z.ZodNullable; canDelegateTo: z.ZodNullable>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; }, z.core.$strip>>; tools: z.ZodNullable; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; teamAgents: z.ZodNullable>; }, z.core.$strip>>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; contextConfig: z.ZodNullable; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; }, z.core.$strip>>; prompt: z.ZodNullable; }, z.core.$strip>; declare const AgentWithinContextOfProjectSelectSchemaWithRelationIds: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; executionMode: z.ZodString; tools: z.ZodNullable; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; teamAgents: z.ZodNullable>; }, z.core.$strip>>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; contextConfig: z.ZodNullable; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; }, z.core.$strip>>; prompt: z.ZodNullable; subAgents: z.ZodRecord; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodNullable>; artifactComponents: z.ZodNullable>; prompt: z.ZodNullable; canTransferTo: z.ZodNullable>>; canDelegateTo: z.ZodNullable, z.ZodObject<{ externalAgentId: z.ZodString; subAgentExternalAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; }, z.core.$strip>>; }, z.core.$strip>; declare const FullProjectSelectSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; stepCountIs: z.ZodOptional; }, z.core.$strip>>; agents: z.ZodRecord; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; executionMode: z.ZodString; subAgents: z.ZodRecord; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodNullable>; artifactComponents: z.ZodNullable>; canTransferTo: z.ZodNullable>; prompt: z.ZodNullable; canDelegateTo: z.ZodNullable>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; }, z.core.$strip>>; tools: z.ZodNullable; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; teamAgents: z.ZodNullable>; }, z.core.$strip>>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; contextConfig: z.ZodNullable; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; }, z.core.$strip>>; prompt: z.ZodNullable; }, z.core.$strip>>; tools: z.ZodRecord; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; dataComponents: z.ZodNullable; props: z.ZodType<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>>; artifactComponents: z.ZodNullable; props: z.ZodNullable; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; credentialReferences: z.ZodNullable; toolId: z.ZodNullable; createdBy: z.ZodNullable; credentialStoreId: z.ZodString; retrievalParams: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; tools: z.ZodOptional; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>>>; externalAgents: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; credentialReferenceId: z.ZodOptional>; }, { out: {}; in: {}; }>>>; }, z.core.$strip>>>; }, { out: {}; in: {}; }>; declare const FullProjectSelectSchemaWithRelationIds: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; stepCountIs: z.ZodOptional; }, z.core.$strip>>; tools: z.ZodRecord; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; dataComponents: z.ZodNullable; props: z.ZodType<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>>; artifactComponents: z.ZodNullable; props: z.ZodNullable; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; credentialReferences: z.ZodNullable; toolId: z.ZodNullable; createdBy: z.ZodNullable; credentialStoreId: z.ZodString; retrievalParams: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; tools: z.ZodOptional; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>>>; externalAgents: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; credentialReferenceId: z.ZodOptional>; }, { out: {}; in: {}; }>>>; }, z.core.$strip>>>; agents: z.ZodRecord; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; executionMode: z.ZodString; tools: z.ZodNullable; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; teamAgents: z.ZodNullable>; }, z.core.$strip>>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; contextConfig: z.ZodNullable; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; }, z.core.$strip>>; prompt: z.ZodNullable; subAgents: z.ZodRecord; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodNullable>; artifactComponents: z.ZodNullable>; prompt: z.ZodNullable; canTransferTo: z.ZodNullable>>; canDelegateTo: z.ZodNullable, z.ZodObject<{ externalAgentId: z.ZodString; subAgentExternalAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; }, z.core.$strip>>; }, z.core.$strip>>; }, { out: {}; in: {}; }>; declare const ProjectResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; stepCountIs: z.ZodOptional; }, z.core.$strip>>; }, { out: {}; in: {}; }>; }, z.core.$strip>; declare const SubAgentResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; prompt: z.ZodNullable; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; }, z.core.$strip>; }, z.core.$strip>; declare const AgentResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; prompt: z.ZodNullable; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; statusUpdates: z.ZodNullable; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, z.core.$ZodTypeInternals<{ enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }>>>; executionMode: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const ExternalAgentResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const ContextConfigResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; headersSchema: z.ZodOptional; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>; }, z.core.$strip>; declare const ApiKeyResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; expiresAt: z.ZodNullable; agentId: z.ZodString; publicId: z.ZodString; keyPrefix: z.ZodString; lastUsedAt: z.ZodNullable; }, { out: {}; in: {}; }>; }, z.core.$strip>; declare const CredentialReferenceResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; userId: z.ZodNullable; toolId: z.ZodNullable; createdBy: z.ZodNullable; credentialStoreId: z.ZodString; retrievalParams: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; tools: z.ZodOptional; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>>>; externalAgents: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; credentialReferenceId: z.ZodOptional>; }, { out: {}; in: {}; }>>>; }, z.core.$strip>; }, z.core.$strip>; declare const FunctionResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; inputSchema: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const FunctionToolResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentFunctionToolRelationResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; subAgentId: z.ZodString; functionToolId: z.ZodString; toolPolicies: z.ZodNullable>>; }, z.core.$strip>; }, z.core.$strip>; declare const DataComponentResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; props: z.ZodType<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>; }, z.core.$strip>; declare const ArtifactComponentResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; props: z.ZodNullable; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentRelationResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; sourceSubAgentId: z.ZodString; targetSubAgentId: z.ZodNullable; relationType: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentToolRelationResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; headers: z.ZodNullable>>; subAgentId: z.ZodString; toolId: z.ZodString; toolPolicies: z.ZodNullable>>; selectedTools: z.ZodNullable>>; }, z.core.$strip>; }, z.core.$strip>; declare const TriggerResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; inputSchema: z.ZodNullable>>; outputTransform: z.ZodNullable>>; messageTemplate: z.ZodNullable; authentication: z.ZodNullable>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional; encoding: z.ZodEnum<{ hex: "hex"; base64: "base64"; }>; signature: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; signedComponents: z.ZodArray; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>>; componentJoin: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; validation: z.ZodOptional; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; declare const TriggerInvocationResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; status: z.ZodString; runAsUserId: z.ZodOptional>; triggerId: z.ZodString; conversationId: z.ZodNullable; batchId: z.ZodNullable; requestPayload: z.ZodType>; transformedPayload: z.ZodNullable>>; errorMessage: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; declare const FeedbackResponse: z.ZodObject<{ data: z.ZodObject<{ type: z.ZodString; id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; details: z.ZodNullable; conversationId: z.ZodString; messageId: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; declare const EventResponse: z.ZodObject<{ data: z.ZodObject<{ type: z.ZodString; id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodNullable>>; properties: z.ZodNullable>>; agentId: z.ZodNullable; conversationId: z.ZodNullable; userProperties: z.ZodNullable>>; messageId: z.ZodNullable; serverMetadata: z.ZodNullable>>; }, z.core.$strip>; }, z.core.$strip>; declare const BulkFeedbackResponseSchema: z.ZodObject<{ data: z.ZodArray; conversationId: z.ZodString; messageId: z.ZodNullable; }, z.core.$strip>>; errors: z.ZodArray>; }, z.core.$strip>; declare const ProjectListResponse: z.ZodObject<{ data: z.ZodArray; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; stepCountIs: z.ZodOptional; }, z.core.$strip>>; }, { out: {}; in: {}; }>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentListResponse: z.ZodObject<{ data: z.ZodArray; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; prompt: z.ZodNullable; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const AgentListResponse: z.ZodObject<{ data: z.ZodArray; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; prompt: z.ZodNullable; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; statusUpdates: z.ZodNullable; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, z.core.$ZodTypeInternals<{ enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }, { enabled?: boolean | undefined; numEvents?: number | undefined; timeInSeconds?: number | undefined; prompt?: string | undefined; statusComponents?: { type: string; description?: string | undefined; detailsSchema?: { type: "object"; properties: Record; required?: string[] | undefined; } | undefined; }[] | undefined; }>>>; executionMode: z.ZodString; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const ExternalAgentListResponse: z.ZodObject<{ data: z.ZodArray; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const ContextConfigListResponse: z.ZodObject<{ data: z.ZodArray; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const ApiKeyListResponse: z.ZodObject<{ data: z.ZodArray; createdAt: z.ZodString; updatedAt: z.ZodString; expiresAt: z.ZodNullable; agentId: z.ZodString; publicId: z.ZodString; keyPrefix: z.ZodString; lastUsedAt: z.ZodNullable; }, { out: {}; in: {}; }>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const AppResponse: z.ZodObject<{ data: z.ZodObject<{ type: z.ZodString; id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; projectId: z.ZodNullable; tenantId: z.ZodNullable; prompt: z.ZodNullable; lastUsedAt: z.ZodNullable; defaultProjectId: z.ZodNullable; defaultAgentId: z.ZodNullable; config: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">; }, { out: {}; in: {}; }>; }, z.core.$strip>; declare const AppListResponse: z.ZodObject<{ data: z.ZodArray; enabled: z.ZodBoolean; projectId: z.ZodNullable; tenantId: z.ZodNullable; prompt: z.ZodNullable; lastUsedAt: z.ZodNullable; defaultProjectId: z.ZodNullable; defaultAgentId: z.ZodNullable; config: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"web_client">; webClient: z.ZodObject<{ allowedDomains: z.ZodArray; publicKeys: z.ZodDefault; addedAt: z.ZodString; }, z.core.$strip>>>; audience: z.ZodOptional; allowAnonymous: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api">; api: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"support_copilot">; supportCopilot: z.ZodObject<{ platform: z.ZodEnum<{ [x: string]: string; }>; credentialReferenceId: z.ZodOptional; quickActions: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>; }, z.core.$strip>], "type">; }, { out: {}; in: {}; }>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; role: z.ZodOptional>; tenantHasAnyApps: z.ZodOptional; }, z.core.$strip>; declare const CredentialReferenceListResponse: z.ZodObject<{ data: z.ZodArray; toolId: z.ZodNullable; createdBy: z.ZodNullable; credentialStoreId: z.ZodString; retrievalParams: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; tools: z.ZodOptional; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>>>; externalAgents: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; credentialReferenceId: z.ZodOptional>; }, { out: {}; in: {}; }>>>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const FunctionListResponse: z.ZodObject<{ data: z.ZodArray, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const FunctionToolListResponse: z.ZodObject<{ data: z.ZodArray; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentFunctionToolRelationListResponse: z.ZodObject<{ data: z.ZodArray>>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const FeedbackListResponse: z.ZodObject<{ data: z.ZodArray; conversationId: z.ZodString; messageId: z.ZodNullable; agentId: z.ZodOptional>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const DataComponentListResponse: z.ZodObject<{ data: z.ZodArray; props: z.ZodType<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const ArtifactComponentListResponse: z.ZodObject<{ data: z.ZodArray; props: z.ZodNullable; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentRelationListResponse: z.ZodObject<{ data: z.ZodArray; relationType: z.ZodNullable; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentToolRelationListResponse: z.ZodObject<{ data: z.ZodArray>>; subAgentId: z.ZodString; toolId: z.ZodString; toolPolicies: z.ZodNullable>>; selectedTools: z.ZodNullable>>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const TriggerListResponse: z.ZodObject<{ data: z.ZodArray; enabled: z.ZodBoolean; inputSchema: z.ZodNullable>>; outputTransform: z.ZodNullable>>; messageTemplate: z.ZodNullable; authentication: z.ZodNullable>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional; encoding: z.ZodEnum<{ hex: "hex"; base64: "base64"; }>; signature: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; signedComponents: z.ZodArray; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>>; componentJoin: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; validation: z.ZodOptional; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const TriggerInvocationListResponse: z.ZodObject<{ data: z.ZodArray; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; status: z.ZodString; runAsUserId: z.ZodOptional>; triggerId: z.ZodString; conversationId: z.ZodNullable; batchId: z.ZodNullable; requestPayload: z.ZodType>; transformedPayload: z.ZodNullable>>; errorMessage: z.ZodNullable; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const TriggerWithWebhookUrlResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; inputSchema: z.ZodNullable>>; outputTransform: z.ZodNullable>>; messageTemplate: z.ZodNullable; authentication: z.ZodNullable>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional; encoding: z.ZodEnum<{ hex: "hex"; base64: "base64"; }>; signature: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; signedComponents: z.ZodArray; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>>; componentJoin: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; validation: z.ZodOptional; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodArray; userCount: z.ZodNumber; webhookUrl: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const TriggerWithWebhookUrlWithWarningResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; inputSchema: z.ZodNullable>>; outputTransform: z.ZodNullable>>; messageTemplate: z.ZodNullable; authentication: z.ZodNullable>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional; encoding: z.ZodEnum<{ hex: "hex"; base64: "base64"; }>; signature: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; signedComponents: z.ZodArray; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>>; componentJoin: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; validation: z.ZodOptional; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodArray; userCount: z.ZodNumber; webhookUrl: z.ZodString; }, z.core.$strip>; warning: z.ZodOptional; }, z.core.$strip>; declare const TriggerWithWebhookUrlListResponse: z.ZodObject<{ data: z.ZodArray; enabled: z.ZodBoolean; inputSchema: z.ZodNullable>>; outputTransform: z.ZodNullable>>; messageTemplate: z.ZodNullable; authentication: z.ZodNullable>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional; encoding: z.ZodEnum<{ hex: "hex"; base64: "base64"; }>; signature: z.ZodObject<{ source: z.ZodEnum<{ query: "query"; body: "body"; header: "header"; }>; key: z.ZodString; prefix: z.ZodOptional; regex: z.ZodOptional; }, z.core.$strip>; signedComponents: z.ZodArray; key: z.ZodOptional; value: z.ZodOptional; regex: z.ZodOptional; required: z.ZodDefault; }, z.core.$strip>>; componentJoin: z.ZodObject<{ strategy: z.ZodEnum<{ concatenate: "concatenate"; }>; separator: z.ZodString; }, z.core.$strip>; validation: z.ZodOptional; allowEmptyBody: z.ZodDefault; normalizeUnicode: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodArray; userCount: z.ZodNumber; webhookUrl: z.ZodString; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const LastRunSummarySchema: z.ZodObject<{ total: z.ZodNumber; completed: z.ZodNumber; failed: z.ZodNumber; running: z.ZodNumber; pending: z.ZodNumber; }, z.core.$strip>; declare const ScheduledTriggerWithRunInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; ref: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; payload: z.ZodOptional>>; messageTemplate: z.ZodNullable; runAsUserId: z.ZodNullable; dispatchDelayMs: z.ZodNullable; createdBy: z.ZodNullable; cronExpression: z.ZodNullable; cronTimezone: z.ZodNullable; runAt: z.ZodNullable; maxRetries: z.ZodInt; retryDelaySeconds: z.ZodInt; timeoutSeconds: z.ZodInt; datasetRunConfigId: z.ZodNullable; lastRunAt: z.ZodNullable; lastRunStatus: z.ZodNullable>; lastRunConversationIds: z.ZodArray; nextRunAt: z.ZodNullable; runAsUserIds: z.ZodArray; userCount: z.ZodNumber; lastRunSummary: z.ZodNullable>; }, z.core.$strip>; type ScheduledTriggerWithRunInfo = z.infer; declare const ScheduledTriggerResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; ref: z.ZodString; description: z.ZodNullable; enabled: z.ZodBoolean; payload: z.ZodOptional>>; messageTemplate: z.ZodNullable; runAsUserId: z.ZodNullable; dispatchDelayMs: z.ZodNullable; createdBy: z.ZodNullable; cronExpression: z.ZodNullable; cronTimezone: z.ZodNullable; runAt: z.ZodNullable; maxRetries: z.ZodInt; retryDelaySeconds: z.ZodInt; timeoutSeconds: z.ZodInt; nextRunAt: z.ZodNullable; datasetRunConfigId: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; declare const ScheduledTriggerListResponse: z.ZodObject<{ data: z.ZodArray; enabled: z.ZodBoolean; payload: z.ZodOptional>>; messageTemplate: z.ZodNullable; runAsUserId: z.ZodNullable; dispatchDelayMs: z.ZodNullable; createdBy: z.ZodNullable; cronExpression: z.ZodNullable; cronTimezone: z.ZodNullable; runAt: z.ZodNullable; maxRetries: z.ZodInt; retryDelaySeconds: z.ZodInt; timeoutSeconds: z.ZodInt; nextRunAt: z.ZodNullable; datasetRunConfigId: z.ZodNullable; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const ScheduledTriggerWithRunInfoListResponse: z.ZodObject<{ data: z.ZodArray; enabled: z.ZodBoolean; payload: z.ZodOptional>>; messageTemplate: z.ZodNullable; runAsUserId: z.ZodNullable; dispatchDelayMs: z.ZodNullable; createdBy: z.ZodNullable; cronExpression: z.ZodNullable; cronTimezone: z.ZodNullable; runAt: z.ZodNullable; maxRetries: z.ZodInt; retryDelaySeconds: z.ZodInt; timeoutSeconds: z.ZodInt; datasetRunConfigId: z.ZodNullable; lastRunAt: z.ZodNullable; lastRunStatus: z.ZodNullable>; lastRunConversationIds: z.ZodArray; nextRunAt: z.ZodNullable; runAsUserIds: z.ZodArray; userCount: z.ZodNumber; lastRunSummary: z.ZodNullable>; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const ScheduledTriggerInvocationResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; ref: z.ZodOptional; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; running: "running"; completed: "completed"; cancelled: "cancelled"; }>; runAsUserId: z.ZodNullable; scheduledTriggerId: z.ZodString; scheduledFor: z.ZodString; startedAt: z.ZodNullable; completedAt: z.ZodNullable; resolvedPayload: z.ZodOptional>>; conversationIds: z.ZodNullable>>; attemptNumber: z.ZodInt; idempotencyKey: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const ScheduledTriggerInvocationListResponse: z.ZodObject<{ data: z.ZodArray; name: z.ZodString; hash: z.ZodString; }, z.core.$strip>>>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; running: "running"; completed: "completed"; cancelled: "cancelled"; }>; runAsUserId: z.ZodNullable; scheduledTriggerId: z.ZodString; scheduledFor: z.ZodString; startedAt: z.ZodNullable; completedAt: z.ZodNullable; resolvedPayload: z.ZodOptional>>; conversationIds: z.ZodNullable>>; attemptNumber: z.ZodInt; idempotencyKey: z.ZodString; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentDataComponentResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; subAgentId: z.ZodString; dataComponentId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentArtifactComponentResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; subAgentId: z.ZodString; artifactComponentId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const FullProjectDefinitionResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; models: z.ZodObject<{ base: z.ZodObject<{ model: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; stopWhen: z.ZodOptional; stepCountIs: z.ZodOptional; }, z.core.$strip>>; agents: z.ZodRecord>; defaultSubAgentId: z.ZodOptional>; contextConfigId: z.ZodOptional>; executionMode: z.ZodOptional; subAgents: z.ZodRecord; updatedAt: z.ZodOptional; description: z.ZodOptional>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; conversationHistoryConfig: z.ZodOptional>>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodOptional>; artifactComponents: z.ZodOptional>; skills: z.ZodOptional; }, z.core.$strict>>>; canTransferTo: z.ZodOptional>; prompt: z.ZodOptional>; canDelegateTo: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; tools: z.ZodOptional>; headers: z.ZodOptional>>; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; }, z.core.$strip>>>; externalAgents: z.ZodOptional>; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodURL; }, z.core.$strip>>>; teamAgents: z.ZodOptional>; }, z.core.$strip>>>; functionTools: z.ZodOptional>; functionId: z.ZodString; }, z.core.$strip>>>; functions: z.ZodOptional>>; dependencies: z.ZodOptional>>; executeCode: z.ZodString; }, z.core.$strip>>>; triggers: z.ZodOptional; name: z.ZodString; description: z.ZodOptional>; enabled: z.ZodOptional; inputSchema: z.ZodOptional>>>; outputTransform: z.ZodOptional>>>; messageTemplate: z.ZodOptional>; authentication: z.ZodOptional>>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodOptional>; }, z.core.$strip>>>; contextConfig: z.ZodOptional; headersSchema: z.ZodOptional>>; contextVariables: z.ZodOptional>>; }, z.core.$strip>>; statusUpdates: z.ZodOptional; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; prompt: z.ZodOptional; }, z.core.$strip>>; tools: z.ZodRecord>; headers: z.ZodOptional>>; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; }, z.core.$strip>>; functionTools: z.ZodOptional>; functionId: z.ZodString; }, z.core.$strip>>>; functions: z.ZodOptional>>; dependencies: z.ZodOptional>>; executeCode: z.ZodString; }, z.core.$strip>>>; skills: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ name: string; description: string; metadata: Record | null; content: string; files: { filePath: string; content: string; }[]; }, { files: { filePath: string; content: string; }[]; }>>, z.ZodObject<{ metadata: z.ZodNullable>; files: z.ZodArray>; name: z.ZodString; description: z.ZodString; content: z.ZodString; }, z.core.$strict>>>>; dataComponents: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>; name: z.ZodString; description: z.ZodOptional>; props: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodRecord>>; required: z.ZodOptional>>; additionalProperties: z.ZodOptional; description: z.ZodOptional; }, z.core.$loose>; }, z.core.$strip>>>; artifactComponents: z.ZodOptional; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>>; name: z.ZodString; description: z.ZodOptional>; props: z.ZodNullable; properties: z.ZodRecord>>; required: z.ZodOptional>>; additionalProperties: z.ZodOptional; description: z.ZodOptional; }, z.core.$loose>>; }, { out: {}; in: {}; }>>>; externalAgents: z.ZodOptional>; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodURL; }, z.core.$strip>>>; statusUpdates: z.ZodOptional; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; credentialReferences: z.ZodOptional>; toolId: z.ZodOptional>; createdBy: z.ZodOptional>; credentialStoreId: z.ZodString; retrievalParams: z.ZodOptional>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; }, z.core.$strip>>>; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, { out: {}; in: {}; }>; }, z.core.$strip>; declare const FullProjectSelectResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; stepCountIs: z.ZodOptional; }, z.core.$strip>>; agents: z.ZodRecord; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; executionMode: z.ZodString; subAgents: z.ZodRecord; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodNullable>; artifactComponents: z.ZodNullable>; canTransferTo: z.ZodNullable>; prompt: z.ZodNullable; canDelegateTo: z.ZodNullable>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; }, z.core.$strip>>; tools: z.ZodNullable; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; teamAgents: z.ZodNullable>; }, z.core.$strip>>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; contextConfig: z.ZodNullable; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; }, z.core.$strip>>; prompt: z.ZodNullable; }, z.core.$strip>>; tools: z.ZodRecord; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; dataComponents: z.ZodNullable; props: z.ZodType<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>>; artifactComponents: z.ZodNullable; props: z.ZodNullable; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; credentialReferences: z.ZodNullable; toolId: z.ZodNullable; createdBy: z.ZodNullable; credentialStoreId: z.ZodString; retrievalParams: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; tools: z.ZodOptional; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>>>; externalAgents: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; credentialReferenceId: z.ZodOptional>; }, { out: {}; in: {}; }>>>; }, z.core.$strip>>>; }, { out: {}; in: {}; }>; }, z.core.$strip>; declare const FullProjectSelectWithRelationIdsResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; stepCountIs: z.ZodOptional; }, z.core.$strip>>; tools: z.ZodRecord; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; dataComponents: z.ZodNullable; props: z.ZodType<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>>; artifactComponents: z.ZodNullable; props: z.ZodNullable; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; credentialReferences: z.ZodNullable; toolId: z.ZodNullable; createdBy: z.ZodNullable; credentialStoreId: z.ZodString; retrievalParams: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; type: z.ZodEnum<{ readonly memory: "memory"; readonly keychain: "keychain"; readonly nango: "nango"; readonly composio: "composio"; }>; tools: z.ZodOptional; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "tools"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; config: drizzle_orm_pg_core354.PgColumn<{ name: "config"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: { type: "mcp"; mcp: ToolMcpConfig; }; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: { type: "mcp"; mcp: ToolMcpConfig; }; }>; credentialReferenceId: drizzle_orm_pg_core354.PgColumn<{ name: "credential_reference_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; credentialScope: drizzle_orm_pg_core354.PgColumn<{ name: "credential_scope"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; headers: drizzle_orm_pg_core354.PgColumn<{ name: "headers"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; imageUrl: drizzle_orm_pg_core354.PgColumn<{ name: "image_url"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; capabilities: drizzle_orm_pg_core354.PgColumn<{ name: "capabilities"; tableName: "tools"; dataType: "json"; columnType: "PgJsonb"; data: ToolServerCapabilities; driverParam: unknown; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: ToolServerCapabilities; }>; lastError: drizzle_orm_pg_core354.PgColumn<{ name: "last_error"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; isWorkApp: drizzle_orm_pg_core354.PgColumn<{ name: "is_work_app"; tableName: "tools"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; name: drizzle_orm_pg_core354.PgColumn<{ name: "name"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; description: drizzle_orm_pg_core354.PgColumn<{ name: "description"; tableName: "tools"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "tools"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>>>; externalAgents: z.ZodOptional; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; credentialReferenceId: z.ZodOptional>; }, { out: {}; in: {}; }>>>; }, z.core.$strip>>>; agents: z.ZodRecord; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; executionMode: z.ZodString; tools: z.ZodNullable; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; teamAgents: z.ZodNullable>; }, z.core.$strip>>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; contextConfig: z.ZodNullable; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; }, z.core.$strip>>; prompt: z.ZodNullable; subAgents: z.ZodRecord; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodNullable>; artifactComponents: z.ZodNullable>; prompt: z.ZodNullable; canTransferTo: z.ZodNullable>>; canDelegateTo: z.ZodNullable, z.ZodObject<{ externalAgentId: z.ZodString; subAgentExternalAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; }, z.core.$strip>>; }, z.core.$strip>>; }, { out: {}; in: {}; }>; }, z.core.$strip>; declare const AgentWithinContextOfProjectResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; defaultSubAgentId: z.ZodOptional>; contextConfigId: z.ZodOptional>; executionMode: z.ZodOptional; subAgents: z.ZodRecord; updatedAt: z.ZodOptional; description: z.ZodOptional>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; conversationHistoryConfig: z.ZodOptional>>>; outputContract: z.ZodOptional; requireComponent: z.ZodOptional>; requireArtifact: z.ZodOptional>; requireTransfer: z.ZodOptional; onViolation: z.ZodOptional>; retryBudget: z.ZodOptional; }, z.core.$loose>>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodOptional>; artifactComponents: z.ZodOptional>; skills: z.ZodOptional; }, z.core.$strict>>>; canTransferTo: z.ZodOptional>; prompt: z.ZodOptional>; canDelegateTo: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodOptional; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; tools: z.ZodOptional>; headers: z.ZodOptional>>; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; imageUrl: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; }, z.core.$strip>>>; externalAgents: z.ZodOptional>; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodURL; }, z.core.$strip>>>; teamAgents: z.ZodOptional>; }, z.core.$strip>>>; functionTools: z.ZodOptional>; functionId: z.ZodString; }, z.core.$strip>>>; functions: z.ZodOptional>>; dependencies: z.ZodOptional>>; executeCode: z.ZodString; }, z.core.$strip>>>; triggers: z.ZodOptional; name: z.ZodString; description: z.ZodOptional>; enabled: z.ZodOptional; inputSchema: z.ZodOptional>>>; outputTransform: z.ZodOptional>>>; messageTemplate: z.ZodOptional>; authentication: z.ZodOptional>>>; signingSecretCredentialReferenceId: z.ZodOptional>; signatureVerification: z.ZodOptional>>>; runAsUserId: z.ZodOptional>; dispatchDelayMs: z.ZodOptional>; createdBy: z.ZodOptional>; runAsUserIds: z.ZodOptional>; }, z.core.$strip>>>; contextConfig: z.ZodOptional; headersSchema: z.ZodOptional>>; contextVariables: z.ZodOptional>>; }, z.core.$strip>>; statusUpdates: z.ZodOptional; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodOptional; }, z.core.$strip>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const AgentWithinContextOfProjectSelectResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; description: z.ZodNullable; defaultSubAgentId: z.ZodNullable; contextConfigId: z.ZodNullable; executionMode: z.ZodString; subAgents: z.ZodRecord; models: z.ZodNullable | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, z.core.$ZodTypeInternals<{ base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }, { base?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; structuredOutput?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; summarizer?: { model?: string | undefined; providerOptions?: Record | undefined; fallbackModels?: string[] | undefined; allowedProviders?: string[] | undefined; } | undefined; }>>>; stopWhen: z.ZodNullable>>; conversationHistoryConfig: z.ZodNullable>>; outputContract: z.ZodNullable>>; type: z.ZodLiteral<"internal">; canUse: z.ZodArray; toolId: z.ZodString; toolSelection: z.ZodOptional>>; headers: z.ZodOptional>>; toolPolicies: z.ZodOptional; }, z.core.$strip>>>>; }, z.core.$strip>>; dataComponents: z.ZodNullable>; artifactComponents: z.ZodNullable>; canTransferTo: z.ZodNullable>; prompt: z.ZodNullable; canDelegateTo: z.ZodNullable>>; }, z.core.$strip>, z.ZodObject<{ agentId: z.ZodString; subAgentTeamAgentRelationId: z.ZodString; headers: z.ZodOptional>>; }, z.core.$strip>]>>>; }, z.core.$strip>>; tools: z.ZodNullable; headers: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; config: z.ZodType<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }, z.core.$ZodTypeInternals<{ type: "mcp"; mcp: ToolMcpConfig; }, { type: "mcp"; mcp: ToolMcpConfig; }>>; credentialReferenceId: z.ZodNullable; credentialScope: z.ZodString; imageUrl: z.ZodNullable; capabilities: z.ZodNullable>>; lastError: z.ZodNullable; isWorkApp: z.ZodBoolean; }, z.core.$strip>>>; externalAgents: z.ZodNullable; credentialReferenceId: z.ZodOptional>; baseUrl: z.ZodString; }, z.core.$strip>>>; teamAgents: z.ZodNullable>; }, z.core.$strip>>>; functionTools: z.ZodNullable; agentId: z.ZodString; functionId: z.ZodString; relationshipId: z.ZodOptional; }, z.core.$strip>>>; functions: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; dependencies: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; executeCode: z.ZodString; }, z.core.$strip>>>; contextConfig: z.ZodNullable; contextVariables: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; }, z.core.$strip>>; statusUpdates: z.ZodNullable; numEvents: z.ZodOptional; timeInSeconds: z.ZodOptional; prompt: z.ZodOptional; statusComponents: z.ZodOptional; detailsSchema: z.ZodOptional; properties: z.ZodRecord; required: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strict>>; models: z.ZodNullable; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; structuredOutput: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; summarizer: z.ZodOptional; providerOptions: z.ZodOptional>; fallbackModels: z.ZodOptional>; allowedProviders: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; stopWhen: z.ZodNullable; }, z.core.$strip>>; prompt: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; declare const RelatedAgentInfoListResponse: z.ZodObject<{ data: z.ZodArray; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const ComponentAssociationListResponse: z.ZodObject<{ data: z.ZodArray>; }, z.core.$strip>; declare const McpToolResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional>; headers: z.ZodOptional>>; projectId: z.ZodString; tenantId: z.ZodString; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; imageUrl: z.ZodOptional; availableTools: z.ZodOptional; inputSchema: z.ZodOptional>; }, z.core.$strip>>>; status: z.ZodDefault>; version: z.ZodOptional; expiresAt: z.ZodOptional; createdBy: z.ZodOptional; relationshipId: z.ZodOptional; }, { out: {}; in: {}; }>; }, z.core.$strip>; declare const McpToolListResponse: z.ZodObject<{ data: z.ZodArray>; headers: z.ZodOptional>>; projectId: z.ZodString; tenantId: z.ZodString; config: z.ZodObject<{ type: z.ZodLiteral<"mcp">; mcp: z.ZodObject<{ server: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; transport: z.ZodOptional; requestInit: z.ZodOptional>; eventSourceInit: z.ZodOptional>; reconnectionOptions: z.ZodOptional; sessionId: z.ZodOptional; }, z.core.$strip>>; activeTools: z.ZodOptional>; toolOverrides: z.ZodOptional; description: z.ZodOptional; schema: z.ZodOptional; transformation: z.ZodOptional]>>; }, z.core.$strip>>>; prompt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; credentialReferenceId: z.ZodOptional>; credentialScope: z.ZodOptional; capabilities: z.ZodOptional>>>; lastError: z.ZodOptional>; isWorkApp: z.ZodOptional; imageUrl: z.ZodOptional; availableTools: z.ZodOptional; inputSchema: z.ZodOptional>; }, z.core.$strip>>>; status: z.ZodDefault>; version: z.ZodOptional; expiresAt: z.ZodOptional; createdBy: z.ZodOptional; relationshipId: z.ZodOptional; }, { out: {}; in: {}; }>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentTeamAgentRelationResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; headers: z.ZodNullable>>; subAgentId: z.ZodString; targetAgentId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentTeamAgentRelationListResponse: z.ZodObject<{ data: z.ZodArray>>; subAgentId: z.ZodString; targetAgentId: z.ZodString; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentExternalAgentRelationResponse: z.ZodObject<{ data: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; headers: z.ZodNullable>>; subAgentId: z.ZodString; externalAgentId: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; declare const SubAgentExternalAgentRelationListResponse: z.ZodObject<{ data: z.ZodArray>>; subAgentId: z.ZodString; externalAgentId: z.ZodString; }, z.core.$strip>>; pagination: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; total: z.ZodNumber; pages: z.ZodNumber; completedCount: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; declare const DataComponentArrayResponse: z.ZodObject<{ data: z.ZodArray; props: z.ZodType<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>; }, z.core.$strip>; declare const ArtifactComponentArrayResponse: z.ZodObject<{ data: z.ZodArray; props: z.ZodNullable; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, z.core.$ZodTypeInternals<{ [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }, { [x: string]: unknown; type: "object"; properties: Record; required?: string[] | undefined; additionalProperties?: boolean | undefined; description?: string | undefined; }>>>; render: z.ZodNullable; }, { component: string; mockData: Record; }, z.core.$ZodTypeInternals<{ component: string; mockData: Record; }, { component: string; mockData: Record; }>>>; }, z.core.$strip>>; }, z.core.$strip>; declare const HeadersScopeSchema: z.ZodObject<{ 'x-inkeep-tenant-id': z.ZodOptional; 'x-inkeep-project-id': z.ZodOptional; 'x-inkeep-agent-id': z.ZodOptional; }, z.core.$strip>; declare const UserIdParamsSchema: z.ZodObject<{ userId: z.ZodString; }, z.core.$strip>; declare const TenantParamsSchema: z.ZodObject<{ tenantId: z.ZodString; }, z.core.$strip>; declare const TenantIdParamsSchema: z.ZodObject<{ tenantId: z.ZodString; id: z.ZodString; }, z.core.$strip>; declare const TenantProjectParamsSchema: z.ZodObject<{ tenantId: z.ZodString; projectId: z.ZodString; }, z.core.$strip>; declare const TenantProjectIdParamsSchema: z.ZodObject<{ tenantId: z.ZodString; projectId: z.ZodString; id: z.ZodString; }, z.core.$strip>; declare const TenantProjectAgentParamsSchema: z.ZodObject<{ tenantId: z.ZodString; projectId: z.ZodString; agentId: z.ZodString; }, z.core.$strip>; declare const TenantProjectAgentIdParamsSchema: z.ZodObject<{ tenantId: z.ZodString; projectId: z.ZodString; agentId: z.ZodString; id: z.ZodString; }, z.core.$strip>; declare const TenantProjectAgentSubAgentParamsSchema: z.ZodObject<{ tenantId: z.ZodString; projectId: z.ZodString; agentId: z.ZodString; subAgentId: z.ZodString; }, z.core.$strip>; declare const TenantProjectToolParamsSchema: z.ZodObject<{ tenantId: z.ZodString; projectId: z.ZodString; toolId: z.ZodString; }, z.core.$strip>; declare const TenantProjectAgentSubAgentIdParamsSchema: z.ZodObject<{ tenantId: z.ZodString; projectId: z.ZodString; agentId: z.ZodString; subAgentId: z.ZodString; id: z.ZodString; }, z.core.$strip>; declare const RefQueryParamSchema: z.ZodObject<{ ref: z.ZodOptional; }, z.core.$strip>; declare const DateTimeFilterQueryParamsSchema: z.ZodObject<{ from: z.ZodOptional; to: z.ZodOptional; }, z.core.$strip>; declare const PrebuiltMCPServerSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; url: z.ZodURL; transport: z.ZodEnum<{ readonly streamableHttp: "streamable_http"; readonly sse: "sse"; }>; imageUrl: z.ZodOptional; isOpen: z.ZodOptional; category: z.ZodOptional; description: z.ZodOptional; thirdPartyConnectAccountUrl: z.ZodOptional; connectedAccountId: z.ZodOptional; authScheme: z.ZodOptional; }, z.core.$strip>; declare const MCPCatalogListResponse: z.ZodObject<{ data: z.ZodArray; imageUrl: z.ZodOptional; isOpen: z.ZodOptional; category: z.ZodOptional; description: z.ZodOptional; thirdPartyConnectAccountUrl: z.ZodOptional; connectedAccountId: z.ZodOptional; authScheme: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const ThirdPartyMCPServerResponse: z.ZodObject<{ data: z.ZodNullable; imageUrl: z.ZodOptional; isOpen: z.ZodOptional; category: z.ZodOptional; description: z.ZodOptional; thirdPartyConnectAccountUrl: z.ZodOptional; connectedAccountId: z.ZodOptional; authScheme: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const PaginationWithRefQueryParamsSchema: z.ZodObject<{ page: z.ZodDefault>; limit: z.ZodDefault>; ref: z.ZodOptional; }, z.core.$strip>; declare const ProjectMetadataSelectSchema: drizzle_zod19.BuildSchema<"select", { id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "project_metadata"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "project_metadata"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "project_metadata"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdBy: drizzle_orm_pg_core354.PgColumn<{ name: "created_by"; tableName: "project_metadata"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; mainBranchName: drizzle_orm_pg_core354.PgColumn<{ name: "main_branch_name"; tableName: "project_metadata"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 512; }>; }, drizzle_zod19.BuildRefine<{ id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "project_metadata"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "project_metadata"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "project_metadata"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; createdBy: drizzle_orm_pg_core354.PgColumn<{ name: "created_by"; tableName: "project_metadata"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; mainBranchName: drizzle_orm_pg_core354.PgColumn<{ name: "main_branch_name"; tableName: "project_metadata"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 512; }>; }, undefined>, undefined>; declare const ProjectMetadataInsertSchema: z.ZodObject<{ id: z.ZodString; tenantId: z.ZodString; createdBy: z.ZodOptional>; mainBranchName: z.ZodString; }, { out: {}; in: {}; }>; declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{ pending: "pending"; active: "active"; suspended: "suspended"; disconnected: "disconnected"; }>; declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{ Organization: "Organization"; User: "User"; }>; declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; installationId: drizzle_orm_pg_core354.PgColumn<{ name: "installation_id"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; accountLogin: drizzle_orm_pg_core354.PgColumn<{ name: "account_login"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; accountId: drizzle_orm_pg_core354.PgColumn<{ name: "account_id"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; accountType: drizzle_orm_pg_core354.PgColumn<{ name: "account_type"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: "Organization" | "User"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; $type: "Organization" | "User"; }>; status: drizzle_orm_pg_core354.PgColumn<{ name: "status"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: "pending" | "active" | "suspended" | "disconnected"; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; $type: "pending" | "active" | "suspended" | "disconnected"; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; installationId: drizzle_orm_pg_core354.PgColumn<{ name: "installation_id"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; accountLogin: drizzle_orm_pg_core354.PgColumn<{ name: "account_login"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; accountId: drizzle_orm_pg_core354.PgColumn<{ name: "account_id"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; accountType: drizzle_orm_pg_core354.PgColumn<{ name: "account_type"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: "Organization" | "User"; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; $type: "Organization" | "User"; }>; status: drizzle_orm_pg_core354.PgColumn<{ name: "status"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: "pending" | "active" | "suspended" | "disconnected"; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; $type: "pending" | "active" | "suspended" | "disconnected"; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_installations"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{ id: z.ZodString; accountId: z.ZodString; tenantId: z.ZodString; installationId: z.ZodString; accountLogin: z.ZodString; accountType: z.ZodEnum<{ Organization: "Organization"; User: "User"; }>; status: z.ZodDefault>>; }, { out: {}; in: {}; }>; declare const WorkAppGithubInstallationApiSelectSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; accountId: z.ZodString; status: z.ZodString; installationId: z.ZodString; accountLogin: z.ZodString; accountType: z.ZodString; }, z.core.$strip>; declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{ accountId: z.ZodString; status: z.ZodDefault>>; tenantId: z.ZodString; installationId: z.ZodString; accountLogin: z.ZodString; accountType: z.ZodEnum<{ Organization: "Organization"; User: "User"; }>; }, z.core.$strip>; declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; installationDbId: drizzle_orm_pg_core354.PgColumn<{ name: "installation_db_id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryId: drizzle_orm_pg_core354.PgColumn<{ name: "repository_id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; repositoryName: drizzle_orm_pg_core354.PgColumn<{ name: "repository_name"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryFullName: drizzle_orm_pg_core354.PgColumn<{ name: "repository_full_name"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 512; }>; private: drizzle_orm_pg_core354.PgColumn<{ name: "private"; tableName: "work_app_github_repositories"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; installationDbId: drizzle_orm_pg_core354.PgColumn<{ name: "installation_db_id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryId: drizzle_orm_pg_core354.PgColumn<{ name: "repository_id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; repositoryName: drizzle_orm_pg_core354.PgColumn<{ name: "repository_name"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryFullName: drizzle_orm_pg_core354.PgColumn<{ name: "repository_full_name"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 512; }>; private: drizzle_orm_pg_core354.PgColumn<{ name: "private"; tableName: "work_app_github_repositories"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, undefined>, undefined>; declare const WorkAppGitHubRepositoryInsertSchema: z.ZodObject<{ id: z.ZodString; installationDbId: z.ZodString; repositoryId: z.ZodString; repositoryName: z.ZodString; repositoryFullName: z.ZodString; private: z.ZodOptional; }, z.core.$strip>; declare const WorkAppGitHubRepositoryApiInsertSchema: z.ZodObject<{ installationDbId: z.ZodString; repositoryId: z.ZodString; repositoryName: z.ZodString; repositoryFullName: z.ZodString; private: z.ZodOptional; }, z.core.$strip>; declare const WorkAppGitHubProjectRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; repositoryDbId: drizzle_orm_pg_core354.PgColumn<{ name: "repository_db_id"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; repositoryDbId: drizzle_orm_pg_core354.PgColumn<{ name: "repository_db_id"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_project_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const WorkAppGitHubMcpToolRepositoryAccessSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toolId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryDbId: drizzle_orm_pg_core354.PgColumn<{ name: "repository_db_id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; toolId: drizzle_orm_pg_core354.PgColumn<{ name: "tool_id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryDbId: drizzle_orm_pg_core354.PgColumn<{ name: "repository_db_id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_mcp_tool_repository_access"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; }, undefined>, undefined>; declare const WorkAppGitHubAccessModeSchema: z.ZodEnum<{ selected: "selected"; all: "all"; }>; declare const WorkAppGitHubAccessSetRequestSchema: z.ZodObject<{ mode: z.ZodEnum<{ selected: "selected"; all: "all"; }>; repositoryIds: z.ZodOptional>; }, z.core.$strip>; declare const WorkAppGitHubAccessSetResponseSchema: z.ZodObject<{ mode: z.ZodEnum<{ selected: "selected"; all: "all"; }>; repositoryCount: z.ZodNumber; }, z.core.$strip>; declare const WorkAppGitHubAccessGetResponseSchema: z.ZodObject<{ mode: z.ZodEnum<{ selected: "selected"; all: "all"; }>; repositories: z.ZodArray; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; installationDbId: drizzle_orm_pg_core354.PgColumn<{ name: "installation_db_id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryId: drizzle_orm_pg_core354.PgColumn<{ name: "repository_id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; repositoryName: drizzle_orm_pg_core354.PgColumn<{ name: "repository_name"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryFullName: drizzle_orm_pg_core354.PgColumn<{ name: "repository_full_name"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 512; }>; private: drizzle_orm_pg_core354.PgColumn<{ name: "private"; tableName: "work_app_github_repositories"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; installationDbId: drizzle_orm_pg_core354.PgColumn<{ name: "installation_db_id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryId: drizzle_orm_pg_core354.PgColumn<{ name: "repository_id"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; repositoryName: drizzle_orm_pg_core354.PgColumn<{ name: "repository_name"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; repositoryFullName: drizzle_orm_pg_core354.PgColumn<{ name: "repository_full_name"; tableName: "work_app_github_repositories"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 512; }>; private: drizzle_orm_pg_core354.PgColumn<{ name: "private"; tableName: "work_app_github_repositories"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, undefined>, undefined>>; }, z.core.$strip>; declare const WorkAppSlackChannelAgentConfigSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackTeamId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_team_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackChannelId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_channel_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackChannelName: drizzle_orm_pg_core354.PgColumn<{ name: "slack_channel_name"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackChannelType: drizzle_orm_pg_core354.PgColumn<{ name: "slack_channel_type"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; configuredByUserId: drizzle_orm_pg_core354.PgColumn<{ name: "configured_by_user_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "work_app_slack_channel_agent_configs"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; grantAccessToMembers: drizzle_orm_pg_core354.PgColumn<{ name: "grant_access_to_members"; tableName: "work_app_slack_channel_agent_configs"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackTeamId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_team_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackChannelId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_channel_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackChannelName: drizzle_orm_pg_core354.PgColumn<{ name: "slack_channel_name"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackChannelType: drizzle_orm_pg_core354.PgColumn<{ name: "slack_channel_type"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 50; }>; projectId: drizzle_orm_pg_core354.PgColumn<{ name: "project_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; agentId: drizzle_orm_pg_core354.PgColumn<{ name: "agent_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; configuredByUserId: drizzle_orm_pg_core354.PgColumn<{ name: "configured_by_user_id"; tableName: "work_app_slack_channel_agent_configs"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; enabled: drizzle_orm_pg_core354.PgColumn<{ name: "enabled"; tableName: "work_app_slack_channel_agent_configs"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; grantAccessToMembers: drizzle_orm_pg_core354.PgColumn<{ name: "grant_access_to_members"; tableName: "work_app_slack_channel_agent_configs"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, undefined>, undefined>; declare const WorkAppSlackWorkspaceSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackTeamId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_team_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackEnterpriseId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_enterprise_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackAppId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_app_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackTeamName: drizzle_orm_pg_core354.PgColumn<{ name: "slack_team_name"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 512; }>; nangoProviderConfigKey: drizzle_orm_pg_core354.PgColumn<{ name: "nango_provider_config_key"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; nangoConnectionId: drizzle_orm_pg_core354.PgColumn<{ name: "nango_connection_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; status: drizzle_orm_pg_core354.PgColumn<{ name: "status"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; }>; installedByUserId: drizzle_orm_pg_core354.PgColumn<{ name: "installed_by_user_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; shouldAllowJoinFromWorkspace: drizzle_orm_pg_core354.PgColumn<{ name: "should_allow_join_from_workspace"; tableName: "work_app_slack_workspaces"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; defaultAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_agent_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; defaultProjectId: drizzle_orm_pg_core354.PgColumn<{ name: "default_project_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; defaultGrantAccessToMembers: drizzle_orm_pg_core354.PgColumn<{ name: "default_grant_access_to_members"; tableName: "work_app_slack_workspaces"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; tenantId: drizzle_orm_pg_core354.PgColumn<{ name: "tenant_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackTeamId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_team_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackEnterpriseId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_enterprise_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackAppId: drizzle_orm_pg_core354.PgColumn<{ name: "slack_app_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; slackTeamName: drizzle_orm_pg_core354.PgColumn<{ name: "slack_team_name"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 512; }>; nangoProviderConfigKey: drizzle_orm_pg_core354.PgColumn<{ name: "nango_provider_config_key"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; nangoConnectionId: drizzle_orm_pg_core354.PgColumn<{ name: "nango_connection_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; status: drizzle_orm_pg_core354.PgColumn<{ name: "status"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 20; }>; installedByUserId: drizzle_orm_pg_core354.PgColumn<{ name: "installed_by_user_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; shouldAllowJoinFromWorkspace: drizzle_orm_pg_core354.PgColumn<{ name: "should_allow_join_from_workspace"; tableName: "work_app_slack_workspaces"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; defaultAgentId: drizzle_orm_pg_core354.PgColumn<{ name: "default_agent_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; defaultProjectId: drizzle_orm_pg_core354.PgColumn<{ name: "default_project_id"; tableName: "work_app_slack_workspaces"; dataType: "string"; columnType: "PgVarchar"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, { length: 256; }>; defaultGrantAccessToMembers: drizzle_orm_pg_core354.PgColumn<{ name: "default_grant_access_to_members"; tableName: "work_app_slack_workspaces"; dataType: "boolean"; columnType: "PgBoolean"; data: boolean; driverParam: boolean; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; }, undefined>, undefined>; declare const WorkAppSlackAgentConfigRequestSchema: z.ZodObject<{ projectId: z.ZodString; agentId: z.ZodString; grantAccessToMembers: z.ZodOptional; }, { out: {}; in: {}; }>; declare const WorkAppSlackAgentConfigResponseSchema: z.ZodObject<{ projectId: z.ZodString; agentId: z.ZodString; grantAccessToMembers: z.ZodOptional; agentName: z.ZodString; projectName: z.ZodOptional; }, { out: {}; in: {}; }>; type WorkAppSlackAgentConfigRequest = z.infer; type WorkAppSlackAgentConfigResponse = z.infer; declare const ChannelIdsSchema: z.ZodArray; declare const ChannelAccessModeSchema: z.ZodEnum<{ selected: "selected"; all: "all"; }>; declare const WorkAppSlackMcpToolAccessConfigInsertSchema: z.ZodObject<{ projectId: z.ZodString; tenantId: z.ZodString; toolId: z.ZodString; channelAccessMode: z.ZodEnum<{ selected: "selected"; all: "all"; }>; dmEnabled: z.ZodBoolean; channelIds: z.ZodArray; }, z.core.$strip>; declare const WorkAppSlackMcpToolAccessConfigApiInsertSchema: z.ZodObject<{ channelAccessMode: z.ZodEnum<{ selected: "selected"; all: "all"; }>; dmEnabled: z.ZodBoolean; channelIds: z.ZodDefault>; }, z.core.$strip>; declare const UserProfileSelectSchema: drizzle_zod19.BuildSchema<"select", { createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "user_profile"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "user_profile"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "user_profile"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core354.PgColumn<{ name: "user_id"; tableName: "user_profile"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; timezone: drizzle_orm_pg_core354.PgColumn<{ name: "timezone"; tableName: "user_profile"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; attributes: drizzle_orm_pg_core354.PgColumn<{ name: "attributes"; tableName: "user_profile"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; }, drizzle_zod19.BuildRefine<{ createdAt: drizzle_orm_pg_core354.PgColumn<{ name: "created_at"; tableName: "user_profile"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; updatedAt: drizzle_orm_pg_core354.PgColumn<{ name: "updated_at"; tableName: "user_profile"; dataType: "string"; columnType: "PgTimestampString"; data: string; driverParam: string; notNull: true; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; id: drizzle_orm_pg_core354.PgColumn<{ name: "id"; tableName: "user_profile"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: true; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; userId: drizzle_orm_pg_core354.PgColumn<{ name: "user_id"; tableName: "user_profile"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; timezone: drizzle_orm_pg_core354.PgColumn<{ name: "timezone"; tableName: "user_profile"; dataType: "string"; columnType: "PgText"; data: string; driverParam: string; notNull: false; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; identity: undefined; generated: undefined; }, {}, {}>; attributes: drizzle_orm_pg_core354.PgColumn<{ name: "attributes"; tableName: "user_profile"; dataType: "json"; columnType: "PgJsonb"; data: Record; driverParam: unknown; notNull: false; hasDefault: true; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; identity: undefined; generated: undefined; }, {}, { $type: Record; }>; }, undefined>, undefined>; declare const UserProfileInsertSchema: z.ZodObject<{ id: z.ZodString; userId: z.ZodString; attributes: z.ZodOptional, Record, z.core.$ZodTypeInternals, Record>>>>; timezone: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const UserProfileUpdateSchema: z.ZodObject<{ id: z.ZodOptional; userId: z.ZodOptional; attributes: z.ZodOptional, Record, z.core.$ZodTypeInternals, Record>>>>>; timezone: z.ZodOptional>; }, { out: {}; in: {}; }>; declare const UserProfileApiInsertSchema: z.ZodObject<{ userId: z.ZodString; timezone: z.ZodOptional>; attributes: z.ZodOptional, Record, z.core.$ZodTypeInternals, Record>>>>; }, z.core.$strip>; declare const UserProfileApiUpdateSchema: z.ZodObject<{ timezone: z.ZodOptional>; attributes: z.ZodOptional, Record, z.core.$ZodTypeInternals, Record>>>>>; }, { out: {}; in: {}; }>; declare const AnonymousSessionResponseSchema: z.ZodObject<{ token: z.ZodString; expiresAt: z.ZodString; }, z.core.$strip>; declare const WorkflowExecutionStatusEnum: z.ZodEnum<{ failed: "failed"; running: "running"; completed: "completed"; suspended: "suspended"; }>; declare const WorkflowExecutionSelectSchema: z.ZodObject<{ createdAt: z.ZodString; updatedAt: z.ZodString; agentId: z.ZodString; conversationId: z.ZodString; requestId: z.ZodNullable; metadata: z.ZodNullable, Record, z.core.$ZodTypeInternals, Record>>>; projectId: z.ZodString; tenantId: z.ZodString; id: z.ZodString; status: z.ZodEnum<{ failed: "failed"; running: "running"; completed: "completed"; suspended: "suspended"; }>; }, { out: {}; in: {}; }>; declare const WorkflowExecutionInsertSchema: z.ZodObject<{ id: z.ZodString; metadata: z.ZodOptional, Record, z.core.$ZodTypeInternals, Record>>>>; projectId: z.ZodString; tenantId: z.ZodString; agentId: z.ZodString; requestId: z.ZodOptional>; conversationId: z.ZodString; status: z.ZodDefault>; }, { out: {}; in: {}; }>; declare const WorkflowExecutionUpdateSchema: z.ZodObject<{ id: z.ZodOptional; metadata: z.ZodOptional, Record, z.core.$ZodTypeInternals, Record>>>>>; projectId: z.ZodOptional; tenantId: z.ZodOptional; agentId: z.ZodOptional; requestId: z.ZodOptional>>; conversationId: z.ZodOptional; status: z.ZodOptional>>; }, { out: {}; in: {}; }>; declare const ImprovementRunSchema: z.ZodObject<{ branchName: z.ZodString; status: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const ImprovementListResponseSchema: z.ZodObject<{ data: z.ZodArray>; }, z.core.$strip>; declare const ImprovementTriggerRequestSchema: z.ZodObject<{ feedbackIds: z.ZodArray; additionalContext: z.ZodOptional; }, z.core.$strip>; declare const ImprovementTriggerResponseSchema: z.ZodObject<{ branchName: z.ZodString; conversationId: z.ZodString; }, z.core.$strip>; declare const ImprovementDiffQuerySchema: z.ZodObject<{ targetBranch: z.ZodOptional; }, z.core.$strip>; declare const ImprovementDiffResponseSchema: z.ZodObject<{ branchName: z.ZodString; targetBranch: z.ZodString; sourceHash: z.ZodOptional; targetHash: z.ZodOptional; hasConflicts: z.ZodBoolean; conflicts: z.ZodArray; ourDiffType: z.ZodString; theirDiffType: z.ZodString; base: z.ZodNullable>; ours: z.ZodNullable>; theirs: z.ZodNullable>; }, z.core.$strip>>; summary: z.ZodArray>; tables: z.ZodRecord>>; fkLinks: z.ZodOptional>; pkMap: z.ZodOptional>>; }, z.core.$strip>; declare const ImprovementMergeRequestSchema: z.ZodObject<{ targetBranch: z.ZodOptional; resolutions: z.ZodOptional; rowDefaultPick: z.ZodEnum<{ ours: "ours"; theirs: "theirs"; }>; columns: z.ZodOptional>>; }, z.core.$strip>>>; }, z.core.$strip>; declare const ImprovementMergeResponseSchema: z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; mergeCommitHash: z.ZodOptional; sourceBranch: z.ZodString; targetBranch: z.ZodString; }, z.core.$strip>; declare const ImprovementRevertRowSchema: z.ZodObject<{ table: z.ZodString; primaryKey: z.ZodRecord; diffType: z.ZodEnum<{ removed: "removed"; added: "added"; modified: "modified"; }>; }, z.core.$strip>; declare const ImprovementRevertRequestSchema: z.ZodObject<{ rows: z.ZodArray; diffType: z.ZodEnum<{ removed: "removed"; added: "added"; modified: "modified"; }>; }, z.core.$strip>>; targetBranch: z.ZodOptional; }, z.core.$strip>; declare const ImprovementSuccessMessageSchema: z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; }, z.core.$strip>; declare const ImprovementFeedbackItemSchema: z.ZodObject<{ id: z.ZodString; type: z.ZodNullable; details: z.ZodOptional>; createdAt: z.ZodNullable; }, z.core.$strip>; declare const ImprovementConversationResponseSchema: z.ZodObject<{ conversationIds: z.ZodArray; status: z.ZodOptional; feedbackItems: z.ZodOptional; details: z.ZodOptional>; createdAt: z.ZodNullable; }, z.core.$strip>>>; }, z.core.$strip>; declare const EvalSummaryItemStatusSchema: z.ZodObject<{ total: z.ZodNumber; completed: z.ZodNumber; failed: z.ZodNumber; pending: z.ZodNumber; running: z.ZodNumber; }, z.core.$strip>; declare const EvalSummaryResultSchema: z.ZodObject<{ id: z.ZodString; evaluatorId: z.ZodString; evaluatorName: z.ZodString; conversationId: z.ZodString; input: z.ZodNullable; output: z.ZodOptional>; passed: z.ZodEnum<{ pending: "pending"; failed: "failed"; passed: "passed"; no_criteria: "no_criteria"; }>; createdAt: z.ZodString; }, z.core.$strip>; declare const EvalSummaryDatasetRunSchema: z.ZodObject<{ id: z.ZodString; datasetId: z.ZodString; datasetName: z.ZodString; runConfigName: z.ZodNullable; createdAt: z.ZodString; phase: z.ZodEnum<{ unknown: "unknown"; baseline: "baseline"; post_change: "post_change"; }>; ref: z.ZodNullable>; items: z.ZodObject<{ total: z.ZodNumber; completed: z.ZodNumber; failed: z.ZodNumber; pending: z.ZodNumber; running: z.ZodNumber; }, z.core.$strip>; evaluationJobConfigId: z.ZodNullable; evaluationResults: z.ZodArray; output: z.ZodOptional>; passed: z.ZodEnum<{ pending: "pending"; failed: "failed"; passed: "passed"; no_criteria: "no_criteria"; }>; createdAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; declare const EvalSummaryResponseSchema: z.ZodObject<{ datasetRuns: z.ZodArray; createdAt: z.ZodString; phase: z.ZodEnum<{ unknown: "unknown"; baseline: "baseline"; post_change: "post_change"; }>; ref: z.ZodNullable>; items: z.ZodObject<{ total: z.ZodNumber; completed: z.ZodNumber; failed: z.ZodNumber; pending: z.ZodNumber; running: z.ZodNumber; }, z.core.$strip>; evaluationJobConfigId: z.ZodNullable; evaluationResults: z.ZodArray; output: z.ZodOptional>; passed: z.ZodEnum<{ pending: "pending"; failed: "failed"; passed: "passed"; no_criteria: "no_criteria"; }>; createdAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; declare const ImprovementBranchParamsSchema: z.ZodObject<{ tenantId: z.ZodString; projectId: z.ZodString; branchName: z.ZodString; }, z.core.$strip>; type ImprovementRun = z.infer; type ImprovementListResponse = z.infer; type ImprovementTriggerRequest = z.infer; type ImprovementTriggerResponse = z.infer; type ImprovementDiffResponse = z.infer; type ImprovementMergeRequest = z.infer; type ImprovementMergeResponse = z.infer; type ImprovementRevertRow = z.infer; type ImprovementRevertRequest = z.infer; type ImprovementConversationResponse = z.infer; type EvalSummaryResponse = z.infer; type EvalSummaryDatasetRun = z.infer; type EvalSummaryResult = z.infer; //#endregion export { ALLOWED_DOMAIN_PATTERN, AddPublicKeyRequestSchema, AddScheduledTriggerUserRequestSchema, AddTriggerUserRequestSchema, AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentDatasetRelationApiInsertSchema, AgentDatasetRelationApiSelectSchema, AgentDatasetRelationInsertSchema, AgentDatasetRelationSelectSchema, AgentDatasetRelationUpdateSchema, AgentEvaluatorRelationApiInsertSchema, AgentEvaluatorRelationApiSelectSchema, AgentEvaluatorRelationInsertSchema, AgentEvaluatorRelationSelectSchema, AgentEvaluatorRelationUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhen, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AgentWithinContextOfProjectSchemaBase, AgentWithinContextOfProjectSelectResponse, AgentWithinContextOfProjectSelectSchema, AgentWithinContextOfProjectSelectSchemaWithRelationIds, AllAgentSchema, AnonymousSessionResponseSchema, ApiConfigSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, AppApiCreationResponseSchema, AppApiInsertSchema, AppApiResponseSelectSchema, AppApiSelectSchema, AppApiUpdateSchema, AppConfigResponseSchema, AppConfigSchema, AppInsertSchema, AppListResponse, AppResponse, AppSelectSchema, AppUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, BulkFeedbackResponseSchema, CanUseItemSchema, ChannelAccessModeSchema, ChannelIdsSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ComponentJoin, ComponentJoinSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationDetailSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, CronExpressionSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, DataPartSchema, DatasetApiInsertSchema, DatasetApiSelectSchema, DatasetApiUpdateSchema, DatasetInsertSchema, DatasetItemApiInsertSchema, DatasetItemApiSelectSchema, DatasetItemApiUpdateSchema, DatasetItemInsertSchema, DatasetItemSelectSchema, DatasetItemUpdateSchema, DatasetRunApiInsertSchema, DatasetRunApiSelectSchema, DatasetRunApiUpdateSchema, DatasetRunConfigAgentRelationInsertSchema, DatasetRunConfigAgentRelationSelectSchema, DatasetRunConfigAgentRelationUpdateSchema, DatasetRunConfigApiInsertSchema, DatasetRunConfigApiSelectSchema, DatasetRunConfigApiUpdateSchema, DatasetRunConfigEvaluatorRelationInsertSchema, DatasetRunConfigEvaluatorRelationSelectSchema, DatasetRunConfigEvaluatorRelationUpdateSchema, DatasetRunConfigInsertSchema, DatasetRunConfigSelectSchema, DatasetRunConfigUpdateSchema, DatasetRunConversationRelationApiInsertSchema, DatasetRunConversationRelationApiSelectSchema, DatasetRunConversationRelationApiUpdateSchema, DatasetRunConversationRelationInsertSchema, DatasetRunConversationRelationSelectSchema, DatasetRunConversationRelationUpdateSchema, DatasetRunInsertSchema, DatasetRunItemSchema, DatasetRunSelectSchema, DatasetRunUpdateSchema, DatasetSelectSchema, DatasetUpdateSchema, DateTimeFilterQueryParamsSchema, ErrorResponseSchema, EvalSummaryDatasetRun, EvalSummaryDatasetRunSchema, EvalSummaryItemStatusSchema, EvalSummaryResponse, EvalSummaryResponseSchema, EvalSummaryResult, EvalSummaryResultSchema, EvaluationJobConfigApiInsertSchema, EvaluationJobConfigApiSelectSchema, EvaluationJobConfigApiUpdateSchema, EvaluationJobConfigEvaluatorRelationApiInsertSchema, EvaluationJobConfigEvaluatorRelationApiSelectSchema, EvaluationJobConfigEvaluatorRelationApiUpdateSchema, EvaluationJobConfigEvaluatorRelationInsertSchema, EvaluationJobConfigEvaluatorRelationSelectSchema, EvaluationJobConfigEvaluatorRelationUpdateSchema, EvaluationJobConfigInsertSchema, EvaluationJobConfigSelectSchema, EvaluationJobConfigUpdateSchema, EvaluationJobFilterCriteriaSchema, EvaluationResultApiInsertSchema, EvaluationResultApiSelectSchema, EvaluationResultApiUpdateSchema, EvaluationResultInsertSchema, EvaluationResultSelectSchema, EvaluationResultUpdateSchema, EvaluationRunApiInsertSchema, EvaluationRunApiSelectSchema, EvaluationRunApiUpdateSchema, EvaluationRunConfigApiInsertSchema, EvaluationRunConfigApiSelectSchema, EvaluationRunConfigApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema, EvaluationRunConfigEvaluationSuiteConfigRelationInsertSchema, EvaluationRunConfigEvaluationSuiteConfigRelationSelectSchema, EvaluationRunConfigEvaluationSuiteConfigRelationUpdateSchema, EvaluationRunConfigInsertSchema, EvaluationRunConfigSelectSchema, EvaluationRunConfigUpdateSchema, EvaluationRunConfigWithSuiteConfigsApiSelectSchema, EvaluationRunInsertSchema, EvaluationRunSelectSchema, EvaluationRunUpdateSchema, EvaluationSuiteConfigApiInsertSchema, EvaluationSuiteConfigApiSelectSchema, EvaluationSuiteConfigApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationApiInsertSchema, EvaluationSuiteConfigEvaluatorRelationApiSelectSchema, EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema, EvaluationSuiteConfigEvaluatorRelationInsertSchema, EvaluationSuiteConfigEvaluatorRelationSelectSchema, EvaluationSuiteConfigEvaluatorRelationUpdateSchema, EvaluationSuiteConfigInsertSchema, EvaluationSuiteConfigSelectSchema, EvaluationSuiteConfigUpdateSchema, EvaluatorApiInsertSchema, EvaluatorApiSelectSchema, EvaluatorApiUpdateSchema, EvaluatorInsertSchema, EvaluatorSelectSchema, EvaluatorUpdateSchema, EventApiInsertSchema, EventApiSelectSchema, EventInsertSchema, EventResponse, EventSelectSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FeedbackApiInsertSchema, FeedbackApiSelectSchema, FeedbackApiUpdateSchema, FeedbackInsertSchema, FeedbackListResponse, FeedbackResponse, FeedbackSelectSchema, FeedbackUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FilePartSchema, FullAgentAgentInsertSchema, FullAgentSubAgentSelectSchema, FullAgentSubAgentSelectSchemaWithRelationIds, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FullProjectSelectResponse, FullProjectSelectSchema, FullProjectSelectSchemaWithRelationIds, FullProjectSelectWithRelationIdsResponse, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfig, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, HttpHeaderNameSchema, HttpHeaderValueSchema, HttpHeadersRecordSchema, ImprovementBranchParamsSchema, ImprovementConversationResponse, ImprovementConversationResponseSchema, ImprovementDiffQuerySchema, ImprovementDiffResponse, ImprovementDiffResponseSchema, ImprovementFeedbackItemSchema, ImprovementListResponse, ImprovementListResponseSchema, ImprovementMergeRequest, ImprovementMergeRequestSchema, ImprovementMergeResponse, ImprovementMergeResponseSchema, ImprovementRevertRequest, ImprovementRevertRequestSchema, ImprovementRevertRow, ImprovementRevertRowSchema, ImprovementRun, ImprovementRunSchema, ImprovementSuccessMessageSchema, ImprovementTriggerRequest, ImprovementTriggerRequestSchema, ImprovementTriggerResponse, ImprovementTriggerResponseSchema, LastRunSummarySchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MCPCatalogListResponse, MCPToolConfigSchema, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettings, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, OutputContract, OutputContractSchema, PaginationWithRefQueryParamsSchema, PartSchema, PartSchemaType, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectMetadataInsertSchema, ProjectMetadataSelectSchema, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, PublicKeyAlgorithmSchema, PublicKeyConfigSchema, PublicKeyListResponseSchema, PublicKeyResponseSchema, RefQueryParamSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SCHEDULED_TRIGGER_DEFAULT_DISPATCH_DELAY_MS, SCHEDULED_TRIGGER_DEFAULT_MAX_RETRIES, SCHEDULED_TRIGGER_DEFAULT_RETRY_DELAY_SECONDS, SCHEDULED_TRIGGER_DEFAULT_TIMEOUT_SECONDS, ScheduledTriggerApiInsertBaseSchema, ScheduledTriggerApiInsertSchema, ScheduledTriggerApiSelectSchema, ScheduledTriggerApiUpdateSchema, ScheduledTriggerInsertSchema, ScheduledTriggerInvocationApiInsertSchema, ScheduledTriggerInvocationApiSelectSchema, ScheduledTriggerInvocationApiUpdateSchema, ScheduledTriggerInvocationInsertSchema, ScheduledTriggerInvocationListResponse, ScheduledTriggerInvocationResponse, ScheduledTriggerInvocationSelectSchema, ScheduledTriggerInvocationStatus, ScheduledTriggerInvocationStatusEnum, ScheduledTriggerInvocationUpdateSchema, ScheduledTriggerListResponse, ScheduledTriggerResponse, ScheduledTriggerSelectSchema, ScheduledTriggerUpdateSchema, ScheduledTriggerUsersResponseSchema, ScheduledTriggerWithRunInfo, ScheduledTriggerWithRunInfoListResponse, ScheduledTriggerWithRunInfoSchema, SchedulerStateSelectSchema, SetScheduledTriggerUsersRequestSchema, SetTriggerUsersRequestSchema, SignatureSource, SignatureSourceSchema, SignatureValidationOptions, SignatureValidationOptionsSchema, SignatureVerificationConfig, SignatureVerificationConfigSchema, SignedComponent, SignedComponentSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhen, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentFunctionToolRelationApiInsertSchema, SubAgentFunctionToolRelationApiSelectSchema, SubAgentFunctionToolRelationInsertSchema, SubAgentFunctionToolRelationListResponse, SubAgentFunctionToolRelationResponse, SubAgentFunctionToolRelationSelectSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhen, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, SupportCopilotConfigSchema, SupportCopilotPlatformSchema, SupportCopilotQuickActionGroupSchema, SupportCopilotQuickActionSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, TenantProjectToolParamsSchema, TextPartSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, TriggerApiInsertBaseSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerAuthHeaderInputSchema, TriggerAuthHeaderStoredSchema, TriggerAuthHeaderUpdateSchema, TriggerAuthenticationInputSchema, TriggerAuthenticationSchema, TriggerAuthenticationStoredSchema, TriggerAuthenticationUpdateSchema, TriggerBatchConversationEvaluationSchema, TriggerConversationEvaluationSchema, TriggerEvaluationJobSchema, TriggerInsertSchema, TriggerInvocationApiInsertSchema, TriggerInvocationApiSelectSchema, TriggerInvocationApiUpdateSchema, TriggerInvocationInsertSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationSelectSchema, TriggerInvocationStatusEnum, TriggerInvocationUpdateSchema, TriggerListResponse, TriggerOutputTransformSchema, TriggerResponse, TriggerSelectSchema, TriggerUpdateSchema, TriggerUsersResponseSchema, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema, TriggerWithWebhookUrlWithWarningResponse, UserIdParamsSchema, UserIdSchema, UserProfileApiInsertSchema, UserProfileApiUpdateSchema, UserProfileInsertSchema, UserProfileSelectSchema, UserProfileUpdateSchema, WebClientConfigResponseSchema, WebClientConfigSchema, WebhookConversationDataSchema, WebhookDestinationApiInsertSchema, WebhookDestinationApiSelectSchema, WebhookDestinationApiUpdateSchema, WebhookDestinationEventTypeEnum, WebhookDestinationInsertSchema, WebhookDestinationListResponse, WebhookDestinationResponse, WebhookDestinationSelectSchema, WebhookDestinationUpdateSchema, WebhookEventCreatedDataSchema, WebhookEventEnvelopeSchema, WebhookFeedbackDataSchema, WebhookMessageSchema, WorkAppGitHubAccessGetResponseSchema, WorkAppGitHubAccessModeSchema, WorkAppGitHubAccessSetRequestSchema, WorkAppGitHubAccessSetResponseSchema, WorkAppGitHubAccountTypeSchema, WorkAppGitHubInstallationApiInsertSchema, WorkAppGitHubInstallationInsertSchema, WorkAppGitHubInstallationSelectSchema, WorkAppGitHubInstallationStatusSchema, WorkAppGitHubMcpToolRepositoryAccessSelectSchema, WorkAppGitHubProjectRepositoryAccessSelectSchema, WorkAppGitHubRepositoryApiInsertSchema, WorkAppGitHubRepositoryInsertSchema, WorkAppGitHubRepositorySelectSchema, WorkAppGithubInstallationApiSelectSchema, WorkAppSlackAgentConfigRequest, WorkAppSlackAgentConfigRequestSchema, WorkAppSlackAgentConfigResponse, WorkAppSlackAgentConfigResponseSchema, WorkAppSlackChannelAgentConfigSelectSchema, WorkAppSlackMcpToolAccessConfigApiInsertSchema, WorkAppSlackMcpToolAccessConfigInsertSchema, WorkAppSlackWorkspaceSelectSchema, WorkflowExecutionInsertSchema, WorkflowExecutionSelectSchema, WorkflowExecutionStatusEnum, WorkflowExecutionUpdateSchema, canDelegateToExternalAgentInsertSchema, canDelegateToExternalAgentSchema, canDelegateToTeamAgentInsertSchema, canDelegateToTeamAgentSchema, canRelateToInternalSubAgentSchema, maxScheduledTriggerDispatchDelayMs, maxWebhookDispatchDelayMs, runAsUserIdsSchema };