import "./auth-schema.js";
import "./auth-validation-schemas.js";
import { A_ as DELEGATION_FROM_SUB_AGENT_ID, Ar as detectAuthenticationRequired, C_ as REDUCE_OPERATIONS, Ch as StopWhenSchema, D_ as AGENT_IDS, E_ as ACTIVITY_TYPES, F_ as TRANSFER_FROM_SUB_AGENT_ID, I_ as TRANSFER_TO_SUB_AGENT_ID, L_ as UNKNOWN_VALUE, M_ as DELEGATION_TO_SUB_AGENT_ID, Mf as AgentStopWhen, N_ as SPAN_KEYS, Nf as AgentStopWhenSchema, O_ as AI_OPERATIONS, P_ as SPAN_NAMES, S_ as QUERY_TYPES, Sh as StopWhen, T_ as ACTIVITY_STATUS, Vf as ApiKeyApiUpdateSchema, __ as ORDER_DIRECTIONS, at as ConversationHistoryConfig, b_ as QUERY_EXPRESSIONS, dg as SubAgentStopWhenSchema, eh as ModelSettings, f_ as AGGREGATE_OPERATORS, fm as FunctionApiInsertSchema, g_ as OPERATORS, h_ as FIELD_TYPES, j_ as DELEGATION_ID, k_ as AI_TOOL_TYPES, lm as FullAgentAgentInsertSchema, lt as CredentialStoreType, m_ as DATA_TYPES, mm as FunctionApiUpdateSchema, p_ as DATA_SOURCES, pm as FunctionApiSelectSchema, pt as MCPTransportType, sn as validatePropsAsJsonSchema, th as ModelSettingsSchema, ug as SubAgentStopWhen, v_ as PANEL_TYPES, w_ as ACTIVITY_NAMES, x_ as QUERY_FIELD_CONFIGS, y_ as QUERY_DEFAULTS } from "./client.js";
import "./schema-conversion.js";
import { z } from "@hono/zod-openapi";

//#region src/credential-stores/default-constants.d.ts
declare const DEFAULT_NANGO_STORE_ID = "nango-default";
//#endregion
//#region src/client-exports.d.ts

declare const TenantParamsSchema: z.ZodObject<{
  tenantId: 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 IdParamsSchema: z.ZodObject<{
  id: z.ZodString;
}, z.core.$strip>;
declare const PaginationSchema: z.ZodObject<{
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
  total: z.ZodNumber;
  pages: z.ZodNumber;
}, z.core.$strip>;
declare const ListResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z.ZodObject<{
  data: z.ZodArray<T>;
  pagination: z.ZodObject<{
    page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
    limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
    total: z.ZodNumber;
    pages: z.ZodNumber;
  }, z.core.$strip>;
}, z.core.$strip>;
declare const SingleResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z.ZodObject<{
  data: T;
}, z.core.$strip>;
declare const ErrorResponseSchema: z.ZodObject<{
  error: z.ZodString;
  message: z.ZodOptional<z.ZodString>;
  details: z.ZodOptional<z.ZodUnknown>;
}, z.core.$strip>;
declare const AgentApiInsertSchema: z.ZodObject<{
  id: z.ZodOptional<z.ZodString>;
  name: z.ZodString;
  description: z.ZodOptional<z.ZodString>;
  prompt: z.ZodOptional<z.ZodString>;
  model: z.ZodOptional<z.ZodObject<{
    model: z.ZodOptional<z.ZodString>;
    providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
  }, z.core.$strip>>;
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
  dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
  artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
  canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
  canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
  type: z.ZodOptional<z.ZodEnum<{
    internal: "internal";
    external: "external";
  }>>;
}, z.core.$strip>;
declare const ToolApiInsertSchema: z.ZodObject<{
  id: z.ZodOptional<z.ZodString>;
  name: z.ZodString;
  description: z.ZodOptional<z.ZodString>;
  type: z.ZodEnum<{
    mcp: "mcp";
    hosted: "hosted";
  }>;
  config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
  credentialReferenceId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
declare const ApiKeyApiSelectSchema: z.ZodObject<{
  id: z.ZodString;
  tenantId: z.ZodString;
  projectId: z.ZodString;
  agentId: z.ZodString;
  publicId: z.ZodString;
  keyHash: z.ZodString;
  keyPrefix: z.ZodString;
  name: z.ZodOptional<z.ZodString>;
  lastUsedAt: z.ZodOptional<z.ZodString>;
  expiresAt: z.ZodOptional<z.ZodString>;
  createdAt: z.ZodString;
  updatedAt: z.ZodString;
}, z.core.$strip>;
declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
  data: z.ZodObject<{
    apiKey: z.ZodObject<{
      id: z.ZodString;
      tenantId: z.ZodString;
      projectId: z.ZodString;
      agentId: z.ZodString;
      publicId: z.ZodString;
      keyHash: z.ZodString;
      keyPrefix: z.ZodString;
      name: z.ZodOptional<z.ZodString>;
      lastUsedAt: z.ZodOptional<z.ZodString>;
      expiresAt: z.ZodOptional<z.ZodString>;
      createdAt: z.ZodString;
      updatedAt: z.ZodString;
    }, z.core.$strip>;
    key: z.ZodString;
  }, z.core.$strip>;
}, z.core.$strip>;
declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
  id: z.ZodString;
  tenantId: z.ZodOptional<z.ZodString>;
  projectId: z.ZodOptional<z.ZodString>;
  name: z.ZodString;
  type: z.ZodEnum<{
    readonly memory: "memory";
    readonly keychain: "keychain";
    readonly nango: "nango";
  }>;
  credentialStoreId: z.ZodString;
  retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
  createdAt: z.ZodOptional<z.ZodString>;
  updatedAt: z.ZodOptional<z.ZodString>;
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  toolId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$strip>;
declare const DataComponentApiInsertSchema: z.ZodObject<{
  id: z.ZodString;
  name: z.ZodString;
  description: z.ZodOptional<z.ZodString>;
  props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
  render: z.ZodOptional<z.ZodNullable<z.ZodObject<{
    component: z.ZodString;
    mockData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
  }, z.core.$strip>>>;
}, z.core.$strip>;
declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
  id: z.ZodString;
  name: z.ZodString;
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
}, {
  out: {};
  in: {};
}>;
declare const ContextConfigApiInsertSchema: z.ZodObject<{
  id: z.ZodOptional<z.ZodString>;
  name: z.ZodOptional<z.ZodString>;
  description: z.ZodOptional<z.ZodString>;
  type: z.ZodOptional<z.ZodString>;
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, z.core.$strip>;
declare const ExternalAgentApiInsertSchema: z.ZodObject<{
  id: z.ZodOptional<z.ZodString>;
  name: z.ZodString;
  description: z.ZodOptional<z.ZodString>;
  baseUrl: z.ZodString;
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
  type: z.ZodOptional<z.ZodLiteral<"external">>;
}, z.core.$strip>;
declare const AgentAgentApiInsertSchema: z.ZodObject<{
  id: z.ZodOptional<z.ZodString>;
  name: z.ZodString;
  description: z.ZodOptional<z.ZodString>;
  defaultSubAgentId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
declare const FullAgentDefinitionSchema: z.ZodObject<{
  id: z.ZodOptional<z.ZodString>;
  name: z.ZodString;
  description: z.ZodOptional<z.ZodString>;
  defaultSubAgentId: z.ZodOptional<z.ZodString>;
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    models: z.ZodOptional<z.ZodObject<{
      base: z.ZodOptional<z.ZodObject<{
        model: z.ZodOptional<z.ZodString>;
        providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
      }, z.core.$strip>>;
      structuredOutput: z.ZodOptional<z.ZodObject<{
        model: z.ZodOptional<z.ZodString>;
        providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
      }, z.core.$strip>>;
      summarizer: z.ZodOptional<z.ZodObject<{
        model: z.ZodOptional<z.ZodString>;
        providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
      }, z.core.$strip>>;
    }, z.core.$strip>>;
    stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
      stepCountIs?: number | undefined;
    }, {
      stepCountIs?: number | undefined;
    }, z.core.$ZodTypeInternals<{
      stepCountIs?: number | undefined;
    }, {
      stepCountIs?: number | undefined;
    }>>>>;
    createdAt: z.ZodOptional<z.ZodString>;
    updatedAt: z.ZodOptional<z.ZodString>;
    conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
    type: z.ZodLiteral<"internal">;
    canUse: z.ZodArray<z.ZodObject<{
      agentToolRelationId: z.ZodOptional<z.ZodString>;
      toolId: z.ZodString;
      toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
      headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
      toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
        needsApproval: z.ZodOptional<z.ZodBoolean>;
      }, z.core.$strip>>>>;
    }, z.core.$strip>>;
    dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
    artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
    canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
    prompt: z.ZodOptional<z.ZodString>;
    canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
      externalAgentId: z.ZodString;
      subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
      headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
    }, z.core.$strip>, z.ZodObject<{
      agentId: z.ZodString;
      subAgentTeamAgentRelationId: z.ZodOptional<z.ZodString>;
      headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
    }, z.core.$strip>]>>>;
  }, z.core.$strip>]>>;
  contextConfig: z.ZodOptional<z.ZodObject<{
    id: z.ZodOptional<z.ZodString>;
    name: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    type: z.ZodOptional<z.ZodString>;
    config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
  }, z.core.$strip>>;
  models: z.ZodOptional<z.ZodObject<{
    base: z.ZodOptional<z.ZodObject<{
      model: z.ZodString;
      providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    }, z.core.$strip>>;
    structuredOutput: z.ZodOptional<z.ZodObject<{
      model: z.ZodString;
      providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    }, z.core.$strip>>;
    summarizer: z.ZodOptional<z.ZodObject<{
      model: z.ZodString;
      providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    }, z.core.$strip>>;
  }, z.core.$strip>>;
  stopWhen: z.ZodOptional<z.ZodObject<{
    transferCountIs: z.ZodOptional<z.ZodNumber>;
  }, z.core.$strip>>;
  prompt: z.ZodOptional<z.ZodString>;
  statusUpdates: z.ZodOptional<z.ZodObject<{
    enabled: z.ZodOptional<z.ZodBoolean>;
    numEvents: z.ZodOptional<z.ZodNumber>;
    timeInSeconds: z.ZodOptional<z.ZodNumber>;
    prompt: z.ZodOptional<z.ZodString>;
    statusComponents: z.ZodOptional<z.ZodArray<z.ZodObject<{
      type: z.ZodString;
      description: z.ZodOptional<z.ZodString>;
      detailsSchema: z.ZodOptional<z.ZodObject<{
        type: z.ZodLiteral<"object">;
        properties: z.ZodRecord<z.ZodString, z.ZodAny>;
        required: z.ZodOptional<z.ZodArray<z.ZodString>>;
      }, z.core.$strip>>;
    }, z.core.$strip>>>;
  }, z.core.$strip>>;
}, z.core.$strip>;
type AgentApiInsert = z.infer<typeof AgentApiInsertSchema>;
type ToolApiInsert = z.infer<typeof ToolApiInsertSchema>;
type FunctionApiInsert = z.infer<typeof FunctionApiInsertSchema>;
type ApiKeyApiSelect = z.infer<typeof ApiKeyApiSelectSchema>;
type ApiKeyApiCreationResponse = z.infer<typeof ApiKeyApiCreationResponseSchema>;
type ApiKeyApiUpdateResponse = z.infer<typeof ApiKeyApiUpdateSchema>;
type CredentialReferenceApiInsert = z.infer<typeof CredentialReferenceApiInsertSchema>;
type DataComponentApiInsert = z.infer<typeof DataComponentApiInsertSchema>;
type ArtifactComponentApiInsert = z.infer<typeof ArtifactComponentApiInsertSchema>;
type ContextConfigApiInsert = z.infer<typeof ContextConfigApiInsertSchema>;
type ExternalAgentApiInsert = z.infer<typeof ExternalAgentApiInsertSchema>;
type AgentAgentApiInsert = z.infer<typeof AgentAgentApiInsertSchema>;
type FullAgentDefinition = z.infer<typeof FullAgentDefinitionSchema>;
type InternalAgentDefinition = z.infer<typeof FullAgentAgentInsertSchema>;
type ExternalAgentDefinition = z.infer<typeof ExternalAgentApiInsertSchema>;
type TenantParams = z.infer<typeof TenantParamsSchema>;
type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
declare const MIN_ID_LENGTH = 1;
declare const MAX_ID_LENGTH = 255;
declare const URL_SAFE_ID_PATTERN: RegExp;
declare const resourceIdSchema: z.ZodString;
declare function generateIdFromName(name: string): string;
type ToolInsert = ToolApiInsert;
type AgentAgentInsert = AgentAgentApiInsert;
//#endregion
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, AgentAgentApiInsert, AgentAgentApiInsertSchema, AgentAgentInsert, AgentApiInsert, AgentApiInsertSchema, type AgentStopWhen, AgentStopWhenSchema, ApiKeyApiCreationResponse, ApiKeyApiCreationResponseSchema, ApiKeyApiSelect, ApiKeyApiSelectSchema, ApiKeyApiUpdateResponse, ArtifactComponentApiInsert, ArtifactComponentApiInsertSchema, ContextConfigApiInsert, ContextConfigApiInsertSchema, CredentialReferenceApiInsert, CredentialReferenceApiInsertSchema, CredentialStoreType, DATA_SOURCES, DATA_TYPES, DEFAULT_NANGO_STORE_ID, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, DataComponentApiInsert, DataComponentApiInsertSchema, ErrorResponse, ErrorResponseSchema, ExternalAgentApiInsert, ExternalAgentApiInsertSchema, ExternalAgentDefinition, FIELD_TYPES, FullAgentDefinition, FullAgentDefinitionSchema, FunctionApiInsert, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, IdParamsSchema, InternalAgentDefinition, ListResponseSchema, MAX_ID_LENGTH, MCPTransportType, MIN_ID_LENGTH, type ModelSettings, ModelSettingsSchema, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, PaginationSchema, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, SingleResponseSchema, type StopWhen, StopWhenSchema, type SubAgentStopWhen, SubAgentStopWhenSchema, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, TenantParams, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsert, ToolApiInsertSchema, ToolInsert, UNKNOWN_VALUE, URL_SAFE_ID_PATTERN, detectAuthenticationRequired, generateIdFromName, resourceIdSchema, validatePropsAsJsonSchema };
//# sourceMappingURL=client-exports.d.ts.map