import { $ as ComposioMcpUpdateResponseSchema, $t as ConnectionData, A as ToolkitVersions, An as Oauth2FailedConnectionDataSchema, At as MCPToolkitConfigSchema, B as afterExecuteMetaModifier, Bt as McpServerUrlInfo, C as ToolkitLatestVersion, Cn as Oauth2ActiveConnectionData, Ct as MCPServerListResponseSchema, D as ToolkitVersionParam, Dn as Oauth2ExpiredConnectionData, Dt as MCPSingleAppServer, E as ToolkitVersion, En as Oauth2ConnectionDataSchema, Et as MCPServerUpdateParamsSchema, F as ProviderOptions, Fn as Oauth2InitiatingConnectionData, Ft as McpListResponseSchema, G as BaseComposioProvider, Gt as McpUrlResponseCamelCase, H as beforeExecuteMetaModifier, Ht as McpUpdateResponse, I as SessionExecuteMetaModifiers, In as Oauth2InitiatingConnectionDataSchema, It as McpRetrieveResponse, J as ComposioGenerateURLParamsSchema, Jt as ExecuteToolFnOptions, K as BaseNonAgenticProvider, Kt as McpUserConnectionStatus, L as SessionMetaToolOptions, Ln as RedirectableAuthSchemeSchema, Lt as McpRetrieveResponseSchema, M as AgenticToolOptions, Mn as Oauth2InactiveConnectionDataSchema, Mt as McpDeleteResponse, N as ExecuteToolModifiers, Nn as Oauth2InitiatedConnectionData, Nt as McpDeleteResponseSchema, O as ToolkitVersionParamSchema, On as Oauth2ExpiredConnectionDataSchema, Ot as MCPSingleAppServerSchema, P as MetaToolArguments, Pn as Oauth2InitiatedConnectionDataSchema, Pt as McpListResponse, Q as ComposioMcpRetrieveResponseSchema, Qt as BillcomAuthConnectionDataSchema, R as ToolOptions, Rt as McpServerCreateResponse, S as Toolkit, Sn as Oauth1InitiatingConnectionDataSchema, St as MCPServerListResponse, T as ToolkitSchema, Tn as Oauth2ConnectionData, Tt as MCPServerUpdateParams, U as beforeExecuteModifier, Ut as McpUpdateResponseSchema, V as afterExecuteModifier, Vt as McpToolkitConnectionStatus, W as BaseAgenticProvider, Wt as McpUrlResponse, X as ComposioMcpDeleteResponseSchema, Xt as Provider, Y as ComposioGenerateURLResponseSchema, Yt as GlobalExecuteToolFn, Z as ComposioMcpListResponseSchema, Zt as BaseConnectionFields, _ as ToolListResponseSchema, _n as Oauth1InactiveConnectionData, _t as MCPMultiAppServer, a as SchemaModifierOptions, an as CustomOauth1ConnectionData, at as GenerateURLParamsSchema, b as ToolRetrievalOptions, bn as Oauth1InitiatedConnectionDataSchema, bt as MCPServerCreateResponse, c as ToolExecuteMetaParamsSchema, cn as CustomOauth2ConnectionDataSchema, ct as GenerateURLResponseValidated, d as ToolExecuteResponse, dn as Oauth1ConnectionData, dt as MCPCreateMethodResponse, en as ConnectionDataSchema, et as ConnectionStatus, f as ToolExecuteResponseSchema, fn as Oauth1ConnectionDataSchema, ft as MCPGenerateURLParams, g as ToolListResponse, gn as Oauth1FailedConnectionDataSchema, gt as MCPInstanceParams, h as ToolListParamsSchema, hn as Oauth1FailedConnectionData, ht as MCPGetServerParamsSchema, i as JSONSchemaPropertySchema, in as CustomConnectionDataSchema, it as GenerateURLParams, j as ToolkitVersionsSchema, jn as Oauth2InactiveConnectionData, jt as MCPToolkitConfigsArraySchema, k as ToolkitVersionSchema, kn as Oauth2FailedConnectionData, kt as MCPToolkitConfig, l as ToolExecuteParams, ln as Oauth1ActiveConnectionData, lt as MCPAuthOptions, m as ToolListParams, mn as Oauth1ExpiredConnectionDataSchema, mt as MCPGetServerParams, n as CustomAuthParamsSchema, nn as ConnectionStatuses, nt as CustomCreateResponseSchema, o as Tool, on as CustomOauth1ConnectionDataSchema, ot as GenerateURLResponse, p as ToolList, pn as Oauth1ExpiredConnectionData, pt as MCPGenerateURLParamsSchema, q as ComposioCustomCreateResponseSchema, qt as ExecuteToolFn, r as JSONSchemaProperty, rn as CustomConnectionData, rt as CustomCreateResponseValidated, s as ToolExecuteMetaParams, sn as CustomOauth2ConnectionData, st as GenerateURLResponseSchema, t as CustomAuthParams, tn as ConnectionStatusEnum, tt as CustomCreateResponse, u as ToolExecuteParamsSchema, un as Oauth1ActiveConnectionDataSchema, ut as MCPAuthOptionsSchema, v as ToolProxyParams, vn as Oauth1InactiveConnectionDataSchema, vt as MCPMultiAppServerSchema, w as ToolkitLatestVersionSchema, wn as Oauth2ActiveConnectionDataSchema, wt as MCPServerSchema, x as ToolSchema, xn as Oauth1InitiatingConnectionData, xt as MCPServerCreateResponseSchema, y as ToolProxyParamsSchema, yn as Oauth1InitiatedConnectionData, yt as MCPServer, z as TransformToolSchemaModifier, zt as McpServerGetResponse } from "./tool.types-bencsexi.mjs";
import { $ as ToolRouterToolkitsFn, A as ToolRouterAuthorizeFn, At as ConnectedAccountListParamsSchema, B as ToolRouterManageConnectionsConfigSchema, Bt as ConnectedAccountStatusSchema, C as SessionContext, Ct as ToolRouterSessionFilesMountUploadOptions, D as SessionExperimental, Dt as ConnectedAccountAuthConfig, E as Session, Et as ConnectionRequestState, F as ToolRouterConfigToolsSchema, Ft as ConnectedAccountRefreshOptionsSchema, G as ToolRouterSessionProxyExecuteResponse, Gt as CreateConnectedAccountLinkResponseSchema, H as ToolRouterSessionExecuteResponse, Ht as CreateConnectedAccountLinkOptions, I as ToolRouterCreateSessionConfig, It as ConnectedAccountRetrieveResponse, J as ToolRouterSessionSearchResponseSchema, Jt as CreateConnectedAccountParams, K as ToolRouterSessionSearchFn, Kt as CreateConnectedAccountOptions, L as ToolRouterCreateSessionConfigSchema, Lt as ConnectedAccountRetrieveResponseSchema, M as ToolRouterConfigTags, Mt as ConnectedAccountListResponseItem, N as ToolRouterConfigTagsSchema, Nt as ConnectedAccountListResponseSchema, O as SessionProxyExecuteParams, Ot as ConnectedAccountAuthConfigSchema, P as ToolRouterConfigTools, Pt as ConnectedAccountRefreshOptions, Q as ToolRouterToolkitsEnabledConfigSchema, Qt as DefaultCreateConnectedAccountParamsSchema, R as ToolRouterMCPServerConfig, Rt as ConnectedAccountStatus, S as RegisteredCustomToolkit, St as ToolRouterSessionFilesMountListOptionsSchema, T as MCPServerTypeSchema, Tt as ConnectionRequest, U as ToolRouterSessionExecuteResponseSchema, Ut as CreateConnectedAccountLinkOptionsSchema, V as ToolRouterSessionExecuteFn, Vt as ConnectedAccountStatuses, W as ToolRouterSessionProxyExecuteFn, Wt as CreateConnectedAccountLinkResponse, X as ToolRouterTagsParamSchema, Xt as CreateConnectedAccountResponse, Y as ToolRouterTagsEnableDisableSchema, Yt as CreateConnectedAccountParamsSchema, Z as ToolRouterToolkitsDisabledConfigSchema, Zt as CreateConnectedAccountResponseSchema, _ as CustomToolsMap, _t as ToolRouterSessionFilesMountDeleteOptions, a as CustomTool, at as ToolRouterToolsParamSchema, b as InputParamsSchema, bt as ToolRouterSessionFilesMountDownloadOptionsSchema, c as CustomToolInputParameter, ct as ToolkitConnectionsDetails, d as CustomToolRegistryItem, dt as FileDeleteResponse, et as ToolRouterToolkitsOptions, f as CustomToolResponse, ft as FileDeleteResponseSchema, g as CustomToolkitResponse, gt as RemoteFileDataSchema, h as CustomToolkitDefinition, ht as RemoteFileData, i as CreateCustomToolkitParams, it as ToolRouterToolsParam, j as ToolRouterConfigManageConnectionsSchema, jt as ConnectedAccountListResponse, k as SessionProxyExecuteParamsSchema, kt as ConnectedAccountListParams, l as CustomToolOptions, lt as ToolkitConnectionsDetailsSchema, m as CustomToolkit, mt as FileListResponseSchema, n as CreateCustomToolParams, nt as ToolRouterToolkitsParamSchema, o as CustomToolDefinition, ot as ToolkitConnectionState, p as CustomToolSlugSchema, pt as FileListResponse, q as ToolRouterSessionSearchResponse, qt as CreateConnectedAccountOptionsSchema, r as CreateCustomToolkitBaseSchema, rt as ToolRouterToolsFn, s as CustomToolExecuteFn, st as ToolkitConnectionStateSchema, t as CreateCustomToolBaseSchema, tt as ToolRouterToolkitsOptionsSchema, u as CustomToolRegistry, ut as RemoteFile, v as CustomToolsMapEntry, vt as ToolRouterSessionFilesMountDeleteOptionsSchema, w as MCPServerType, wt as ToolRouterSessionFilesMountUploadOptionsSchema, x as RegisteredCustomTool, xt as ToolRouterSessionFilesMountListOptions, y as ExecuteMetadata, yt as ToolRouterSessionFilesMountDownloadOptions, z as ToolRouterMCPServerConfigSchema, zt as ConnectedAccountStatusEnum } from "./customTool.types-B-4lZeSS.mjs";
import { n as createCustomToolkit, t as createCustomTool } from "./CustomTool-nLGl-RUg.mjs";
import { $ as AuthConfigCreationToolAccessConfigSchema, A as TriggerSubscribeParams, At as ToolkitAuthField, B as VerifyWebhookResult, Bt as ToolkitRetrieveCategoriesResponseSchema, C as TriggerInstanceUpsertParamsSchema, Ct as ToolKitItemSchema, D as TriggerStatusType, Dt as ToolKitMetaSchema, E as TriggerStatusEnum, Et as ToolKitMeta, F as TriggersTypeListResponse, Ft as ToolkitCategorySchema, G as WebhookPayloadV2, Gt as ToolkitsListParamsSchema, H as WebhookPayloadSchema, Ht as ToolkitRetrieveResponseSchema, I as TriggersTypeListResponseSchema, It as ToolkitListParams, J as WebhookPayloadV3Schema, K as WebhookPayloadV2Schema, L as TriggersTypeRetrieveResponse, Lt as ToolkitMangedByEnum, M as TriggerTypeSchema, Mt as ToolkitAuthFieldsResponse, N as TriggersTypeListParams, Nt as ToolkitAuthFieldsResponseSchema, O as TriggerStatuses, Ot as ToolkitAuthConfigDetails, P as TriggersTypeListParamsSchema, Pt as ToolkitCategory, Q as WebhookVersions, R as VerifyWebhookParams, Rt as ToolkitMangedByEnumSchema, S as TriggerInstanceUpsertParams, St as ToolKitItem, T as TriggerInstanceUpsertResponseSchema, Tt as ToolKitListResponseSchema, U as WebhookPayloadV1, Ut as ToolkitSortByEnum, V as WebhookPayload, Vt as ToolkitRetrieveResponse, W as WebhookPayloadV1Schema, Wt as ToolkitSortByEnumSchema, X as WebhookTriggerPayloadV3Schema, Y as WebhookTriggerPayloadV3, Z as WebhookVersion, _ as TriggerInstanceManageDeleteResponseSchema, _t as CreateAuthConfigParamsSchema, a as IncomingTriggerPayload, at as AuthConfigRetrieveResponseSchema, b as TriggerInstanceManageUpdateResponse, bt as CreateComposioManagedAuthConfigParamsSchema, c as TriggerEvent, ct as AuthConfigTypes, d as TriggerInstanceListActiveParamsSchema, dt as AuthCustomConfigUpdateParamsSchema, et as AuthConfigListParams, f as TriggerInstanceListActiveResponse, ft as AuthDefaultConfigUpdateParamsSchema, g as TriggerInstanceManageDeleteResponse, gt as CreateAuthConfigParams, h as TriggerInstanceListActiveResponseSchema, ht as AuthSchemeTypes, i as MCP, it as AuthConfigRetrieveResponse, j as TriggerType, jt as ToolkitAuthFieldSchema, k as TriggerSubscribeParamSchema, kt as ToolkitAuthConfigDetailsSchema, l as TriggerEventData, lt as AuthConfigUpdateParams, m as TriggerInstanceListActiveResponseItemSchema, mt as AuthSchemeType, n as ComposioConfig, nt as AuthConfigListResponse, o as IncomingTriggerPayloadSchema, ot as AuthConfigToolAccessConfigSchema, p as TriggerInstanceListActiveResponseItem, pt as AuthSchemeEnum, q as WebhookPayloadV3, r as OpenAIProvider, rt as AuthConfigListResponseSchema, s as TriggerData, st as AuthConfigType, t as Composio, tt as AuthConfigListParamsSchema, u as TriggerInstanceListActiveParams, ut as AuthConfigUpdateParamsSchema, v as TriggerInstanceManageUpdateParams, vt as CreateAuthConfigResponse, w as TriggerInstanceUpsertResponse, wt as ToolKitListResponse, x as TriggerInstanceManageUpdateResponseSchema, xt as CreateCustomAuthConfigParamsSchema, y as TriggerInstanceManageUpdateParamsSchema, yt as CreateAuthConfigResponseSchema, z as VerifyWebhookParamsSchema, zt as ToolkitRetrieveCategoriesResponse } from "./composio-DILWMxRU.mjs";
import { n as FileUploadData, t as FileDownloadData } from "./files.types-BXDWA_zS.mjs";
import ComposioClient, { Composio as Composio$1 } from "@composio/client";
import { z as z$1 } from "zod/v3";

//#region src/provider/ComposioProvider.d.ts
/**
 * This is a default provider implementation for Composio.
 * This class is used as a default provider for Composio, if the user does not provide a provider.
 *
 * This class shouldn't be used directly or to be extended.
 */
interface CustomTool$1 {
  name: string;
}
declare class ComposioProvider extends BaseNonAgenticProvider<Array<CustomTool$1>, CustomTool$1> {
  readonly name = "ComposioProvider";
  constructor();
  wrapTool: (tool: Tool) => CustomTool$1;
  wrapTools(tools: Tool[]): CustomTool$1[];
}
//#endregion
//#region src/utils/jsonSchema.d.ts
/**
 * Removes all non-required properties from the schema
 *
 * if no items are required, the schema is returned as is
 * @param schema - The JSON schema to remove non-required properties from
 * @returns The JSON schema with all non-required properties removed
 */
declare const removeNonRequiredProperties: <T extends {
  type: "object";
  properties: Record<string, unknown>;
  required?: string[];
  additionalProperties?: boolean;
}>(schema: T) => T;
/**
 * Convert a JSON schema to a Zod schema
 * @param jsonSchema - The JSON schema to convert
 * @param strict - Eliminates all non-required properties from the schema
 * @returns The Zod schema
 *
 * @throws {JsonSchemaToZodError} If the JSON schema is invalid
 *
 * @example
 * ```ts
 * const zodSchema = jsonSchemaToZodSchema({
 *   type: 'object',
 *   properties: {
 *     name: { type: 'string' },
 *   },
 * });
 *
 * console.log(zodSchema);
 * ```
 *
 * @example
 * ```ts
 * const zodSchema = jsonSchemaToZodSchema({
 *   type: 'object',
 *   properties: {
 *     name: { type: 'string' },
 *     age: { type: 'number' },
 *   },
 *   required: ['name'],
 * }, { strict: true });
 *
 * console.log(zodSchema);
 *
 * // Output:
 * // z.object({
 * //   name: z.string(),
 * // })
 * ```
 */
declare function jsonSchemaToZodSchema<T extends z$1.ZodTypeAny>(jsonSchema: Record<string, unknown>, {
  strict
}?: {
  strict?: boolean;
}): T;
//#endregion
//#region src/utils/mime.d.ts
/**
 * Maps MIME types to file extensions.
 * Used when deriving filenames from content-type headers (e.g. for URLs without path segments).
 */
declare function getExtensionFromMimeType(mimeType: string): string;
//#endregion
//#region src/models/AuthScheme.d.ts
declare class AuthScheme {
  /**
   * Creates a ConnectionData object for OAuth2 authentication.
   * When `access_token` is provided, status defaults to ACTIVE (token import).
   * When omitted, status defaults to INITIALIZING (redirect-based OAuth flow).
   * Pass an explicit `status` in params to override the auto-detected default.
   * @param params The OAuth2 parameters
   * @returns ConnectionData object
   */
  static OAuth2(params: BaseConnectionFields & {
    access_token?: string;
    token_type?: string;
    id_token?: string;
    refresh_token?: string;
    expires_in?: number;
    scope?: string;
    webhook_signature?: string;
    authed_user?: {
      access_token?: string;
      scope?: string;
    };
    code_verifier?: string;
    redirectUrl?: string;
    callback_url?: string;
    finalRedirectUri?: string;
    error?: string;
    error_description?: string;
    expired_at?: string;
  }): ConnectionData;
  /**
   * Creates a ConnectionData object for OAuth1 authentication.
   * When both `oauth_token` and `oauth_token_secret` are provided, status defaults to ACTIVE (token import).
   * When either is omitted, status defaults to INITIALIZING (redirect-based OAuth flow).
   * Pass an explicit `status` in params to override the auto-detected default.
   * @param params The OAuth1 parameters
   * @returns ConnectionData object
   */
  static OAuth1(params: BaseConnectionFields & {
    oauth_token?: string;
    oauth_token_secret?: string;
    consumer_key?: string;
    redirectUrl?: string;
    callback_url?: string;
    error?: string;
    error_description?: string;
    expired_at?: string;
  }): ConnectionData;
  /**
   * Creates a ConnectionData object for API Key authentication
   * @param params The API key parameters
   * @returns ConnectionData object
   */
  static APIKey(params: BaseConnectionFields & {
    api_key?: string;
    generic_api_key?: string;
  }): ConnectionData;
  /**
   * Creates a ConnectionData object for Basic authentication
   * @param params The basic auth parameters
   * @returns ConnectionData object
   */
  static Basic(params: BaseConnectionFields & {
    username: string;
    password: string;
  }): ConnectionData;
  /**
   * Creates a ConnectionData object for Bearer Token authentication
   * @param params The bearer token parameters
   * @returns ConnectionData object
   */
  static BearerToken(params: BaseConnectionFields & {
    token: string;
  }): ConnectionData;
  /**
   * Creates a ConnectionData object for Google Service Account authentication
   * @param params The Google service account parameters
   * @returns ConnectionData object
   */
  static GoogleServiceAccount(params: BaseConnectionFields & {
    credentials_json: string;
  }): ConnectionData;
  /**
   * Creates a ConnectionData object for No Auth authentication
   * @returns ConnectionData object
   */
  static NoAuth(params?: BaseConnectionFields): ConnectionData;
  /**
   * Creates a ConnectionData object for Basic with JWT authentication
   * @param params The basic with JWT parameters
   * @returns ConnectionData object
   */
  static BasicWithJWT(params: BaseConnectionFields & {
    username: string;
    password: string;
  }): ConnectionData;
  /**
   * Creates a ConnectionData object for Cal.com authentication
   * @returns ConnectionData object
   */
  static CalcomAuth(params?: BaseConnectionFields): ConnectionData;
  /**
   * Creates a ConnectionData object for Bill.com authentication
   * @param params The Bill.com auth parameters
   * @returns ConnectionData object
   */
  static BillcomAuth(params: BaseConnectionFields & {
    sessionId: string;
    devKey: string;
  }): ConnectionData;
}
//#endregion
//#region src/models/ConnectionRequest.d.ts
/**
 * Creates a connection request object with methods to manage the connection lifecycle.
 *
 * @param {ComposioClient} client - The Composio client instance
 * @param {string} connectedAccountId - The ID of the connected account
 * @param {ConnectedAccountStatus} [status] - Initial status of the connection
 * @param {string | null} [redirectUrl] - OAuth redirect URL if applicable
 * @returns {ConnectionRequestState & { waitForConnection: (timeout?: number) => Promise<ConnectedAccountRetrieveResponse> }}
 * Connection request object with state and methods
 */
declare function createConnectionRequest(client: ComposioClient, connectedAccountId: string, status?: ConnectedAccountStatus, redirectUrl?: string | null): ConnectionRequest;
//#endregion
//#region src/models/ToolRouterSession.d.ts
declare class ToolRouterSession<TToolCollection, TTool, TProvider extends BaseComposioProvider<TToolCollection, TTool, unknown>> {
  private readonly client;
  private readonly config;
  private readonly customToolsMap?;
  private readonly userId?;
  readonly sessionId: string;
  readonly mcp: ToolRouterMCPServerConfig;
  readonly experimental: SessionExperimental;
  /** Singleton session context — shared across all custom tool executions */
  private readonly sessionContext?;
  constructor(client: Composio$1, config: ComposioConfig<TProvider> | undefined, sessionId: string, mcp: ToolRouterMCPServerConfig, experimentalOverrides?: Pick<SessionExperimental, 'assistivePrompt'>, customToolsMap?: CustomToolsMap | undefined, userId?: string | undefined);
  /**
   * Get the tools available in the session, formatted for your AI framework.
   * Requires a provider to be configured in the Composio constructor.
   *
   * When custom tools are bound to the session, execution of COMPOSIO_MULTI_EXECUTE_TOOL
   * is intercepted: local tools are executed in-process, remote tools are sent to the backend.
   */
  tools(modifiers?: SessionMetaToolOptions): Promise<ReturnType<TProvider['wrapTools']>>;
  /**
   * List all custom tools registered in this session.
   * Returns tools with their final slugs, schemas, and resolved toolkit.
   *
   * @param options.toolkit - Filter by toolkit slug (e.g. 'gmail', 'DEV_TOOLS')
   * @returns Array of registered custom tools
   */
  customTools(options?: {
    toolkit?: string;
  }): RegisteredCustomTool[];
  /**
   * List all custom toolkits registered in this session.
   * Returns toolkits with their tools showing final slugs.
   *
   * @returns Array of registered custom toolkits
   */
  customToolkits(): RegisteredCustomToolkit[];
  /**
   * Initiate an authorization flow for a toolkit.
   * Returns a ConnectionRequest with a redirect URL for the user.
   */
  authorize(toolkit: string, options?: {
    callbackUrl?: string;
  }): Promise<ConnectionRequest>;
  /**
   * Query the connection state of toolkits in the session.
   * Supports pagination and filtering by toolkit slugs.
   */
  toolkits(options?: ToolRouterToolkitsOptions): Promise<{
    items: {
      slug: string;
      name: string;
      isNoAuth: boolean;
      logo?: string | undefined;
      connection?: {
        isActive: boolean;
        authConfig?: {
          id: string;
          mode: string;
          isComposioManaged: boolean;
        } | null | undefined;
        connectedAccount?: {
          status: string;
          id: string;
        } | undefined;
      } | undefined;
    }[];
    nextCursor: string | undefined;
    totalPages: number;
  }>;
  /**
   * Search for tools by semantic use case.
   * Returns relevant tools for the given query with schemas and guidance.
   */
  search(params: {
    query: string;
    toolkits?: string[];
  }): Promise<ToolRouterSessionSearchResponse>;
  /**
   * Execute a tool within the session.
   *
   * For custom tools, accepts the original slug (e.g. "GREP") or the
   * full slug (e.g. "LOCAL_GREP"). Custom tools are executed in-process;
   * remote tools are sent to the Composio backend.
   *
   * @param toolSlug - The tool slug to execute
   * @param arguments_ - Optional tool arguments
   * @returns The tool execution result
   */
  execute(toolSlug: string, arguments_?: Record<string, unknown>): Promise<ToolRouterSessionExecuteResponse>;
  /**
   * Proxy an API call through Composio's auth layer using the session's connected account.
   * The backend resolves the connected account from the toolkit within the session.
   *
   * @param params - Proxy request parameters (toolkit, endpoint, method, body, headers/query params)
   * @returns The proxied API response with status, data, headers
   */
  proxyExecute(params: SessionProxyExecuteParams): Promise<ToolRouterSessionProxyExecuteResponse>;
  /** Check if this session has any custom tools bound. */
  private hasCustomTools;
  /** Parse an individual tool item from COMPOSIO_MULTI_EXECUTE_TOOL's tools array */
  private parseToolItem;
  /**
   * Route a COMPOSIO_MULTI_EXECUTE_TOOL call.
   * Splits the tools[] array into local and remote, executes each appropriately,
   * and merges results preserving original order.
   */
  private routeMultiExecute;
}
//#endregion
//#region src/types/webhookEvents.types.d.ts
declare const WebhookEventTypes: {
  readonly CONNECTION_EXPIRED: "composio.connected_account.expired";
  readonly TRIGGER_MESSAGE: "composio.trigger.message";
};
type WebhookEventType = (typeof WebhookEventTypes)[keyof typeof WebhookEventTypes];
/**
 * Auth config schema for webhook payloads (raw API format, snake_case).
 *
 * This intentionally does NOT reuse ConnectedAccountAuthConfigSchema from
 * connectedAccounts.types.ts because:
 * - Webhook payloads arrive in raw snake_case (is_composio_managed, is_disabled)
 *   while the SDK schema uses camelCase (isComposioManaged, isDisabled)
 * - Webhook payloads include additional fields (auth_scheme, deprecated)
 *   not present in the SDK schema
 *
 * Uses .passthrough() to accept unknown fields the API may add in the future.
 *
 * @see ConnectedAccountAuthConfigSchema in connectedAccounts.types.ts for the camelCase SDK version
 */
declare const WebhookConnectedAccountAuthConfigSchema: z$1.ZodObject<{
  /** The nano ID of the auth config */
  id: z$1.ZodString;
  /** @deprecated - use state.authScheme instead */
  auth_scheme: z$1.ZodNativeEnum<{
    readonly OAUTH1: "OAUTH1";
    readonly OAUTH2: "OAUTH2";
    readonly API_KEY: "API_KEY";
    readonly BASIC: "BASIC";
    readonly BEARER_TOKEN: "BEARER_TOKEN";
    readonly BILLCOM_AUTH: "BILLCOM_AUTH";
    readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
    readonly NO_AUTH: "NO_AUTH";
    readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
    readonly CALCOM_AUTH: "CALCOM_AUTH";
    readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
    readonly SAML: "SAML";
    readonly DCR_OAUTH: "DCR_OAUTH";
    readonly S2S_OAUTH2: "S2S_OAUTH2";
  }>;
  /** Whether this auth config is managed by Composio */
  is_composio_managed: z$1.ZodBoolean;
  /** Whether the auth config is disabled */
  is_disabled: z$1.ZodBoolean;
  /** @deprecated */
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
    uuid: z$1.ZodString;
  }, "strip", z$1.ZodTypeAny, {
    uuid: string;
  }, {
    uuid: string;
  }>>;
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
  /** The nano ID of the auth config */
  id: z$1.ZodString;
  /** @deprecated - use state.authScheme instead */
  auth_scheme: z$1.ZodNativeEnum<{
    readonly OAUTH1: "OAUTH1";
    readonly OAUTH2: "OAUTH2";
    readonly API_KEY: "API_KEY";
    readonly BASIC: "BASIC";
    readonly BEARER_TOKEN: "BEARER_TOKEN";
    readonly BILLCOM_AUTH: "BILLCOM_AUTH";
    readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
    readonly NO_AUTH: "NO_AUTH";
    readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
    readonly CALCOM_AUTH: "CALCOM_AUTH";
    readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
    readonly SAML: "SAML";
    readonly DCR_OAUTH: "DCR_OAUTH";
    readonly S2S_OAUTH2: "S2S_OAUTH2";
  }>;
  /** Whether this auth config is managed by Composio */
  is_composio_managed: z$1.ZodBoolean;
  /** Whether the auth config is disabled */
  is_disabled: z$1.ZodBoolean;
  /** @deprecated */
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
    uuid: z$1.ZodString;
  }, "strip", z$1.ZodTypeAny, {
    uuid: string;
  }, {
    uuid: string;
  }>>;
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
  /** The nano ID of the auth config */
  id: z$1.ZodString;
  /** @deprecated - use state.authScheme instead */
  auth_scheme: z$1.ZodNativeEnum<{
    readonly OAUTH1: "OAUTH1";
    readonly OAUTH2: "OAUTH2";
    readonly API_KEY: "API_KEY";
    readonly BASIC: "BASIC";
    readonly BEARER_TOKEN: "BEARER_TOKEN";
    readonly BILLCOM_AUTH: "BILLCOM_AUTH";
    readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
    readonly NO_AUTH: "NO_AUTH";
    readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
    readonly CALCOM_AUTH: "CALCOM_AUTH";
    readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
    readonly SAML: "SAML";
    readonly DCR_OAUTH: "DCR_OAUTH";
    readonly S2S_OAUTH2: "S2S_OAUTH2";
  }>;
  /** Whether this auth config is managed by Composio */
  is_composio_managed: z$1.ZodBoolean;
  /** Whether the auth config is disabled */
  is_disabled: z$1.ZodBoolean;
  /** @deprecated */
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
    uuid: z$1.ZodString;
  }, "strip", z$1.ZodTypeAny, {
    uuid: string;
  }, {
    uuid: string;
  }>>;
}, z$1.ZodTypeAny, "passthrough">>;
type WebhookConnectedAccountAuthConfig = z$1.infer<typeof WebhookConnectedAccountAuthConfigSchema>;
/**
 * Simplified connection state schema for webhook payloads (raw API format).
 *
 * This intentionally does NOT reuse ConnectionDataSchema from
 * connectedAccountAuthStates.types.ts because:
 * - ConnectionDataSchema is a discriminated union requiring typed `val`
 *   per auth scheme (e.g., Oauth2ConnectionDataSchema)
 * - Webhook payloads need loose validation (z.record(z.unknown()))
 *   since the connection state varies and isn't the focus of event handling
 *
 * Uses .passthrough() to accept unknown fields the API may add in the future.
 *
 * @see ConnectionDataSchema in connectedAccountAuthStates.types.ts for the full typed version
 */
declare const WebhookConnectionStateSchema: z$1.ZodObject<{
  /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
  authScheme: z$1.ZodNativeEnum<{
    readonly OAUTH1: "OAUTH1";
    readonly OAUTH2: "OAUTH2";
    readonly API_KEY: "API_KEY";
    readonly BASIC: "BASIC";
    readonly BEARER_TOKEN: "BEARER_TOKEN";
    readonly BILLCOM_AUTH: "BILLCOM_AUTH";
    readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
    readonly NO_AUTH: "NO_AUTH";
    readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
    readonly CALCOM_AUTH: "CALCOM_AUTH";
    readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
    readonly SAML: "SAML";
    readonly DCR_OAUTH: "DCR_OAUTH";
    readonly S2S_OAUTH2: "S2S_OAUTH2";
  }>;
  /** Connection state values - varies by auth scheme */
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
  /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
  authScheme: z$1.ZodNativeEnum<{
    readonly OAUTH1: "OAUTH1";
    readonly OAUTH2: "OAUTH2";
    readonly API_KEY: "API_KEY";
    readonly BASIC: "BASIC";
    readonly BEARER_TOKEN: "BEARER_TOKEN";
    readonly BILLCOM_AUTH: "BILLCOM_AUTH";
    readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
    readonly NO_AUTH: "NO_AUTH";
    readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
    readonly CALCOM_AUTH: "CALCOM_AUTH";
    readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
    readonly SAML: "SAML";
    readonly DCR_OAUTH: "DCR_OAUTH";
    readonly S2S_OAUTH2: "S2S_OAUTH2";
  }>;
  /** Connection state values - varies by auth scheme */
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
  /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
  authScheme: z$1.ZodNativeEnum<{
    readonly OAUTH1: "OAUTH1";
    readonly OAUTH2: "OAUTH2";
    readonly API_KEY: "API_KEY";
    readonly BASIC: "BASIC";
    readonly BEARER_TOKEN: "BEARER_TOKEN";
    readonly BILLCOM_AUTH: "BILLCOM_AUTH";
    readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
    readonly NO_AUTH: "NO_AUTH";
    readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
    readonly CALCOM_AUTH: "CALCOM_AUTH";
    readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
    readonly SAML: "SAML";
    readonly DCR_OAUTH: "DCR_OAUTH";
    readonly S2S_OAUTH2: "S2S_OAUTH2";
  }>;
  /** Connection state values - varies by auth scheme */
  val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
}, z$1.ZodTypeAny, "passthrough">>;
type WebhookConnectionState = z$1.infer<typeof WebhookConnectionStateSchema>;
/**
 * Connected account data schema for webhook payloads (raw API format, snake_case).
 *
 * This is the snake_case equivalent of ConnectedAccountRetrieveResponseSchema
 * from connectedAccounts.types.ts. It intentionally does NOT reuse that schema because:
 * - Webhook payloads arrive in raw snake_case (auth_config, user_id, created_at, etc.)
 *   while the SDK schema uses camelCase (authConfig, createdAt, etc.)
 * - The SDK applies a transformation layer (utils/transformers/connectedAccounts.ts)
 *   before validation; webhooks are validated directly by the user
 * - Webhook payloads include user_id, which the SDK schema omits
 *
 * Uses .passthrough() to accept unknown fields the API may add in the future.
 *
 * @see ConnectedAccountRetrieveResponseSchema in connectedAccounts.types.ts for the camelCase SDK version
 * @see utils/transformers/connectedAccounts.ts for the snake-to-camel transformation
 */
declare const SingleConnectedAccountDetailedResponseSchema: z$1.ZodObject<{
  /** Toolkit information */
  toolkit: z$1.ZodObject<{
    slug: z$1.ZodString;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    slug: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    slug: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** Auth config details */
  auth_config: z$1.ZodObject<{
    /** The nano ID of the auth config */
    id: z$1.ZodString;
    /** @deprecated - use state.authScheme instead */
    auth_scheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Whether this auth config is managed by Composio */
    is_composio_managed: z$1.ZodBoolean;
    /** Whether the auth config is disabled */
    is_disabled: z$1.ZodBoolean;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
    }, {
      uuid: string;
    }>>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** The nano ID of the auth config */
    id: z$1.ZodString;
    /** @deprecated - use state.authScheme instead */
    auth_scheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Whether this auth config is managed by Composio */
    is_composio_managed: z$1.ZodBoolean;
    /** Whether the auth config is disabled */
    is_disabled: z$1.ZodBoolean;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
    }, {
      uuid: string;
    }>>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** The nano ID of the auth config */
    id: z$1.ZodString;
    /** @deprecated - use state.authScheme instead */
    auth_scheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Whether this auth config is managed by Composio */
    is_composio_managed: z$1.ZodBoolean;
    /** Whether the auth config is disabled */
    is_disabled: z$1.ZodBoolean;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
    }, {
      uuid: string;
    }>>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** The nano ID of the connected account */
  id: z$1.ZodString;
  /** @deprecated - user ID of the connection owner */
  user_id: z$1.ZodString;
  /** Connection status */
  status: z$1.ZodNativeEnum<{
    readonly INITIALIZING: "INITIALIZING";
    readonly INITIATED: "INITIATED";
    readonly ACTIVE: "ACTIVE";
    readonly FAILED: "FAILED";
    readonly EXPIRED: "EXPIRED";
    readonly INACTIVE: "INACTIVE";
  }>;
  /** ISO-8601 timestamp of creation */
  created_at: z$1.ZodString;
  /** ISO-8601 timestamp of last update */
  updated_at: z$1.ZodString;
  /** Connection state data (auth scheme + state values) */
  state: z$1.ZodObject<{
    /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
    authScheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Connection state values - varies by auth scheme */
    val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
    authScheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Connection state values - varies by auth scheme */
    val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
    authScheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Connection state values - varies by auth scheme */
    val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** @deprecated - use state instead */
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  /** @deprecated - use state instead */
  params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  /** Reason for the current status (e.g., expiration reason) */
  status_reason: z$1.ZodNullable<z$1.ZodString>;
  /** Whether the connection is disabled */
  is_disabled: z$1.ZodBoolean;
  /** Endpoint for making test requests */
  test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
  /** @deprecated */
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
    labels: z$1.ZodArray<z$1.ZodString, "many">;
    uuid: z$1.ZodString;
  }, "strip", z$1.ZodTypeAny, {
    uuid: string;
    labels: string[];
  }, {
    uuid: string;
    labels: string[];
  }>>;
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
  /** Toolkit information */
  toolkit: z$1.ZodObject<{
    slug: z$1.ZodString;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    slug: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    slug: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** Auth config details */
  auth_config: z$1.ZodObject<{
    /** The nano ID of the auth config */
    id: z$1.ZodString;
    /** @deprecated - use state.authScheme instead */
    auth_scheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Whether this auth config is managed by Composio */
    is_composio_managed: z$1.ZodBoolean;
    /** Whether the auth config is disabled */
    is_disabled: z$1.ZodBoolean;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
    }, {
      uuid: string;
    }>>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** The nano ID of the auth config */
    id: z$1.ZodString;
    /** @deprecated - use state.authScheme instead */
    auth_scheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Whether this auth config is managed by Composio */
    is_composio_managed: z$1.ZodBoolean;
    /** Whether the auth config is disabled */
    is_disabled: z$1.ZodBoolean;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
    }, {
      uuid: string;
    }>>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** The nano ID of the auth config */
    id: z$1.ZodString;
    /** @deprecated - use state.authScheme instead */
    auth_scheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Whether this auth config is managed by Composio */
    is_composio_managed: z$1.ZodBoolean;
    /** Whether the auth config is disabled */
    is_disabled: z$1.ZodBoolean;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
    }, {
      uuid: string;
    }>>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** The nano ID of the connected account */
  id: z$1.ZodString;
  /** @deprecated - user ID of the connection owner */
  user_id: z$1.ZodString;
  /** Connection status */
  status: z$1.ZodNativeEnum<{
    readonly INITIALIZING: "INITIALIZING";
    readonly INITIATED: "INITIATED";
    readonly ACTIVE: "ACTIVE";
    readonly FAILED: "FAILED";
    readonly EXPIRED: "EXPIRED";
    readonly INACTIVE: "INACTIVE";
  }>;
  /** ISO-8601 timestamp of creation */
  created_at: z$1.ZodString;
  /** ISO-8601 timestamp of last update */
  updated_at: z$1.ZodString;
  /** Connection state data (auth scheme + state values) */
  state: z$1.ZodObject<{
    /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
    authScheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Connection state values - varies by auth scheme */
    val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
    authScheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Connection state values - varies by auth scheme */
    val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
    authScheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Connection state values - varies by auth scheme */
    val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** @deprecated - use state instead */
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  /** @deprecated - use state instead */
  params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  /** Reason for the current status (e.g., expiration reason) */
  status_reason: z$1.ZodNullable<z$1.ZodString>;
  /** Whether the connection is disabled */
  is_disabled: z$1.ZodBoolean;
  /** Endpoint for making test requests */
  test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
  /** @deprecated */
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
    labels: z$1.ZodArray<z$1.ZodString, "many">;
    uuid: z$1.ZodString;
  }, "strip", z$1.ZodTypeAny, {
    uuid: string;
    labels: string[];
  }, {
    uuid: string;
    labels: string[];
  }>>;
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
  /** Toolkit information */
  toolkit: z$1.ZodObject<{
    slug: z$1.ZodString;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    slug: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    slug: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** Auth config details */
  auth_config: z$1.ZodObject<{
    /** The nano ID of the auth config */
    id: z$1.ZodString;
    /** @deprecated - use state.authScheme instead */
    auth_scheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Whether this auth config is managed by Composio */
    is_composio_managed: z$1.ZodBoolean;
    /** Whether the auth config is disabled */
    is_disabled: z$1.ZodBoolean;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
    }, {
      uuid: string;
    }>>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** The nano ID of the auth config */
    id: z$1.ZodString;
    /** @deprecated - use state.authScheme instead */
    auth_scheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Whether this auth config is managed by Composio */
    is_composio_managed: z$1.ZodBoolean;
    /** Whether the auth config is disabled */
    is_disabled: z$1.ZodBoolean;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
    }, {
      uuid: string;
    }>>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** The nano ID of the auth config */
    id: z$1.ZodString;
    /** @deprecated - use state.authScheme instead */
    auth_scheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Whether this auth config is managed by Composio */
    is_composio_managed: z$1.ZodBoolean;
    /** Whether the auth config is disabled */
    is_disabled: z$1.ZodBoolean;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
    }, {
      uuid: string;
    }>>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** The nano ID of the connected account */
  id: z$1.ZodString;
  /** @deprecated - user ID of the connection owner */
  user_id: z$1.ZodString;
  /** Connection status */
  status: z$1.ZodNativeEnum<{
    readonly INITIALIZING: "INITIALIZING";
    readonly INITIATED: "INITIATED";
    readonly ACTIVE: "ACTIVE";
    readonly FAILED: "FAILED";
    readonly EXPIRED: "EXPIRED";
    readonly INACTIVE: "INACTIVE";
  }>;
  /** ISO-8601 timestamp of creation */
  created_at: z$1.ZodString;
  /** ISO-8601 timestamp of last update */
  updated_at: z$1.ZodString;
  /** Connection state data (auth scheme + state values) */
  state: z$1.ZodObject<{
    /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
    authScheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Connection state values - varies by auth scheme */
    val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
    authScheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Connection state values - varies by auth scheme */
    val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
    authScheme: z$1.ZodNativeEnum<{
      readonly OAUTH1: "OAUTH1";
      readonly OAUTH2: "OAUTH2";
      readonly API_KEY: "API_KEY";
      readonly BASIC: "BASIC";
      readonly BEARER_TOKEN: "BEARER_TOKEN";
      readonly BILLCOM_AUTH: "BILLCOM_AUTH";
      readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
      readonly NO_AUTH: "NO_AUTH";
      readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
      readonly CALCOM_AUTH: "CALCOM_AUTH";
      readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
      readonly SAML: "SAML";
      readonly DCR_OAUTH: "DCR_OAUTH";
      readonly S2S_OAUTH2: "S2S_OAUTH2";
    }>;
    /** Connection state values - varies by auth scheme */
    val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** @deprecated - use state instead */
  data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  /** @deprecated - use state instead */
  params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
  /** Reason for the current status (e.g., expiration reason) */
  status_reason: z$1.ZodNullable<z$1.ZodString>;
  /** Whether the connection is disabled */
  is_disabled: z$1.ZodBoolean;
  /** Endpoint for making test requests */
  test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
  /** @deprecated */
  deprecated: z$1.ZodOptional<z$1.ZodObject<{
    labels: z$1.ZodArray<z$1.ZodString, "many">;
    uuid: z$1.ZodString;
  }, "strip", z$1.ZodTypeAny, {
    uuid: string;
    labels: string[];
  }, {
    uuid: string;
    labels: string[];
  }>>;
}, z$1.ZodTypeAny, "passthrough">>;
type SingleConnectedAccountDetailedResponse = z$1.infer<typeof SingleConnectedAccountDetailedResponseSchema>;
/**
 * Webhook metadata for connection events.
 * Note: This differs from the trigger webhook metadata in WebhookTriggerPayloadV3Schema.
 *
 * Uses .passthrough() to accept unknown fields the API may add in the future.
 */
declare const WebhookConnectionMetadataSchema: z$1.ZodObject<{
  /** Project nano ID */
  project_id: z$1.ZodString;
  /** Organization UUID */
  org_id: z$1.ZodString;
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
  /** Project nano ID */
  project_id: z$1.ZodString;
  /** Organization UUID */
  org_id: z$1.ZodString;
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
  /** Project nano ID */
  project_id: z$1.ZodString;
  /** Organization UUID */
  org_id: z$1.ZodString;
}, z$1.ZodTypeAny, "passthrough">>;
type WebhookConnectionMetadata = z$1.infer<typeof WebhookConnectionMetadataSchema>;
/**
 * Connection expired webhook event payload.
 * Emitted when a connected account expires due to authentication refresh failure.
 *
 * Uses .passthrough() to accept unknown fields the API may add in the future.
 *
 * @example
 * ```typescript
 * import { ConnectionExpiredEventSchema } from '@composio/core';
 *
 * // In your webhook handler
 * const result = ConnectionExpiredEventSchema.safeParse(webhookPayload);
 * if (result.success) {
 *   const { data, metadata } = result.data;
 *   console.log(`Connection ${data.id} expired for user ${data.user_id}`);
 *   console.log(`Toolkit: ${data.toolkit.slug}`);
 *   console.log(`Project: ${metadata.project_id}`);
 * }
 * ```
 */
declare const ConnectionExpiredEventSchema: z$1.ZodObject<{
  /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
  id: z$1.ZodString;
  /** ISO-8601 timestamp of when the event was emitted */
  timestamp: z$1.ZodString;
  /** Event type identifier */
  type: z$1.ZodLiteral<"composio.connected_account.expired">;
  /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
  data: z$1.ZodObject<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** Event metadata */
  metadata: z$1.ZodObject<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">>;
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
  /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
  id: z$1.ZodString;
  /** ISO-8601 timestamp of when the event was emitted */
  timestamp: z$1.ZodString;
  /** Event type identifier */
  type: z$1.ZodLiteral<"composio.connected_account.expired">;
  /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
  data: z$1.ZodObject<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** Event metadata */
  metadata: z$1.ZodObject<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">>;
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
  /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
  id: z$1.ZodString;
  /** ISO-8601 timestamp of when the event was emitted */
  timestamp: z$1.ZodString;
  /** Event type identifier */
  type: z$1.ZodLiteral<"composio.connected_account.expired">;
  /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
  data: z$1.ZodObject<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** Event metadata */
  metadata: z$1.ZodObject<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">>;
}, z$1.ZodTypeAny, "passthrough">>;
type ConnectionExpiredEvent = z$1.infer<typeof ConnectionExpiredEventSchema>;
/**
 * Union of all typed webhook event schemas.
 * Extend this as new event types are added.
 *
 * Note: This covers specific known event types with strict validation.
 * For unknown or new event types, use WebhookPayloadV3Schema from
 * triggers.types.ts which accepts any composio.* event with loose validation.
 *
 * Trigger events (composio.trigger.message) are handled through the
 * WebhookTriggerPayloadV3Schema in triggers.types.ts and the TriggerEvent type.
 */
declare const WebhookEventSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{
  /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
  id: z$1.ZodString;
  /** ISO-8601 timestamp of when the event was emitted */
  timestamp: z$1.ZodString;
  /** Event type identifier */
  type: z$1.ZodLiteral<"composio.connected_account.expired">;
  /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
  data: z$1.ZodObject<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** Event metadata */
  metadata: z$1.ZodObject<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">>;
}, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
  /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
  id: z$1.ZodString;
  /** ISO-8601 timestamp of when the event was emitted */
  timestamp: z$1.ZodString;
  /** Event type identifier */
  type: z$1.ZodLiteral<"composio.connected_account.expired">;
  /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
  data: z$1.ZodObject<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** Event metadata */
  metadata: z$1.ZodObject<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">>;
}, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
  /** Unique message ID (e.g., "msg_847cdfcd-d219-4f18-a6dd-91acd42ca94a") */
  id: z$1.ZodString;
  /** ISO-8601 timestamp of when the event was emitted */
  timestamp: z$1.ZodString;
  /** Event type identifier */
  type: z$1.ZodLiteral<"composio.connected_account.expired">;
  /** Connected account data (same as GET /api/v3/connected_accounts/{id}) */
  data: z$1.ZodObject<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Toolkit information */
    toolkit: z$1.ZodObject<{
      slug: z$1.ZodString;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      slug: z$1.ZodString;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** Auth config details */
    auth_config: z$1.ZodObject<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The nano ID of the auth config */
      id: z$1.ZodString;
      /** @deprecated - use state.authScheme instead */
      auth_scheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Whether this auth config is managed by Composio */
      is_composio_managed: z$1.ZodBoolean;
      /** Whether the auth config is disabled */
      is_disabled: z$1.ZodBoolean;
      /** @deprecated */
      deprecated: z$1.ZodOptional<z$1.ZodObject<{
        uuid: z$1.ZodString;
      }, "strip", z$1.ZodTypeAny, {
        uuid: string;
      }, {
        uuid: string;
      }>>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** The nano ID of the connected account */
    id: z$1.ZodString;
    /** @deprecated - user ID of the connection owner */
    user_id: z$1.ZodString;
    /** Connection status */
    status: z$1.ZodNativeEnum<{
      readonly INITIALIZING: "INITIALIZING";
      readonly INITIATED: "INITIATED";
      readonly ACTIVE: "ACTIVE";
      readonly FAILED: "FAILED";
      readonly EXPIRED: "EXPIRED";
      readonly INACTIVE: "INACTIVE";
    }>;
    /** ISO-8601 timestamp of creation */
    created_at: z$1.ZodString;
    /** ISO-8601 timestamp of last update */
    updated_at: z$1.ZodString;
    /** Connection state data (auth scheme + state values) */
    state: z$1.ZodObject<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
      /** The auth scheme type (e.g., 'OAUTH2', 'API_KEY') */
      authScheme: z$1.ZodNativeEnum<{
        readonly OAUTH1: "OAUTH1";
        readonly OAUTH2: "OAUTH2";
        readonly API_KEY: "API_KEY";
        readonly BASIC: "BASIC";
        readonly BEARER_TOKEN: "BEARER_TOKEN";
        readonly BILLCOM_AUTH: "BILLCOM_AUTH";
        readonly GOOGLE_SERVICE_ACCOUNT: "GOOGLE_SERVICE_ACCOUNT";
        readonly NO_AUTH: "NO_AUTH";
        readonly BASIC_WITH_JWT: "BASIC_WITH_JWT";
        readonly CALCOM_AUTH: "CALCOM_AUTH";
        readonly SERVICE_ACCOUNT: "SERVICE_ACCOUNT";
        readonly SAML: "SAML";
        readonly DCR_OAUTH: "DCR_OAUTH";
        readonly S2S_OAUTH2: "S2S_OAUTH2";
      }>;
      /** Connection state values - varies by auth scheme */
      val: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    }, z$1.ZodTypeAny, "passthrough">>;
    /** @deprecated - use state instead */
    data: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** @deprecated - use state instead */
    params: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnknown>;
    /** Reason for the current status (e.g., expiration reason) */
    status_reason: z$1.ZodNullable<z$1.ZodString>;
    /** Whether the connection is disabled */
    is_disabled: z$1.ZodBoolean;
    /** Endpoint for making test requests */
    test_request_endpoint: z$1.ZodOptional<z$1.ZodString>;
    /** @deprecated */
    deprecated: z$1.ZodOptional<z$1.ZodObject<{
      labels: z$1.ZodArray<z$1.ZodString, "many">;
      uuid: z$1.ZodString;
    }, "strip", z$1.ZodTypeAny, {
      uuid: string;
      labels: string[];
    }, {
      uuid: string;
      labels: string[];
    }>>;
  }, z$1.ZodTypeAny, "passthrough">>;
  /** Event metadata */
  metadata: z$1.ZodObject<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, "passthrough", z$1.ZodTypeAny, z$1.objectOutputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">, z$1.objectInputType<{
    /** Project nano ID */
    project_id: z$1.ZodString;
    /** Organization UUID */
    org_id: z$1.ZodString;
  }, z$1.ZodTypeAny, "passthrough">>;
}, z$1.ZodTypeAny, "passthrough">>]>;
type WebhookEvent = z$1.infer<typeof WebhookEventSchema>;
declare namespace constants_d_exports {
  export { CLIENT_PUSHER_KEY, COMPOSIO_DIR, COMPOSIO_LOG_LEVEL, DEFAULT_BASE_URL, DEFAULT_TOOL_ROUTER_SESSION_FILES_MOUNT_ID, DEFAULT_WEB_URL, IS_DEVELOPMENT_OR_CI, TELEMETRY_URL, TEMP_FILES_DIRECTORY_NAME, USER_DATA_FILE_NAME };
}
declare const COMPOSIO_DIR = ".composio";
declare const USER_DATA_FILE_NAME = "user_data.json";
declare const TEMP_FILES_DIRECTORY_NAME = "files";
declare const DEFAULT_BASE_URL = "https://backend.composio.dev";
declare const DEFAULT_WEB_URL = "https://dashboard.composio.dev/";
declare const TELEMETRY_URL = "https://app.composio.dev";
declare const CLIENT_PUSHER_KEY: string;
declare const COMPOSIO_LOG_LEVEL: "debug" | "info" | "warn" | "error" | undefined;
declare const IS_DEVELOPMENT_OR_CI: string | boolean;
declare const DEFAULT_TOOL_ROUTER_SESSION_FILES_MOUNT_ID = "files";
//#endregion
//#region src/utils/logger.d.ts
declare const LOG_LEVELS: {
  readonly silent: -1;
  readonly error: 0;
  readonly warn: 1;
  readonly info: 2;
  readonly debug: 3;
};
type LogLevel = keyof typeof LOG_LEVELS;
interface LoggerOptions {
  level?: LogLevel;
  includeTimestamp?: boolean;
}
declare class Logger {
  private readonly level;
  private readonly includeTimestamp;
  private readonly console;
  constructor(options?: LoggerOptions);
  private formatMessage;
  private shouldLog;
  error(...args: unknown[]): void;
  warn(...args: unknown[]): void;
  info(...args: unknown[]): void;
  debug(...args: unknown[]): void;
}
declare const logger: Logger;
//#endregion
//#region src/errors/ComposioError.d.ts
/**
 * Options for error handling
 */
interface ErrorHandleOptions {
  /** Whether to include the stack trace in the output */
  includeStack?: boolean;
  /** @deprecated Use ComposioError.handleAndThrow() instead. This option will be removed in a future version. */
  exitProcess?: boolean;
  /** @deprecated This option is no longer used. */
  exitCode?: number;
}
/**
 * Options for creating a ComposioError
 */
type ComposioErrorOptions = {
  /** Error code for categorizing errors */
  code?: string;
  /** HTTP status code associated with the error */
  statusCode?: number;
  /** The underlying cause of the error */
  cause?: unknown;
  /** Additional metadata associated with the error */
  meta?: Record<string, unknown>;
  /** Suggested fixes for the error */
  possibleFixes?: string[];
  /** Custom stack trace */
  stack?: string;
};
/**
 * Base error class for all Composio errors
 */
declare class ComposioError extends Error {
  /** @readonly Error name */
  name: string;
  code?: string;
  possibleFixes?: string[];
  errorId?: string;
  /**
   * Creates a new ComposioError
   * @param message Error message
   * @param options Additional error options
   */
  constructor(message: string, options?: ComposioErrorOptions);
  /**
   * Helper method to define a property only if it has a value
   * @param propertyName Name of the property to define
   * @param value Value to assign to the property
   * @private
   */
  private definePropertyIfExists;
  /**
   * Helper method to combine stack traces when wrapping errors
   * This ensures the full call chain is preserved
   * @param originalStack The stack of the error being wrapped
   * @param currentStack The stack of the wrapper error
   * @returns Combined stack trace
   * @private
   */
  private static combineStackTraces;
  /**
   * Extract and normalize error data for formatting
   * @param includeStack Whether to include stack trace information
   * @returns Structured error data for formatting
   * @private
   */
  private getErrorData;
  /**
   * Prints a user-friendly, colorful representation of the error to the logger
   * @param includeStack Whether to include the stack trace in the output (default: false)
   */
  prettyPrint(includeStack?: boolean): void;
  /**
   * Static factory method to create and pretty print an error in one step
   * @param message Error message
   * @param options Error options
   * @param includeStack Whether to include the stack trace in the output
   * @returns The created error instance
   */
  static createAndPrint(message: string, options?: ComposioErrorOptions, includeStack?: boolean): ComposioError;
  /**
   * Utility function to handle errors in a consistent way
   * This properly displays the error without throwing
   * @param error The error to handle
   * @param options Options for error handling
   */
  static handle(error: unknown, options?: ErrorHandleOptions): void;
  /**
   * Utility function to handle errors and then throw them
   * This properly displays the error and then throws it, allowing callers to catch it.
   * Use this for fatal errors that should stop execution.
   * @param error The error to handle and throw
   * @param includeStack Whether to include the stack trace in the output
   * @throws ComposioError - Always throws after displaying the error
   */
  static handleAndThrow(error: unknown, includeStack?: boolean): never;
  /**
   * Helper method to throw an error as a ComposioError
   * @param error The error to throw
   * @private
   */
  private static throwError;
  /**
   * Helper method to handle Zod validation errors
   * @param error The Zod error to handle
   * @param includeStack Whether to include the stack trace
   * @private
   */
  private static handleZodError;
  /**
   * Helper method to handle standard Error objects
   * @param error The standard error to handle
   * @param includeStack Whether to include the stack trace
   * @private
   */
  private static handleStandardError;
  /**
   * Helper method to handle unknown error types
   * @param error The unknown error value
   * @private
   */
  private static handleUnknownError;
}
//#endregion
//#region src/errors/AuthConfigErrors.d.ts
declare const AuthConfigErrorCodes: {
  readonly AUTH_CONFIG_NOT_FOUND: "AUTH_CONFIG_NOT_FOUND";
};
declare class ComposioAuthConfigNotFoundError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
//#endregion
//#region src/errors/ConnectedAccountsErrors.d.ts
declare const ConnectedAccountErrorCodes: {
  readonly CONNECTED_ACCOUNT_NOT_FOUND: "CONNECTED_ACCOUNT_NOT_FOUND";
  readonly MULTIPLE_CONNECTED_ACCOUNTS: "MULTIPLE_CONNECTED_ACCOUNTS";
  readonly FAILED_TO_CREATE_CONNECTED_ACCOUNT_LINK: "FAILED_TO_CREATE_CONNECTED_ACCOUNT_LINK";
};
declare class ComposioConnectedAccountNotFoundError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
}
declare class ComposioMultipleConnectedAccountsError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ComposioFailedToCreateConnectedAccountLink extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
//#endregion
//#region src/errors/ConnectionRequestErrors.d.ts
declare const ConnectionRequestErrorCodes: {
  readonly CONNECTION_REQUEST_TIMEOUT: "CONNECTION_REQUEST_TIMEOUT";
  readonly CONNECTION_REQUEST_FAILED: "CONNECTION_REQUEST_FAILED";
};
declare class ConnectionRequestTimeoutError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ConnectionRequestFailedError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
//#endregion
//#region src/errors/ToolErrors.d.ts
declare const ToolErrorCodes: {
  readonly TOOLSET_NOT_DEFINED: "TOOLSET_NOT_DEFINED";
  readonly TOOL_NOT_FOUND: "TOOL_NOT_FOUND";
  readonly INVALID_MODIFIER: "INVALID_MODIFIER";
  readonly CUSTOM_TOOLS_NOT_INITIALIZED: "CUSTOM_TOOLS_NOT_INITIALIZED";
  readonly TOOL_EXECUTION_ERROR: "TOOL_EXECUTION_ERROR";
  readonly INVALID_EXECUTE_FUNCTION: "INVALID_EXECUTE_FUNCTION";
  readonly GLOBAL_EXECUTE_TOOL_FN_NOT_SET: "GLOBAL_EXECUTE_TOOL_FN_NOT_SET";
  readonly TOOL_VERSION_REQUIRED: "TOOL_VERSION_REQUIRED";
};
declare class ComposioProviderNotDefinedError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ComposioToolNotFoundError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
}
declare class ComposioInvalidModifierError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ComposioCustomToolsNotInitializedError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ComposioToolExecutionError extends ComposioError {
  constructor(message?: string, options?: ComposioErrorOptions);
}
declare class ComposioInvalidExecuteFunctionError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ComposioGlobalExecuteToolFnNotSetError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
/**
 * Error thrown when toolkit version is not specified for manual tool execution.
 *
 * This error is thrown when attempting to execute a tool manually (via `tools.execute()`)
 * and the resolved version is "latest" without `dangerouslySkipVersionCheck` set to true.
 *
 * **Why this error exists:**
 * Using "latest" version in manual execution can lead to unexpected behavior when new
 * toolkit versions are released, potentially breaking your application. For production
 * use, it's recommended to pin specific toolkit versions.
 *
 * **How to fix:**
 * 1. Specify a concrete version in the execute call
 * 2. Configure toolkit versions at SDK initialization
 * 3. Set toolkit version via environment variable
 * 4. Use dangerouslySkipVersionCheck (not recommended for production)
 *
 * @example ❌ This will throw ComposioToolVersionRequiredError if toolkitVersions is 'latest'
 * ```typescript
 * await composio.tools.execute('GITHUB_GET_REPOS', {
 *   userId: 'default',
 *   arguments: { owner: 'composio' }
 * });
 * ```
 *
 * @example ✅ Fix 1: Pass specific version in execute call
 * ```typescript
 * await composio.tools.execute('GITHUB_GET_REPOS', {
 *   userId: 'default',
 *   version: '20250909_00',
 *   arguments: { owner: 'composio' }
 * });
 * ```
 *
 * @example ✅ Fix 2: Configure toolkit versions at SDK level
 * ```typescript
 * const composio = new Composio({
 *   toolkitVersions: { github: '20250909_00' }
 * });
 * await composio.tools.execute('GITHUB_GET_REPOS', {
 *   userId: 'default',
 *   arguments: { owner: 'composio' }
 * });
 * ```
 *
 * @example ✅ Fix 3: Use environment variable
 * ```typescript
 * // Set: COMPOSIO_TOOLKIT_VERSION_GITHUB=20250909_00
 * await composio.tools.execute('GITHUB_GET_REPOS', {
 *   userId: 'default',
 *   arguments: { owner: 'composio' }
 * });
 * ```
 *
 * @example ⚠️ Fix 4: Skip version check (not recommended for production)
 * ```typescript
 * await composio.tools.execute('GITHUB_GET_REPOS', {
 *   userId: 'default',
 *   dangerouslySkipVersionCheck: true,
 *   arguments: { owner: 'composio' }
 * });
 * ```
 */
declare class ComposioToolVersionRequiredError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
interface ComposioAPIServerErrorBody {
  error: {
    message: string;
    code: number;
    status: number;
    request_id: string;
    suggested_fix: string;
  };
}
declare const handleToolExecutionError: (tool: string, actualError: Error) => ComposioError;
//#endregion
//#region src/errors/ToolkitErrors.d.ts
declare const ToolkitErrorCodes: {
  readonly TOOLKIT_NOT_FOUND: "TOOLKIT_NOT_FOUND";
};
declare class ComposioToolkitNotFoundError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
}
declare class ComposioToolkitFetchError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
}
//#endregion
//#region src/errors/ValidationErrors.d.ts
/**
 * Represents an input validation error using Zod.
 */
declare const ValidationErrorCodes: {
  readonly VALIDATION_ERROR: "VALIDATION_ERROR";
  readonly JSON_SCHEMA_TO_ZOD_ERROR: "JSON_SCHEMA_TO_ZOD_ERROR";
};
declare class ValidationError extends ComposioError {
  constructor(message?: string, options?: ComposioErrorOptions);
  private generateUserFriendlyMessage;
}
declare class JsonSchemaToZodError extends ComposioError {
  constructor(message?: string, options?: ComposioErrorOptions);
}
//#endregion
//#region src/errors/SDKErrors.d.ts
declare const SDKErrorCodes: {
  NO_API_KEY_PROVIDED: string;
};
declare class ComposioNoAPIKeyError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
}
//#endregion
//#region src/errors/TriggerErrors.d.ts
declare const TriggerErrorCodes: {
  readonly TRIGGER_FAILED_TO_GET_SDK_REALTIME_CREDENTIALS: "TRIGGER_FAILED_TO_GET_SDK_REALTIME_CREDENTIALS";
  readonly TRIGGER_FAILED_TO_CREATE_PUSHER_CLIENT: "TRIGGER_FAILED_TO_CREATE_PUSHER_CLIENT";
  readonly TRIGGER_FAILED_TO_SUBSCRIBE_TO_PUSHER_CHANNEL: "TRIGGER_FAILED_TO_SUBSCRIBE_TO_PUSHER_CHANNEL";
  readonly TRIGGER_FAILED_TO_UNSUBSCRIBE_FROM_PUSHER_CHANNEL: "TRIGGER_FAILED_TO_UNSUBSCRIBE_FROM_PUSHER_CHANNEL";
  readonly TRIGGER_TYPE_NOT_FOUND: "TRIGGER_TYPE_NOT_FOUND";
  readonly WEBHOOK_SIGNATURE_VERIFICATION_FAILED: "WEBHOOK_SIGNATURE_VERIFICATION_FAILED";
  readonly WEBHOOK_PAYLOAD_INVALID: "WEBHOOK_PAYLOAD_INVALID";
};
declare class ComposioFailedToGetSDKRealtimeCredentialsError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ComposioFailedToCreatePusherClientError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ComposioFailedToSubscribeToPusherChannelError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ComposioFailedToUnsubscribeFromPusherChannelError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code'>);
}
declare class ComposioTriggerTypeNotFoundError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
}
declare class ComposioWebhookSignatureVerificationError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
}
declare class ComposioWebhookPayloadError extends ComposioError {
  constructor(message?: string, options?: Omit<ComposioErrorOptions, 'code' | 'statusCode'>);
}
//#endregion
//#region src/errors/RemoteFileErrors.d.ts
declare const RemoteFileErrorCodes: {
  readonly DOWNLOAD_FAILED: "REMOTE_FILE_DOWNLOAD_FAILED";
};
interface RemoteFileDownloadErrorOptions extends Omit<ComposioErrorOptions, 'code'> {
  /** HTTP status code from the failed response */
  statusCode?: number;
  /** HTTP status text (e.g. "Not Found", "Forbidden") */
  statusText?: string;
  /** The presigned download URL that failed */
  downloadUrl?: string;
  /** Mount-relative path of the file (e.g. "output/report.pdf") */
  mountRelativePath?: string;
  /** Filename extracted from the mount path */
  filename?: string;
}
/**
 * Error thrown when fetching a remote file from a tool router session mount fails.
 * Includes HTTP status, URL, and file path context for debugging.
 */
declare class RemoteFileDownloadError extends ComposioError {
  constructor(message?: string, options?: RemoteFileDownloadErrorOptions);
}
//#endregion
export { AgenticToolOptions, AuthConfigCreationToolAccessConfigSchema, AuthConfigErrorCodes, AuthConfigListParams, AuthConfigListParamsSchema, AuthConfigListResponse, AuthConfigListResponseSchema, AuthConfigRetrieveResponse, AuthConfigRetrieveResponseSchema, AuthConfigToolAccessConfigSchema, AuthConfigType, AuthConfigTypes, AuthConfigUpdateParams, AuthConfigUpdateParamsSchema, AuthCustomConfigUpdateParamsSchema, AuthDefaultConfigUpdateParamsSchema, AuthScheme, AuthSchemeEnum, AuthSchemeType, AuthSchemeTypes, BaseAgenticProvider, type BaseComposioProvider, BaseConnectionFields, BaseNonAgenticProvider, BillcomAuthConnectionDataSchema, Composio, ComposioAPIServerErrorBody, ComposioAuthConfigNotFoundError, ComposioConnectedAccountNotFoundError, ComposioCustomCreateResponseSchema, ComposioCustomToolsNotInitializedError, ComposioError, ComposioErrorOptions, ComposioFailedToCreateConnectedAccountLink, ComposioFailedToCreatePusherClientError, ComposioFailedToGetSDKRealtimeCredentialsError, ComposioFailedToSubscribeToPusherChannelError, ComposioFailedToUnsubscribeFromPusherChannelError, ComposioGenerateURLParamsSchema, ComposioGenerateURLResponseSchema, ComposioGlobalExecuteToolFnNotSetError, ComposioInvalidExecuteFunctionError, ComposioInvalidModifierError, ComposioMcpDeleteResponseSchema, ComposioMcpListResponseSchema, ComposioMcpRetrieveResponseSchema, ComposioMcpUpdateResponseSchema, ComposioMultipleConnectedAccountsError, ComposioNoAPIKeyError, ComposioProvider, ComposioProviderNotDefinedError, ComposioToolExecutionError, ComposioToolNotFoundError, ComposioToolVersionRequiredError, ComposioToolkitFetchError, ComposioToolkitNotFoundError, ComposioTriggerTypeNotFoundError, ComposioWebhookPayloadError, ComposioWebhookSignatureVerificationError, ConnectedAccountAuthConfig, ConnectedAccountAuthConfigSchema, ConnectedAccountErrorCodes, ConnectedAccountListParams, ConnectedAccountListParamsSchema, ConnectedAccountListResponse, ConnectedAccountListResponseItem, ConnectedAccountListResponseSchema, ConnectedAccountRefreshOptions, ConnectedAccountRefreshOptionsSchema, ConnectedAccountRetrieveResponse, ConnectedAccountRetrieveResponseSchema, ConnectedAccountStatus, ConnectedAccountStatusEnum, ConnectedAccountStatusSchema, ConnectedAccountStatuses, ConnectionData, ConnectionDataSchema, ConnectionExpiredEvent, ConnectionExpiredEventSchema, ConnectionRequest, ConnectionRequestErrorCodes, ConnectionRequestFailedError, ConnectionRequestState, ConnectionRequestTimeoutError, ConnectionStatus, ConnectionStatusEnum, ConnectionStatuses, CreateAuthConfigParams, CreateAuthConfigParamsSchema, CreateAuthConfigResponse, CreateAuthConfigResponseSchema, CreateComposioManagedAuthConfigParamsSchema, CreateConnectedAccountLinkOptions, CreateConnectedAccountLinkOptionsSchema, CreateConnectedAccountLinkResponse, CreateConnectedAccountLinkResponseSchema, CreateConnectedAccountOptions, CreateConnectedAccountOptionsSchema, CreateConnectedAccountParams, CreateConnectedAccountParamsSchema, CreateConnectedAccountResponse, CreateConnectedAccountResponseSchema, CreateCustomAuthConfigParamsSchema, CreateCustomToolBaseSchema, CreateCustomToolParams, CreateCustomToolkitBaseSchema, CreateCustomToolkitParams, CustomAuthParams, CustomAuthParamsSchema, CustomConnectionData, CustomConnectionDataSchema, CustomCreateResponse, CustomCreateResponseSchema, CustomCreateResponseValidated, CustomOauth1ConnectionData, CustomOauth1ConnectionDataSchema, CustomOauth2ConnectionData, CustomOauth2ConnectionDataSchema, CustomTool, CustomToolDefinition, CustomToolExecuteFn, CustomToolInputParameter, CustomToolOptions, CustomToolRegistry, CustomToolRegistryItem, CustomToolResponse, CustomToolSlugSchema, CustomToolkit, CustomToolkitDefinition, CustomToolkitResponse, CustomToolsMap, CustomToolsMapEntry, DefaultCreateConnectedAccountParamsSchema, ErrorHandleOptions, ExecuteMetadata, ExecuteToolFn, ExecuteToolFnOptions, ExecuteToolModifiers, FileDeleteResponse, FileDeleteResponseSchema, FileDownloadData, FileListResponse, FileListResponseSchema, FileUploadData, GenerateURLParams, GenerateURLParamsSchema, GenerateURLResponse, GenerateURLResponseSchema, GenerateURLResponseValidated, GlobalExecuteToolFn, IncomingTriggerPayload, IncomingTriggerPayloadSchema, InputParamsSchema, JSONSchemaProperty, JSONSchemaPropertySchema, JsonSchemaToZodError, MCP, MCPAuthOptions, MCPAuthOptionsSchema, MCPCreateMethodResponse, MCPGenerateURLParams, MCPGenerateURLParamsSchema, MCPGetServerParams, MCPGetServerParamsSchema, MCPInstanceParams, MCPMultiAppServer, MCPMultiAppServerSchema, MCPServer, MCPServerCreateResponse, MCPServerCreateResponseSchema, MCPServerListResponse, MCPServerListResponseSchema, MCPServerSchema, MCPServerType, MCPServerTypeSchema, MCPServerUpdateParams, MCPServerUpdateParamsSchema, MCPSingleAppServer, MCPSingleAppServerSchema, MCPToolkitConfig, MCPToolkitConfigSchema, MCPToolkitConfigsArraySchema, McpDeleteResponse, McpDeleteResponseSchema, McpListResponse, McpListResponseSchema, McpRetrieveResponse, McpRetrieveResponseSchema, McpServerCreateResponse, McpServerGetResponse, McpServerUrlInfo, McpToolkitConnectionStatus, McpUpdateResponse, McpUpdateResponseSchema, McpUrlResponse, McpUrlResponseCamelCase, McpUserConnectionStatus, MetaToolArguments, Oauth1ActiveConnectionData, Oauth1ActiveConnectionDataSchema, Oauth1ConnectionData, Oauth1ConnectionDataSchema, Oauth1ExpiredConnectionData, Oauth1ExpiredConnectionDataSchema, Oauth1FailedConnectionData, Oauth1FailedConnectionDataSchema, Oauth1InactiveConnectionData, Oauth1InactiveConnectionDataSchema, Oauth1InitiatedConnectionData, Oauth1InitiatedConnectionDataSchema, Oauth1InitiatingConnectionData, Oauth1InitiatingConnectionDataSchema, Oauth2ActiveConnectionData, Oauth2ActiveConnectionDataSchema, Oauth2ConnectionData, Oauth2ConnectionDataSchema, Oauth2ExpiredConnectionData, Oauth2ExpiredConnectionDataSchema, Oauth2FailedConnectionData, Oauth2FailedConnectionDataSchema, Oauth2InactiveConnectionData, Oauth2InactiveConnectionDataSchema, Oauth2InitiatedConnectionData, Oauth2InitiatedConnectionDataSchema, Oauth2InitiatingConnectionData, Oauth2InitiatingConnectionDataSchema, OpenAIProvider, Provider, ProviderOptions, RedirectableAuthSchemeSchema, RegisteredCustomTool, RegisteredCustomToolkit, RemoteFile, RemoteFileData, RemoteFileDataSchema, RemoteFileDownloadError, RemoteFileDownloadErrorOptions, RemoteFileErrorCodes, SDKErrorCodes, SchemaModifierOptions, Session, SessionContext, SessionExecuteMetaModifiers, SessionExperimental, SessionMetaToolOptions, SessionProxyExecuteParams, SessionProxyExecuteParamsSchema, SingleConnectedAccountDetailedResponse, SingleConnectedAccountDetailedResponseSchema, Tool, ToolErrorCodes, ToolExecuteMetaParams, ToolExecuteMetaParamsSchema, ToolExecuteParams, ToolExecuteParamsSchema, ToolExecuteResponse, ToolExecuteResponseSchema, ToolKitItem, ToolKitItemSchema, ToolKitListResponse, ToolKitListResponseSchema, ToolKitMeta, ToolKitMetaSchema, ToolList, ToolListParams, ToolListParamsSchema, ToolListResponse, ToolListResponseSchema, ToolOptions, ToolProxyParams, ToolProxyParamsSchema, ToolRetrievalOptions, ToolRouterAuthorizeFn, ToolRouterConfigManageConnectionsSchema, ToolRouterConfigTags, ToolRouterConfigTagsSchema, ToolRouterConfigTools, ToolRouterConfigToolsSchema, ToolRouterCreateSessionConfig, ToolRouterCreateSessionConfigSchema, ToolRouterMCPServerConfig, ToolRouterMCPServerConfigSchema, ToolRouterManageConnectionsConfigSchema, ToolRouterSession, ToolRouterSessionExecuteFn, ToolRouterSessionExecuteResponse, ToolRouterSessionExecuteResponseSchema, ToolRouterSessionFilesMountDeleteOptions, ToolRouterSessionFilesMountDeleteOptionsSchema, ToolRouterSessionFilesMountDownloadOptions, ToolRouterSessionFilesMountDownloadOptionsSchema, ToolRouterSessionFilesMountListOptions, ToolRouterSessionFilesMountListOptionsSchema, ToolRouterSessionFilesMountUploadOptions, ToolRouterSessionFilesMountUploadOptionsSchema, ToolRouterSessionProxyExecuteFn, ToolRouterSessionProxyExecuteResponse, ToolRouterSessionSearchFn, ToolRouterSessionSearchResponse, ToolRouterSessionSearchResponseSchema, ToolRouterTagsEnableDisableSchema, ToolRouterTagsParamSchema, ToolRouterToolkitsDisabledConfigSchema, ToolRouterToolkitsEnabledConfigSchema, ToolRouterToolkitsFn, ToolRouterToolkitsOptions, ToolRouterToolkitsOptionsSchema, ToolRouterToolkitsParamSchema, ToolRouterToolsFn, ToolRouterToolsParam, ToolRouterToolsParamSchema, ToolSchema, Toolkit, ToolkitAuthConfigDetails, ToolkitAuthConfigDetailsSchema, ToolkitAuthField, ToolkitAuthFieldSchema, ToolkitAuthFieldsResponse, ToolkitAuthFieldsResponseSchema, ToolkitCategory, ToolkitCategorySchema, ToolkitConnectionState, ToolkitConnectionStateSchema, ToolkitConnectionsDetails, ToolkitConnectionsDetailsSchema, ToolkitErrorCodes, ToolkitLatestVersion, ToolkitLatestVersionSchema, ToolkitListParams, ToolkitMangedByEnum, ToolkitMangedByEnumSchema, ToolkitRetrieveCategoriesResponse, ToolkitRetrieveCategoriesResponseSchema, ToolkitRetrieveResponse, ToolkitRetrieveResponseSchema, ToolkitSchema, ToolkitSortByEnum, ToolkitSortByEnumSchema, ToolkitVersion, ToolkitVersionParam, ToolkitVersionParamSchema, ToolkitVersionSchema, ToolkitVersions, ToolkitVersionsSchema, ToolkitsListParamsSchema, TransformToolSchemaModifier, TriggerData, TriggerErrorCodes, TriggerEvent, TriggerEventData, TriggerInstanceListActiveParams, TriggerInstanceListActiveParamsSchema, TriggerInstanceListActiveResponse, TriggerInstanceListActiveResponseItem, TriggerInstanceListActiveResponseItemSchema, TriggerInstanceListActiveResponseSchema, TriggerInstanceManageDeleteResponse, TriggerInstanceManageDeleteResponseSchema, TriggerInstanceManageUpdateParams, TriggerInstanceManageUpdateParamsSchema, TriggerInstanceManageUpdateResponse, TriggerInstanceManageUpdateResponseSchema, TriggerInstanceUpsertParams, TriggerInstanceUpsertParamsSchema, TriggerInstanceUpsertResponse, TriggerInstanceUpsertResponseSchema, TriggerStatusEnum, TriggerStatusType, TriggerStatuses, TriggerSubscribeParamSchema, TriggerSubscribeParams, TriggerType, TriggerTypeSchema, TriggersTypeListParams, TriggersTypeListParamsSchema, TriggersTypeListResponse, TriggersTypeListResponseSchema, TriggersTypeRetrieveResponse, ValidationError, ValidationErrorCodes, VerifyWebhookParams, VerifyWebhookParamsSchema, VerifyWebhookResult, WebhookConnectedAccountAuthConfig, WebhookConnectedAccountAuthConfigSchema, WebhookConnectionMetadata, WebhookConnectionMetadataSchema, WebhookConnectionState, WebhookConnectionStateSchema, WebhookEvent, WebhookEventSchema, WebhookEventType, WebhookEventTypes, WebhookPayload, WebhookPayloadSchema, WebhookPayloadV1, WebhookPayloadV1Schema, WebhookPayloadV2, WebhookPayloadV2Schema, WebhookPayloadV3, WebhookPayloadV3Schema, WebhookTriggerPayloadV3, WebhookTriggerPayloadV3Schema, WebhookVersion, WebhookVersions, afterExecuteMetaModifier, afterExecuteModifier, beforeExecuteMetaModifier, beforeExecuteModifier, constants_d_exports as constants, createConnectionRequest, createCustomTool as experimental_createTool, createCustomToolkit as experimental_createToolkit, getExtensionFromMimeType, handleToolExecutionError, jsonSchemaToZodSchema, logger, removeNonRequiredProperties };