@bubblelab/bubble-core 0.1.104 → 0.1.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/bubble-bundle.d.ts +68 -24
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +1957 -0
  6. package/dist/bubbles/service-bubble/confluence/confluence.d.ts.map +1 -0
  7. package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.d.ts +35 -0
  8. package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.d.ts.map +1 -0
  9. package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.js +327 -0
  10. package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.js.map +1 -0
  11. package/dist/bubbles/service-bubble/confluence/confluence.js +534 -0
  12. package/dist/bubbles/service-bubble/confluence/confluence.js.map +1 -0
  13. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +2435 -0
  14. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts.map +1 -0
  15. package/dist/bubbles/service-bubble/confluence/confluence.schema.js +467 -0
  16. package/dist/bubbles/service-bubble/confluence/confluence.schema.js.map +1 -0
  17. package/dist/bubbles/service-bubble/confluence/confluence.utils.d.ts +49 -0
  18. package/dist/bubbles/service-bubble/confluence/confluence.utils.d.ts.map +1 -0
  19. package/dist/bubbles/service-bubble/confluence/confluence.utils.js +337 -0
  20. package/dist/bubbles/service-bubble/confluence/confluence.utils.js.map +1 -0
  21. package/dist/bubbles/service-bubble/confluence/index.d.ts +5 -0
  22. package/dist/bubbles/service-bubble/confluence/index.d.ts.map +1 -0
  23. package/dist/bubbles/service-bubble/confluence/index.js +5 -0
  24. package/dist/bubbles/service-bubble/confluence/index.js.map +1 -0
  25. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  26. package/dist/bubbles/service-bubble/google-drive.js +22 -2
  27. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  28. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js +6 -6
  29. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -1
  30. package/dist/bubbles.json +1247 -8
  31. package/dist/index.d.ts +2 -0
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +1 -0
  34. package/dist/index.js.map +1 -1
  35. package/package.json +2 -2
@@ -53,16 +53,15 @@ export declare const slackUrlVerificationSchema: z.ZodObject<{ token: z.ZodStrin
53
53
  export type DatabaseStatus = 'connected' | 'disconnected' | 'error'; export type DatabaseType = 'postgresql' | 'mysql' | 'mongodb' | 'bigquery' | 'sqlite'; export interface DatabaseColumn { name: string; type: string; isNullable: boolean; defaultValue?: string; constraints?: string[]; }
54
54
  export interface DatabaseTable { name: string; schema: string; columns: DatabaseColumn[]; rowCount?: number; size?: string; }
55
55
  export interface DatabaseSchema { tables: DatabaseTable[]; totalTables: number; totalSize?: string; }
56
- export declare const databaseMetadataSchema: z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>; export type DatabaseMetadata = z.infer<typeof databaseMetadataSchema>; export declare const jiraOAuthMetadataSchema: z.ZodObject<{ cloudId: z.ZodString; siteUrl: z.ZodString; siteName: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }>; export type JiraOAuthMetadata = z.infer<typeof jiraOAuthMetadataSchema>; export declare const stripeOAuthMetadataSchema: z.ZodObject<{ stripeUserId: z.ZodString; stripePublishableKey: z.ZodString; livemode: z.ZodBoolean; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }>; export type StripeOAuthMetadata = z.infer<typeof stripeOAuthMetadataSchema>; export declare const slackOAuthMetadataSchema: z.ZodObject<{ teamId: z.ZodString; teamName: z.ZodString; botUserId: z.ZodString; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }>; export type SlackOAuthMetadata = z.infer<typeof slackOAuthMetadataSchema>; export declare const airtableOAuthMetadataSchema: z.ZodObject<{ airtableUserId: z.ZodString; email: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }>; export type AirtableOAuthMetadata = z.infer<typeof airtableOAuthMetadataSchema>; export interface CredentialPreferences { isDefault?: boolean; lastUsedAt?: string; }
57
- export type CredentialMetadata = (DatabaseMetadata | JiraOAuthMetadata | SlackOAuthMetadata | AirtableOAuthMetadata) & CredentialPreferences; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
58
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export interface CredentialConfig { label: string; description: string; placeholder: string; namePlaceholder: string; credentialConfigurations: Record<string, unknown>; }
56
+ export declare const databaseMetadataSchema: z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>; export type DatabaseMetadata = z.infer<typeof databaseMetadataSchema>; export declare const jiraOAuthMetadataSchema: z.ZodObject<{ cloudId: z.ZodString; siteUrl: z.ZodString; siteName: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }>; export type JiraOAuthMetadata = z.infer<typeof jiraOAuthMetadataSchema>; export declare const stripeOAuthMetadataSchema: z.ZodObject<{ stripeUserId: z.ZodString; stripePublishableKey: z.ZodString; livemode: z.ZodBoolean; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }>; export type StripeOAuthMetadata = z.infer<typeof stripeOAuthMetadataSchema>; export declare const slackOAuthMetadataSchema: z.ZodObject<{ teamId: z.ZodString; teamName: z.ZodString; botUserId: z.ZodString; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }>; export type SlackOAuthMetadata = z.infer<typeof slackOAuthMetadataSchema>; export declare const airtableOAuthMetadataSchema: z.ZodObject<{ airtableUserId: z.ZodString; email: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }>; export type AirtableOAuthMetadata = z.infer<typeof airtableOAuthMetadataSchema>; export declare const credentialPreferencesSchema: z.ZodObject<{ isDefault: z.ZodOptional<z.ZodBoolean>; lastUsedAt: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { isDefault?: boolean | undefined; lastUsedAt?: string | undefined; }, { isDefault?: boolean | undefined; lastUsedAt?: string | undefined; }>; export type CredentialPreferences = z.infer<typeof credentialPreferencesSchema>; export declare const confluenceOAuthMetadataSchema: z.ZodObject<{ cloudId: z.ZodString; siteUrl: z.ZodString; siteName: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }>; export type ConfluenceOAuthMetadata = z.infer<typeof confluenceOAuthMetadataSchema>; export type CredentialMetadata = DatabaseMetadata | JiraOAuthMetadata | SlackOAuthMetadata | AirtableOAuthMetadata | ConfluenceOAuthMetadata | StripeOAuthMetadata | CredentialPreferences; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
57
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export interface CredentialConfig { label: string; description: string; placeholder: string; namePlaceholder: string; credentialConfigurations: Record<string, unknown>; }
59
58
  export declare const CREDENTIAL_TYPE_CONFIG: Record<CredentialType, CredentialConfig>; export declare function generateCredentialsSummary(): string; export declare const CREDENTIAL_ENV_MAP: Record<CredentialType, string>; export declare const SYSTEM_CREDENTIALS: Set<CredentialType>; export declare const OPTIONAL_CREDENTIALS: Set<CredentialType>; export type OAuthProvider = 'google' | 'followupboss' | 'notion' | 'jira' | 'slack' | 'airtable'; export interface ScopeDescription { scope: string; description: string; defaultEnabled: boolean; }
60
59
  export interface OAuthCredentialConfig { displayName: string; defaultScopes: string[]; adminScopes?: string[]; description: string; scopeDescriptions?: ScopeDescription[]; }
61
60
  export interface OAuthProviderConfig { name: OAuthProvider; displayName: string; credentialTypes: Partial<Record<CredentialType, OAuthCredentialConfig>>; authorizationParams?: Record<string, string>; }
62
61
  export declare const OAUTH_PROVIDERS: Record<OAuthProvider, OAuthProviderConfig>; export declare function getOAuthProvider(credentialType: CredentialType): OAuthProvider | null; export declare function isOAuthCredential(credentialType: CredentialType): boolean; export declare function getScopeDescriptions(credentialType: CredentialType): ScopeDescription[]; export declare function getDefaultScopes(credentialType: CredentialType): string[]; export declare function getAdminScopes(credentialType: CredentialType): string[]; export type BrowserSessionProvider = 'browserbase'; export interface BrowserSessionCredentialConfig { displayName: string; description: string; targetUrl: string; cookieDomain: string; }
63
62
  export interface BrowserSessionProviderConfig { name: BrowserSessionProvider; displayName: string; credentialTypes: Partial<Record<CredentialType, BrowserSessionCredentialConfig>>; }
64
- export declare const BROWSER_SESSION_PROVIDERS: Record<BrowserSessionProvider, BrowserSessionProviderConfig>; export declare function getBrowserSessionProvider(credentialType: CredentialType): BrowserSessionProvider | null; export declare function isBrowserSessionCredential(credentialType: CredentialType): boolean; export type CredentialOptions = Partial<Record<CredentialType, string>>; export type BubbleCredentialOption = CredentialType[]; export declare const BUBBLE_CREDENTIAL_OPTIONS: Record<BubbleName, BubbleCredentialOption>; export declare const createCredentialSchema: z.ZodObject<{ credentialType: z.ZodNativeEnum<typeof CredentialType>; value: z.ZodString; name: z.ZodOptional<z.ZodString>; skipValidation: z.ZodOptional<z.ZodBoolean>; credentialConfigurations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; metadata: z.ZodOptional<z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { value: string; credentialType: CredentialType; name?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | undefined; skipValidation?: boolean | undefined; credentialConfigurations?: Record<string, unknown> | undefined; }, { value: string; credentialType: CredentialType; name?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | undefined; skipValidation?: boolean | undefined; credentialConfigurations?: Record<string, unknown> | undefined; }>; export declare const updateCredentialSchema: z.ZodObject<{ value: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; skipValidation: z.ZodOptional<z.ZodBoolean>; credentialConfigurations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; metadata: z.ZodOptional<z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { name?: string | undefined; value?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | undefined; skipValidation?: boolean | undefined; credentialConfigurations?: Record<string, unknown> | undefined; }, { name?: string | undefined; value?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | undefined; skipValidation?: boolean | undefined; credentialConfigurations?: Record<string, unknown> | undefined; }>; export declare const credentialResponseSchema: z.ZodObject<{ id: z.ZodNumber; credentialType: z.ZodString; name: z.ZodOptional<z.ZodString>; metadata: z.ZodOptional<z.ZodUnion<[z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>, z.ZodObject<{ cloudId: z.ZodString; siteUrl: z.ZodString; siteName: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }>, z.ZodObject<{ teamId: z.ZodString; teamName: z.ZodString; botUserId: z.ZodString; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }>, z.ZodObject<{ airtableUserId: z.ZodString; email: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }>]>>; createdAt: z.ZodString; isOauth: z.ZodOptional<z.ZodBoolean>; oauthProvider: z.ZodOptional<z.ZodString>; oauthExpiresAt: z.ZodOptional<z.ZodString>; oauthScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; oauthStatus: z.ZodOptional<z.ZodEnum<["active", "expired", "needs_refresh"]>>; isBrowserSession: z.ZodOptional<z.ZodBoolean>; browserbaseSessionData: z.ZodOptional<z.ZodObject<{ capturedAt: z.ZodString; cookieCount: z.ZodNumber; domain: z.ZodString; }, "strip", z.ZodTypeAny, { capturedAt: string; cookieCount: number; domain: string; }, { capturedAt: string; cookieCount: number; domain: string; }>>; masterCredentialId: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { id: number; createdAt: string; credentialType: string; name?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; } | { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; } | { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; } | undefined; isOauth?: boolean | undefined; oauthProvider?: string | undefined; oauthExpiresAt?: string | undefined; oauthScopes?: string[] | undefined; oauthStatus?: "active" | "expired" | "needs_refresh" | undefined; isBrowserSession?: boolean | undefined; browserbaseSessionData?: { capturedAt: string; cookieCount: number; domain: string; } | undefined; masterCredentialId?: number | undefined; }, { id: number; createdAt: string; credentialType: string; name?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; } | { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; } | { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; } | undefined; isOauth?: boolean | undefined; oauthProvider?: string | undefined; oauthExpiresAt?: string | undefined; oauthScopes?: string[] | undefined; oauthStatus?: "active" | "expired" | "needs_refresh" | undefined; isBrowserSession?: boolean | undefined; browserbaseSessionData?: { capturedAt: string; cookieCount: number; domain: string; } | undefined; masterCredentialId?: number | undefined; }>; export declare const createCredentialResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; id: number; }, { message: string; id: number; }>; export declare const updateCredentialResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; id: number; }, { message: string; id: number; }>; export declare const successMessageResponseSchema: z.ZodObject<{ message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; }, { message: string; }>; export declare const browserbaseSessionCreateRequestSchema: z.ZodObject<{ credentialType: z.ZodNativeEnum<typeof CredentialType>; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { credentialType: CredentialType; name?: string | undefined; }, { credentialType: CredentialType; name?: string | undefined; }>; export declare const browserbaseSessionCreateResponseSchema: z.ZodObject<{ sessionId: z.ZodString; debugUrl: z.ZodString; contextId: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; debugUrl: string; contextId: string; state: string; }, { sessionId: string; debugUrl: string; contextId: string; state: string; }>; export declare const browserbaseSessionCompleteRequestSchema: z.ZodObject<{ sessionId: z.ZodString; state: z.ZodString; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { sessionId: string; state: string; name?: string | undefined; }, { sessionId: string; state: string; name?: string | undefined; }>; export declare const browserbaseSessionCompleteResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; id: number; }, { message: string; id: number; }>; export declare const browserbaseSessionReopenRequestSchema: z.ZodObject<{ credentialId: z.ZodNumber; }, "strip", z.ZodTypeAny, { credentialId: number; }, { credentialId: number; }>; export declare const browserbaseSessionReopenResponseSchema: z.ZodObject<{ sessionId: z.ZodString; debugUrl: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; debugUrl: string; }, { sessionId: string; debugUrl: string; }>; export type CreateCredentialRequest = z.infer<typeof createCredentialSchema>; export type UpdateCredentialRequest = z.infer<typeof updateCredentialSchema>; export type CredentialResponse = z.infer<typeof credentialResponseSchema>; export type CreateCredentialResponse = z.infer<typeof createCredentialResponseSchema>; export type UpdateCredentialResponse = z.infer<typeof updateCredentialResponseSchema>; export type BrowserbaseSessionCreateRequest = z.infer<typeof browserbaseSessionCreateRequestSchema>; export type BrowserbaseSessionCreateResponse = z.infer<typeof browserbaseSessionCreateResponseSchema>; export type BrowserbaseSessionCompleteRequest = z.infer<typeof browserbaseSessionCompleteRequestSchema>; export type BrowserbaseSessionCompleteResponse = z.infer<typeof browserbaseSessionCompleteResponseSchema>; export type BrowserbaseSessionReopenRequest = z.infer<typeof browserbaseSessionReopenRequestSchema>; export type BrowserbaseSessionReopenResponse = z.infer<typeof browserbaseSessionReopenResponseSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
65
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare enum BubbleParameterType { STRING = "string", NUMBER = "number", BOOLEAN = "boolean", OBJECT = "object", ARRAY = "array", ENV = "env", VARIABLE = "variable", EXPRESSION = "expression", UNKNOWN = "unknown" }
63
+ export declare const BROWSER_SESSION_PROVIDERS: Record<BrowserSessionProvider, BrowserSessionProviderConfig>; export declare function getBrowserSessionProvider(credentialType: CredentialType): BrowserSessionProvider | null; export declare function isBrowserSessionCredential(credentialType: CredentialType): boolean; export type CredentialOptions = Partial<Record<CredentialType, string>>; export type BubbleCredentialOption = CredentialType[]; export declare const BUBBLE_CREDENTIAL_OPTIONS: Record<BubbleName, BubbleCredentialOption>; export declare const createCredentialSchema: z.ZodObject<{ credentialType: z.ZodNativeEnum<typeof CredentialType>; value: z.ZodString; name: z.ZodOptional<z.ZodString>; skipValidation: z.ZodOptional<z.ZodBoolean>; credentialConfigurations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; metadata: z.ZodOptional<z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { value: string; credentialType: CredentialType; name?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | undefined; skipValidation?: boolean | undefined; credentialConfigurations?: Record<string, unknown> | undefined; }, { value: string; credentialType: CredentialType; name?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | undefined; skipValidation?: boolean | undefined; credentialConfigurations?: Record<string, unknown> | undefined; }>; export declare const updateCredentialSchema: z.ZodObject<{ value: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; skipValidation: z.ZodOptional<z.ZodBoolean>; credentialConfigurations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; metadata: z.ZodOptional<z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { name?: string | undefined; value?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | undefined; skipValidation?: boolean | undefined; credentialConfigurations?: Record<string, unknown> | undefined; }, { name?: string | undefined; value?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | undefined; skipValidation?: boolean | undefined; credentialConfigurations?: Record<string, unknown> | undefined; }>; export declare const credentialResponseSchema: z.ZodObject<{ id: z.ZodNumber; credentialType: z.ZodString; name: z.ZodOptional<z.ZodString>; metadata: z.ZodOptional<z.ZodUnion<[z.ZodObject<{ tables: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>; tableNotes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; databaseName: z.ZodOptional<z.ZodString>; databaseType: z.ZodOptional<z.ZodEnum<["postgresql", "mysql", "sqlite", "mssql", "oracle"]>>; rules: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; text: z.ZodString; enabled: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }, { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }>, "many">>; notes: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }, { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; }>, z.ZodObject<{ cloudId: z.ZodString; siteUrl: z.ZodString; siteName: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }>, z.ZodObject<{ teamId: z.ZodString; teamName: z.ZodString; botUserId: z.ZodString; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }, { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; }>, z.ZodObject<{ airtableUserId: z.ZodString; email: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }, { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; }>, z.ZodObject<{ cloudId: z.ZodString; siteUrl: z.ZodString; siteName: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }, { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; }>, z.ZodObject<{ stripeUserId: z.ZodString; stripePublishableKey: z.ZodString; livemode: z.ZodBoolean; displayName: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }, { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; }>, z.ZodObject<{ isDefault: z.ZodOptional<z.ZodBoolean>; lastUsedAt: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { isDefault?: boolean | undefined; lastUsedAt?: string | undefined; }, { isDefault?: boolean | undefined; lastUsedAt?: string | undefined; }>]>>; createdAt: z.ZodString; isOauth: z.ZodOptional<z.ZodBoolean>; oauthProvider: z.ZodOptional<z.ZodString>; oauthExpiresAt: z.ZodOptional<z.ZodString>; oauthScopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; oauthStatus: z.ZodOptional<z.ZodEnum<["active", "expired", "needs_refresh"]>>; isBrowserSession: z.ZodOptional<z.ZodBoolean>; browserbaseSessionData: z.ZodOptional<z.ZodObject<{ capturedAt: z.ZodString; cookieCount: z.ZodNumber; domain: z.ZodString; }, "strip", z.ZodTypeAny, { capturedAt: string; cookieCount: number; domain: string; }, { capturedAt: string; cookieCount: number; domain: string; }>>; masterCredentialId: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { id: number; createdAt: string; credentialType: string; name?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; } | { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; } | { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; } | { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; } | { isDefault?: boolean | undefined; lastUsedAt?: string | undefined; } | { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; } | undefined; isOauth?: boolean | undefined; oauthProvider?: string | undefined; oauthExpiresAt?: string | undefined; oauthScopes?: string[] | undefined; oauthStatus?: "active" | "expired" | "needs_refresh" | undefined; isBrowserSession?: boolean | undefined; browserbaseSessionData?: { capturedAt: string; cookieCount: number; domain: string; } | undefined; masterCredentialId?: number | undefined; }, { id: number; createdAt: string; credentialType: string; name?: string | undefined; metadata?: { tables: Record<string, Record<string, string>>; tableNotes?: Record<string, string> | undefined; databaseName?: string | undefined; databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined; rules?: { id: string; updatedAt: string; createdAt: string; text: string; enabled: boolean; }[] | undefined; notes?: string | undefined; tags?: string[] | undefined; } | { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; } | { stripeUserId: string; stripePublishableKey: string; livemode: boolean; displayName?: string | undefined; } | { teamId: string; teamName: string; botUserId: string; displayName?: string | undefined; } | { airtableUserId: string; email?: string | undefined; displayName?: string | undefined; } | { isDefault?: boolean | undefined; lastUsedAt?: string | undefined; } | { cloudId: string; siteUrl: string; siteName?: string | undefined; displayName?: string | undefined; } | undefined; isOauth?: boolean | undefined; oauthProvider?: string | undefined; oauthExpiresAt?: string | undefined; oauthScopes?: string[] | undefined; oauthStatus?: "active" | "expired" | "needs_refresh" | undefined; isBrowserSession?: boolean | undefined; browserbaseSessionData?: { capturedAt: string; cookieCount: number; domain: string; } | undefined; masterCredentialId?: number | undefined; }>; export declare const createCredentialResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; id: number; }, { message: string; id: number; }>; export declare const updateCredentialResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; id: number; }, { message: string; id: number; }>; export declare const successMessageResponseSchema: z.ZodObject<{ message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; }, { message: string; }>; export declare const browserbaseSessionCreateRequestSchema: z.ZodObject<{ credentialType: z.ZodNativeEnum<typeof CredentialType>; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { credentialType: CredentialType; name?: string | undefined; }, { credentialType: CredentialType; name?: string | undefined; }>; export declare const browserbaseSessionCreateResponseSchema: z.ZodObject<{ sessionId: z.ZodString; debugUrl: z.ZodString; contextId: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; debugUrl: string; contextId: string; state: string; }, { sessionId: string; debugUrl: string; contextId: string; state: string; }>; export declare const browserbaseSessionCompleteRequestSchema: z.ZodObject<{ sessionId: z.ZodString; state: z.ZodString; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { sessionId: string; state: string; name?: string | undefined; }, { sessionId: string; state: string; name?: string | undefined; }>; export declare const browserbaseSessionCompleteResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; id: number; }, { message: string; id: number; }>; export declare const browserbaseSessionReopenRequestSchema: z.ZodObject<{ credentialId: z.ZodNumber; }, "strip", z.ZodTypeAny, { credentialId: number; }, { credentialId: number; }>; export declare const browserbaseSessionReopenResponseSchema: z.ZodObject<{ sessionId: z.ZodString; debugUrl: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; debugUrl: string; }, { sessionId: string; debugUrl: string; }>; export type CreateCredentialRequest = z.infer<typeof createCredentialSchema>; export type UpdateCredentialRequest = z.infer<typeof updateCredentialSchema>; export type CredentialResponse = z.infer<typeof credentialResponseSchema>; export type CreateCredentialResponse = z.infer<typeof createCredentialResponseSchema>; export type UpdateCredentialResponse = z.infer<typeof updateCredentialResponseSchema>; export type BrowserbaseSessionCreateRequest = z.infer<typeof browserbaseSessionCreateRequestSchema>; export type BrowserbaseSessionCreateResponse = z.infer<typeof browserbaseSessionCreateResponseSchema>; export type BrowserbaseSessionCompleteRequest = z.infer<typeof browserbaseSessionCompleteRequestSchema>; export type BrowserbaseSessionCompleteResponse = z.infer<typeof browserbaseSessionCompleteResponseSchema>; export type BrowserbaseSessionReopenRequest = z.infer<typeof browserbaseSessionReopenRequestSchema>; export type BrowserbaseSessionReopenResponse = z.infer<typeof browserbaseSessionReopenResponseSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
64
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare enum BubbleParameterType { STRING = "string", NUMBER = "number", BOOLEAN = "boolean", OBJECT = "object", ARRAY = "array", ENV = "env", VARIABLE = "variable", EXPRESSION = "expression", UNKNOWN = "unknown" }
66
65
  export declare const CREDENTIAL_CONFIGURATION_MAP: Record<CredentialType, Record<string, BubbleParameterType>>; export declare const BUBBLE_NAMES_WITH_CONTEXT_INJECTION: string[]; export declare const BubbleParameterTypeSchema: z.ZodNativeEnum<typeof BubbleParameterType>; export declare const BubbleParameterSchema: z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>; export type BubbleParameter = z.infer<typeof BubbleParameterSchema>; export interface ParsedBubble { variableName: string; bubbleName: BubbleName; className: string; parameters: BubbleParameter[]; hasAwait: boolean; hasActionCall: boolean; dependencies?: BubbleName[]; dependencyGraph?: DependencyGraphNode; }
67
66
  export interface DependencyGraphNode { name: BubbleName; variableName?: string; nodeType: BubbleNodeType; uniqueId?: string; variableId?: number; dependencies: DependencyGraphNode[]; functionCallChildren?: FunctionCallWorkflowNode[]; }
68
67
  export interface BubbleDependencySpec { name: BubbleName; tools?: BubbleName[]; }
@@ -76,15 +75,15 @@ export interface FunctionCallWorkflowNode { type: 'function_call'; location: { s
76
75
  export interface ParallelExecutionWorkflowNode { type: 'parallel_execution'; location: { startLine: number; startCol: number; endLine: number; endCol: number; }; code: string; variableDeclaration?: { variableNames: string[]; variableType: 'const' | 'let' | 'var'; }; children: WorkflowNode[]; }
77
76
  export interface TransformationFunctionWorkflowNode { type: 'transformation_function'; location: { startLine: number; startCol: number; endLine: number; endCol: number; }; code: string; functionName: string; isMethodCall: boolean; description?: string; arguments?: string; variableId: number; variableDeclaration?: { variableName: string; variableType: 'const' | 'let' | 'var'; }; methodDefinition?: { location: { startLine: number; endLine: number; }; isAsync: boolean; parameters: string[]; }; }
78
77
  export type WorkflowNode = BubbleWorkflowNode | ControlFlowWorkflowNode | TryCatchWorkflowNode | CodeBlockWorkflowNode | VariableDeclarationBlockNode | ReturnWorkflowNode | FunctionCallWorkflowNode | ParallelExecutionWorkflowNode | TransformationFunctionWorkflowNode; export interface ParsedWorkflow { root: WorkflowNode[]; bubbles: Record<number, ParsedBubbleWithInfo>; }
79
- export declare const WorkflowNodeTypeSchema: z.ZodEnum<["bubble", "if", "for", "while", "try_catch", "variable_declaration", "return", "function_call", "code_block", "parallel_execution", "transformation_function"]>; export declare const LocationSchema: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; export declare const BubbleWorkflowNodeSchema: z.ZodType<BubbleWorkflowNode>; export declare const ControlFlowWorkflowNodeSchema: z.ZodType<ControlFlowWorkflowNode>; export declare const TryCatchWorkflowNodeSchema: z.ZodType<TryCatchWorkflowNode>; export declare const CodeBlockWorkflowNodeSchema: z.ZodType<CodeBlockWorkflowNode>; export declare const VariableDeclarationBlockNodeSchema: z.ZodType<VariableDeclarationBlockNode>; export declare const ReturnWorkflowNodeSchema: z.ZodType<ReturnWorkflowNode>; export declare const FunctionCallWorkflowNodeSchema: z.ZodType<FunctionCallWorkflowNode>; export declare const ParallelExecutionWorkflowNodeSchema: z.ZodType<ParallelExecutionWorkflowNode>; export declare const TransformationFunctionWorkflowNodeSchema: z.ZodType<TransformationFunctionWorkflowNode>; export declare const WorkflowNodeSchema: z.ZodType<WorkflowNode>; export declare const ParsedWorkflowSchema: z.ZodObject<{ root: z.ZodArray<z.ZodType<WorkflowNode, z.ZodTypeDef, WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<DependencyGraphNode, z.ZodTypeDef, DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
80
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
81
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare const COFFEE_MAX_ITERATIONS = 30; export declare const COFFEE_MAX_QUESTIONS = 5; export declare const COFFEE_DEFAULT_MODEL: "google/gemini-3-pro-preview"; export declare const ClarificationChoiceSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>; export declare const ClarificationQuestionSchema: z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>; export declare const CoffeeClarificationEventSchema: z.ZodObject<{ questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>; export declare const CoffeeRequestExternalContextEventSchema: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; export declare const CoffeeContextAnswerSchema: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; export declare const CoffeeContextRequestInfoSchema: z.ZodObject<{ purpose: z.ZodString; flowDescription: z.ZodString; }, "strip", z.ZodTypeAny, { purpose: string; flowDescription: string; }, { purpose: string; flowDescription: string; }>; export declare const CoffeeContextEventSchema: z.ZodObject<{ status: z.ZodEnum<["gathering", "complete"]>; miniFlowDescription: z.ZodOptional<z.ZodString>; result: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { status: "gathering" | "complete"; result?: string | undefined; miniFlowDescription?: string | undefined; }, { status: "gathering" | "complete"; result?: string | undefined; miniFlowDescription?: string | undefined; }>; export declare const PlanStepSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>; export declare const CoffeePlanEventSchema: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; export declare const UserMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>; export declare const AssistantMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>; export declare const ClarificationRequestMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>; export declare const ClarificationResponseMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>; export declare const ContextRequestMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>; export declare const ContextResponseMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>; export declare const PlanMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>; export declare const PlanApprovalMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>; export declare const SystemMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>; export declare const ToolResultMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>; export declare const CoffeeMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>; export declare const CoffeeRequestSchema: z.ZodObject<{ prompt: z.ZodString; flowId: z.ZodOptional<z.ZodNumber>; messages: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>, "many">>; }, "strip", z.ZodTypeAny, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; }, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; }>; export declare const CoffeeResponseSchema: z.ZodObject<{ type: z.ZodEnum<["clarification", "plan", "context_request", "error"]>; clarification: z.ZodOptional<z.ZodObject<{ questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>>; plan: z.ZodOptional<z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>>; contextRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; error: z.ZodOptional<z.ZodString>; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: "error" | "context_request" | "plan" | "clarification"; success: boolean; error?: string | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; clarification?: { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | undefined; contextRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { type: "error" | "context_request" | "plan" | "clarification"; success: boolean; error?: string | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; clarification?: { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | undefined; contextRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; export declare const CoffeeAgentOutputSchema: z.ZodObject<{ action: z.ZodEnum<["askClarification", "generatePlan", "requestContext"]>; questions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; plan: z.ZodOptional<z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>>; contextRequest: z.ZodOptional<z.ZodObject<{ purpose: z.ZodString; flowDescription: z.ZodString; }, "strip", z.ZodTypeAny, { purpose: string; flowDescription: string; }, { purpose: string; flowDescription: string; }>>; }, "strip", z.ZodTypeAny, { action: "askClarification" | "generatePlan" | "requestContext"; questions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; contextRequest?: { purpose: string; flowDescription: string; } | undefined; }, { action: "askClarification" | "generatePlan" | "requestContext"; questions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; contextRequest?: { purpose: string; flowDescription: string; } | undefined; }>; export type ClarificationChoice = z.infer<typeof ClarificationChoiceSchema>; export type ClarificationQuestion = z.infer<typeof ClarificationQuestionSchema>; export type CoffeeClarificationEvent = z.infer<typeof CoffeeClarificationEventSchema>; export type CoffeeRequestExternalContextEvent = z.infer<typeof CoffeeRequestExternalContextEventSchema>; export type CoffeeContextAnswer = z.infer<typeof CoffeeContextAnswerSchema>; export type CoffeeContextEvent = z.infer<typeof CoffeeContextEventSchema>; export type CoffeeContextRequestInfo = z.infer<typeof CoffeeContextRequestInfoSchema>; export type PlanStep = z.infer<typeof PlanStepSchema>; export type CoffeePlanEvent = z.infer<typeof CoffeePlanEventSchema>; export type CoffeeRequest = z.infer<typeof CoffeeRequestSchema>; export type CoffeeResponse = z.infer<typeof CoffeeResponseSchema>; export type CoffeeAgentOutput = z.infer<typeof CoffeeAgentOutputSchema>; export type UserMessage = z.infer<typeof UserMessageSchema>; export type AssistantMessage = z.infer<typeof AssistantMessageSchema>; export type ClarificationRequestMessage = z.infer<typeof ClarificationRequestMessageSchema>; export type ClarificationResponseMessage = z.infer<typeof ClarificationResponseMessageSchema>; export type ContextRequestMessage = z.infer<typeof ContextRequestMessageSchema>; export type ContextResponseMessage = z.infer<typeof ContextResponseMessageSchema>; export type PlanMessage = z.infer<typeof PlanMessageSchema>; export type PlanApprovalMessage = z.infer<typeof PlanApprovalMessageSchema>; export type SystemMessage = z.infer<typeof SystemMessageSchema>; export type ToolResultMessage = z.infer<typeof ToolResultMessageSchema>; export type CoffeeMessage = z.infer<typeof CoffeeMessageSchema>; export interface StreamingLogEvent { type: 'log_line' | 'bubble_instantiation' | 'bubble_execution' | 'bubble_start' | 'bubble_complete' | 'execution_complete' | 'error' | 'stream_complete' | 'info' | 'warn' | 'debug' | 'bubble_execution_complete' | 'trace' | 'fatal' | 'bubble_parameters_update' | 'tool_call_start' | 'tool_call_complete' | 'function_call_start' | 'function_call_complete' | 'start_evaluating' | 'end_evaluating' | 'browser_session_start' | 'browser_session_end'; timestamp: string; lineNumber?: number; variableId?: number; message: string; bubbleId?: string; bubbleName?: string; variableName?: string; additionalData?: Record<string, unknown>; executionTime?: number; memoryUsage?: number; logLevel?: string; bubbleParameters?: Record<number, import('./bubble-definition-schema').ParsedBubbleWithInfo>; toolCallId?: string; toolName?: string; toolInput?: unknown; toolOutput?: unknown; toolDuration?: number; functionName?: string; functionInput?: unknown; functionOutput?: unknown; functionDuration?: number; tokenUsage?: { inputTokens: number; outputTokens: number; totalTokens: number; }; cumulativeTokenUsage?: { inputTokens: number; outputTokens: number; totalTokens: number; }; evaluationResult?: { working: boolean; issueType: 'setup' | 'workflow' | 'input' | null; summary: string; rating: number; }; browserSessionUrl?: string; browserSessionId?: string; }
78
+ export declare const WorkflowNodeTypeSchema: z.ZodEnum<["bubble", "if", "for", "while", "try_catch", "variable_declaration", "return", "function_call", "code_block", "parallel_execution", "transformation_function"]>; export declare const LocationSchema: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; export declare const BubbleWorkflowNodeSchema: z.ZodType<BubbleWorkflowNode>; export declare const ControlFlowWorkflowNodeSchema: z.ZodType<ControlFlowWorkflowNode>; export declare const TryCatchWorkflowNodeSchema: z.ZodType<TryCatchWorkflowNode>; export declare const CodeBlockWorkflowNodeSchema: z.ZodType<CodeBlockWorkflowNode>; export declare const VariableDeclarationBlockNodeSchema: z.ZodType<VariableDeclarationBlockNode>; export declare const ReturnWorkflowNodeSchema: z.ZodType<ReturnWorkflowNode>; export declare const FunctionCallWorkflowNodeSchema: z.ZodType<FunctionCallWorkflowNode>; export declare const ParallelExecutionWorkflowNodeSchema: z.ZodType<ParallelExecutionWorkflowNode>; export declare const TransformationFunctionWorkflowNodeSchema: z.ZodType<TransformationFunctionWorkflowNode>; export declare const WorkflowNodeSchema: z.ZodType<WorkflowNode>; export declare const ParsedWorkflowSchema: z.ZodObject<{ root: z.ZodArray<z.ZodType<WorkflowNode, z.ZodTypeDef, WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<DependencyGraphNode, z.ZodTypeDef, DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
79
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
80
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare const COFFEE_MAX_ITERATIONS = 30; export declare const COFFEE_MAX_QUESTIONS = 5; export declare const COFFEE_DEFAULT_MODEL: "google/gemini-3-pro-preview"; export declare const ClarificationChoiceSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>; export declare const ClarificationQuestionSchema: z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>; export declare const CoffeeClarificationEventSchema: z.ZodObject<{ questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>; export declare const CoffeeRequestExternalContextEventSchema: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; export declare const CoffeeContextAnswerSchema: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; export declare const CoffeeContextRequestInfoSchema: z.ZodObject<{ purpose: z.ZodString; flowDescription: z.ZodString; }, "strip", z.ZodTypeAny, { purpose: string; flowDescription: string; }, { purpose: string; flowDescription: string; }>; export declare const CoffeeContextEventSchema: z.ZodObject<{ status: z.ZodEnum<["gathering", "complete"]>; miniFlowDescription: z.ZodOptional<z.ZodString>; result: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { status: "gathering" | "complete"; result?: string | undefined; miniFlowDescription?: string | undefined; }, { status: "gathering" | "complete"; result?: string | undefined; miniFlowDescription?: string | undefined; }>; export declare const PlanStepSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>; export declare const CoffeePlanEventSchema: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; export declare const UserMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>; export declare const AssistantMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>; export declare const ClarificationRequestMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>; export declare const ClarificationResponseMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>; export declare const ContextRequestMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>; export declare const ContextResponseMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>; export declare const PlanMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>; export declare const PlanApprovalMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>; export declare const SystemMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>; export declare const ToolResultMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>; export declare const CoffeeMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>; export declare const CoffeeRequestSchema: z.ZodObject<{ prompt: z.ZodString; flowId: z.ZodOptional<z.ZodNumber>; messages: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>, "many">>; }, "strip", z.ZodTypeAny, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; }, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; }>; export declare const CoffeeResponseSchema: z.ZodObject<{ type: z.ZodEnum<["clarification", "plan", "context_request", "error"]>; clarification: z.ZodOptional<z.ZodObject<{ questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>>; plan: z.ZodOptional<z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>>; contextRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; error: z.ZodOptional<z.ZodString>; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: "error" | "context_request" | "plan" | "clarification"; success: boolean; error?: string | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; clarification?: { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | undefined; contextRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { type: "error" | "context_request" | "plan" | "clarification"; success: boolean; error?: string | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; clarification?: { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | undefined; contextRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; export declare const CoffeeAgentOutputSchema: z.ZodObject<{ action: z.ZodEnum<["askClarification", "generatePlan", "requestContext"]>; questions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; plan: z.ZodOptional<z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>>; contextRequest: z.ZodOptional<z.ZodObject<{ purpose: z.ZodString; flowDescription: z.ZodString; }, "strip", z.ZodTypeAny, { purpose: string; flowDescription: string; }, { purpose: string; flowDescription: string; }>>; }, "strip", z.ZodTypeAny, { action: "askClarification" | "generatePlan" | "requestContext"; questions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; contextRequest?: { purpose: string; flowDescription: string; } | undefined; }, { action: "askClarification" | "generatePlan" | "requestContext"; questions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; contextRequest?: { purpose: string; flowDescription: string; } | undefined; }>; export type ClarificationChoice = z.infer<typeof ClarificationChoiceSchema>; export type ClarificationQuestion = z.infer<typeof ClarificationQuestionSchema>; export type CoffeeClarificationEvent = z.infer<typeof CoffeeClarificationEventSchema>; export type CoffeeRequestExternalContextEvent = z.infer<typeof CoffeeRequestExternalContextEventSchema>; export type CoffeeContextAnswer = z.infer<typeof CoffeeContextAnswerSchema>; export type CoffeeContextEvent = z.infer<typeof CoffeeContextEventSchema>; export type CoffeeContextRequestInfo = z.infer<typeof CoffeeContextRequestInfoSchema>; export type PlanStep = z.infer<typeof PlanStepSchema>; export type CoffeePlanEvent = z.infer<typeof CoffeePlanEventSchema>; export type CoffeeRequest = z.infer<typeof CoffeeRequestSchema>; export type CoffeeResponse = z.infer<typeof CoffeeResponseSchema>; export type CoffeeAgentOutput = z.infer<typeof CoffeeAgentOutputSchema>; export type UserMessage = z.infer<typeof UserMessageSchema>; export type AssistantMessage = z.infer<typeof AssistantMessageSchema>; export type ClarificationRequestMessage = z.infer<typeof ClarificationRequestMessageSchema>; export type ClarificationResponseMessage = z.infer<typeof ClarificationResponseMessageSchema>; export type ContextRequestMessage = z.infer<typeof ContextRequestMessageSchema>; export type ContextResponseMessage = z.infer<typeof ContextResponseMessageSchema>; export type PlanMessage = z.infer<typeof PlanMessageSchema>; export type PlanApprovalMessage = z.infer<typeof PlanApprovalMessageSchema>; export type SystemMessage = z.infer<typeof SystemMessageSchema>; export type ToolResultMessage = z.infer<typeof ToolResultMessageSchema>; export type CoffeeMessage = z.infer<typeof CoffeeMessageSchema>; export interface StreamingLogEvent { type: 'log_line' | 'bubble_instantiation' | 'bubble_execution' | 'bubble_start' | 'bubble_complete' | 'execution_complete' | 'error' | 'stream_complete' | 'info' | 'warn' | 'debug' | 'bubble_execution_complete' | 'trace' | 'fatal' | 'bubble_parameters_update' | 'tool_call_start' | 'tool_call_complete' | 'function_call_start' | 'function_call_complete' | 'start_evaluating' | 'end_evaluating' | 'browser_session_start' | 'browser_session_end'; timestamp: string; lineNumber?: number; variableId?: number; message: string; bubbleId?: string; bubbleName?: string; variableName?: string; additionalData?: Record<string, unknown>; executionTime?: number; memoryUsage?: number; logLevel?: string; bubbleParameters?: Record<number, import('./bubble-definition-schema').ParsedBubbleWithInfo>; toolCallId?: string; toolName?: string; toolInput?: unknown; toolOutput?: unknown; toolDuration?: number; functionName?: string; functionInput?: unknown; functionOutput?: unknown; functionDuration?: number; tokenUsage?: { inputTokens: number; outputTokens: number; totalTokens: number; }; cumulativeTokenUsage?: { inputTokens: number; outputTokens: number; totalTokens: number; }; evaluationResult?: { working: boolean; issueType: 'setup' | 'workflow' | 'input' | null; summary: string; rating: number; }; browserSessionUrl?: string; browserSessionId?: string; }
82
81
  export type StreamingEvent = { type: 'start'; data: { message: string; maxIterations: number; timestamp: string; }; } | { type: 'llm_start'; data: { model: string; temperature: number; }; } | { type: 'token'; data: { content: string; messageId: string; }; } | { type: 'think'; data: { content: string; messageId: string; }; } | { type: 'llm_complete'; data: { messageId: string; totalTokens?: number; content?: string; }; } | { type: 'tool_call_start'; data: { tool: string; input: unknown; callId: string; variableId?: number; }; } | { type: 'tool_call_complete'; data: { tool: string; input: unknown; output: unknown; duration: number; callId: string; variableId?: number; }; } | { type: 'iteration_start'; data: { iteration: number; }; } | { type: 'iteration_complete'; data: { iteration: number; hasToolCalls: boolean; }; } | { type: 'error'; data: { error: string; recoverable: boolean; }; } | { type: 'complete'; data: { result: unknown; totalDuration: number; }; } | { type: 'coffee_clarification'; data: CoffeeClarificationEvent; } | { type: 'coffee_context_gathering'; data: CoffeeContextEvent; } | { type: 'coffee_request_context'; data: CoffeeRequestExternalContextEvent; } | { type: 'coffee_plan'; data: CoffeePlanEvent; } | { type: 'coffee_complete'; data: { success: boolean; message?: string; }; }; export type StreamCallback = (event: StreamingLogEvent) => void | Promise<void>; export interface BubbleOperationResult { success: boolean; error: string; }
83
82
  export interface BubbleResult<T> extends BubbleOperationResult { data: T; executionId: string; timestamp: Date; }
84
83
  export declare class MockDataGenerator { static generateMockResult<TResult extends BubbleOperationResult>(resultSchema: z.ZodObject<z.ZodRawShape>): BubbleResult<TResult>; static generateMockFromJsonSchema(jsonSchema: Record<string, unknown>): Record<string, unknown>; static generateMockValueFromJsonSchema(schema: Record<string, unknown>): unknown; static generateMockFromSchema(schema: z.ZodObject<z.ZodRawShape>): Record<string, unknown>; static generateMockValue(zodType: z.ZodTypeAny): unknown; private static generateMockString; private static generateMockNumber; static generateMockWithSeed<TResult extends BubbleOperationResult>(resultSchema: z.ZodObject<z.ZodRawShape>, seed: number): BubbleResult<TResult>; }
85
- export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
86
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare const oauthInitiateRequestSchema: z.ZodObject<{ credentialType: z.ZodNativeEnum<typeof CredentialType>; name: z.ZodOptional<z.ZodString>; scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { credentialType: CredentialType; name?: string | undefined; scopes?: string[] | undefined; }, { credentialType: CredentialType; name?: string | undefined; scopes?: string[] | undefined; }>; export declare const oauthInitiateResponseSchema: z.ZodObject<{ authUrl: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { state: string; authUrl: string; }, { state: string; authUrl: string; }>; export declare const oauthCallbackRequestSchema: z.ZodObject<{ code: z.ZodString; state: z.ZodString; name: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name: string; code: string; state: string; description?: string | undefined; }, { name: string; code: string; state: string; description?: string | undefined; }>; export declare const oauthTokenRefreshResponseSchema: z.ZodObject<{ message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; }, { message: string; }>; export declare const oauthRevokeResponseSchema: z.ZodObject<{ message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; }, { message: string; }>; export type OAuthInitiateRequest = z.infer<typeof oauthInitiateRequestSchema>; export type OAuthInitiateResponse = z.infer<typeof oauthInitiateResponseSchema>; export type OAuthCallbackRequest = z.infer<typeof oauthCallbackRequestSchema>; export type OAuthTokenRefreshResponse = z.infer<typeof oauthTokenRefreshResponseSchema>; export type OAuthRevokeResponse = z.infer<typeof oauthRevokeResponseSchema>; export declare const joinWaitlistSchema: z.ZodObject<{ name: z.ZodString; email: z.ZodString; database: z.ZodString; otherDatabase: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name: string; email: string; database: string; otherDatabase?: string | undefined; }, { name: string; email: string; database: string; otherDatabase?: string | undefined; }>; export declare const joinWaitlistResponseSchema: z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; }, { message: string; success: boolean; }>; export type JoinWaitlistRequest = z.infer<typeof joinWaitlistSchema>; export type JoinWaitlistResponse = z.infer<typeof joinWaitlistResponseSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
87
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare enum BubbleParameterType { STRING = "string", NUMBER = "number", BOOLEAN = "boolean", OBJECT = "object", ARRAY = "array", ENV = "env", VARIABLE = "variable", EXPRESSION = "expression", UNKNOWN = "unknown" }
84
+ export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
85
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare const oauthInitiateRequestSchema: z.ZodObject<{ credentialType: z.ZodNativeEnum<typeof CredentialType>; name: z.ZodOptional<z.ZodString>; scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { credentialType: CredentialType; name?: string | undefined; scopes?: string[] | undefined; }, { credentialType: CredentialType; name?: string | undefined; scopes?: string[] | undefined; }>; export declare const oauthInitiateResponseSchema: z.ZodObject<{ authUrl: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { state: string; authUrl: string; }, { state: string; authUrl: string; }>; export declare const oauthCallbackRequestSchema: z.ZodObject<{ code: z.ZodString; state: z.ZodString; name: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name: string; code: string; state: string; description?: string | undefined; }, { name: string; code: string; state: string; description?: string | undefined; }>; export declare const oauthTokenRefreshResponseSchema: z.ZodObject<{ message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; }, { message: string; }>; export declare const oauthRevokeResponseSchema: z.ZodObject<{ message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; }, { message: string; }>; export type OAuthInitiateRequest = z.infer<typeof oauthInitiateRequestSchema>; export type OAuthInitiateResponse = z.infer<typeof oauthInitiateResponseSchema>; export type OAuthCallbackRequest = z.infer<typeof oauthCallbackRequestSchema>; export type OAuthTokenRefreshResponse = z.infer<typeof oauthTokenRefreshResponseSchema>; export type OAuthRevokeResponse = z.infer<typeof oauthRevokeResponseSchema>; export declare const joinWaitlistSchema: z.ZodObject<{ name: z.ZodString; email: z.ZodString; database: z.ZodString; otherDatabase: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { name: string; email: string; database: string; otherDatabase?: string | undefined; }, { name: string; email: string; database: string; otherDatabase?: string | undefined; }>; export declare const joinWaitlistResponseSchema: z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; }, { message: string; success: boolean; }>; export type JoinWaitlistRequest = z.infer<typeof joinWaitlistSchema>; export type JoinWaitlistResponse = z.infer<typeof joinWaitlistResponseSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
86
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare enum BubbleParameterType { STRING = "string", NUMBER = "number", BOOLEAN = "boolean", OBJECT = "object", ARRAY = "array", ENV = "env", VARIABLE = "variable", EXPRESSION = "expression", UNKNOWN = "unknown" }
88
87
  export declare const CREDENTIAL_CONFIGURATION_MAP: Record<CredentialType, Record<string, BubbleParameterType>>; export declare const BUBBLE_NAMES_WITH_CONTEXT_INJECTION: string[]; export declare const BubbleParameterTypeSchema: z.ZodNativeEnum<typeof BubbleParameterType>; export declare const BubbleParameterSchema: z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>; export type BubbleParameter = z.infer<typeof BubbleParameterSchema>; export interface ParsedBubble { variableName: string; bubbleName: BubbleName; className: string; parameters: BubbleParameter[]; hasAwait: boolean; hasActionCall: boolean; dependencies?: BubbleName[]; dependencyGraph?: DependencyGraphNode; }
89
88
  export interface DependencyGraphNode { name: BubbleName; variableName?: string; nodeType: BubbleNodeType; uniqueId?: string; variableId?: number; dependencies: DependencyGraphNode[]; functionCallChildren?: FunctionCallWorkflowNode[]; }
90
89
  export interface BubbleDependencySpec { name: BubbleName; tools?: BubbleName[]; }
@@ -98,11 +97,11 @@ export interface FunctionCallWorkflowNode { type: 'function_call'; location: { s
98
97
  export interface ParallelExecutionWorkflowNode { type: 'parallel_execution'; location: { startLine: number; startCol: number; endLine: number; endCol: number; }; code: string; variableDeclaration?: { variableNames: string[]; variableType: 'const' | 'let' | 'var'; }; children: WorkflowNode[]; }
99
98
  export interface TransformationFunctionWorkflowNode { type: 'transformation_function'; location: { startLine: number; startCol: number; endLine: number; endCol: number; }; code: string; functionName: string; isMethodCall: boolean; description?: string; arguments?: string; variableId: number; variableDeclaration?: { variableName: string; variableType: 'const' | 'let' | 'var'; }; methodDefinition?: { location: { startLine: number; endLine: number; }; isAsync: boolean; parameters: string[]; }; }
100
99
  export type WorkflowNode = BubbleWorkflowNode | ControlFlowWorkflowNode | TryCatchWorkflowNode | CodeBlockWorkflowNode | VariableDeclarationBlockNode | ReturnWorkflowNode | FunctionCallWorkflowNode | ParallelExecutionWorkflowNode | TransformationFunctionWorkflowNode; export interface ParsedWorkflow { root: WorkflowNode[]; bubbles: Record<number, ParsedBubbleWithInfo>; }
101
- export declare const WorkflowNodeTypeSchema: z.ZodEnum<["bubble", "if", "for", "while", "try_catch", "variable_declaration", "return", "function_call", "code_block", "parallel_execution", "transformation_function"]>; export declare const LocationSchema: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; export declare const BubbleWorkflowNodeSchema: z.ZodType<BubbleWorkflowNode>; export declare const ControlFlowWorkflowNodeSchema: z.ZodType<ControlFlowWorkflowNode>; export declare const TryCatchWorkflowNodeSchema: z.ZodType<TryCatchWorkflowNode>; export declare const CodeBlockWorkflowNodeSchema: z.ZodType<CodeBlockWorkflowNode>; export declare const VariableDeclarationBlockNodeSchema: z.ZodType<VariableDeclarationBlockNode>; export declare const ReturnWorkflowNodeSchema: z.ZodType<ReturnWorkflowNode>; export declare const FunctionCallWorkflowNodeSchema: z.ZodType<FunctionCallWorkflowNode>; export declare const ParallelExecutionWorkflowNodeSchema: z.ZodType<ParallelExecutionWorkflowNode>; export declare const TransformationFunctionWorkflowNodeSchema: z.ZodType<TransformationFunctionWorkflowNode>; export declare const WorkflowNodeSchema: z.ZodType<WorkflowNode>; export declare const ParsedWorkflowSchema: z.ZodObject<{ root: z.ZodArray<z.ZodType<WorkflowNode, z.ZodTypeDef, WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<DependencyGraphNode, z.ZodTypeDef, DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
102
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
103
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare const createBubbleFlowSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional<z.ZodString>; prompt: z.ZodOptional<z.ZodString>; code: z.ZodString; eventType: z.ZodString; webhookPath: z.ZodOptional<z.ZodString>; webhookActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>>; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { name: string; code: string; eventType: string; description?: string | undefined; webhookPath?: string | undefined; prompt?: string | undefined; webhookActive?: boolean | undefined; bubbleParameters?: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; triggerCredentialId?: number | null | undefined; }, { name: string; code: string; eventType: string; description?: string | undefined; webhookPath?: string | undefined; prompt?: string | undefined; webhookActive?: boolean | undefined; bubbleParameters?: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; triggerCredentialId?: number | null | undefined; }>; export declare const createEmptyBubbleFlowSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional<z.ZodString>; prompt: z.ZodString; eventType: z.ZodString; webhookPath: z.ZodOptional<z.ZodString>; webhookActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { name: string; eventType: string; prompt: string; description?: string | undefined; webhookPath?: string | undefined; webhookActive?: boolean | undefined; triggerCredentialId?: number | null | undefined; }, { name: string; eventType: string; prompt: string; description?: string | undefined; webhookPath?: string | undefined; webhookActive?: boolean | undefined; triggerCredentialId?: number | null | undefined; }>; export declare const executeBubbleFlowSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>; export declare const updateBubbleFlowParametersSchema: z.ZodObject<{ bubbleParameters: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; }, "strip", z.ZodTypeAny, { variableName: string; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; }, { variableName: string; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; }>]>>; }, "strip", z.ZodTypeAny, { bubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; } | { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { bubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; } | { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>; export declare const updateBubbleFlowNameSchema: z.ZodObject<{ name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; }, { name: string; }>; export declare const createBubbleFlowResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; workflow: z.ZodOptional<z.ZodObject<{ root: z.ZodArray<z.ZodType<import("./bubble-definition-schema.js").WorkflowNode, z.ZodTypeDef, import("./bubble-definition-schema.js").WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>>; requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>; eventType: z.ZodString; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; webhook: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; url: z.ZodString; path: z.ZodString; active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; id: number; url: string; active: boolean; }, { path: string; id: number; url: string; active: boolean; }>>; }, "strip", z.ZodTypeAny, { message: string; id: number; eventType: string; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; workflow?: { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; inputSchema?: Record<string, unknown> | undefined; requiredCredentials?: Record<string, CredentialType[]> | undefined; triggerCredentialId?: number | null | undefined; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }, { message: string; id: number; eventType: string; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; workflow?: { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; inputSchema?: Record<string, unknown> | undefined; requiredCredentials?: Record<string, CredentialType[]> | undefined; triggerCredentialId?: number | null | undefined; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }>; export declare const createEmptyBubbleFlowResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; webhook: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; url: z.ZodString; path: z.ZodString; active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; id: number; url: string; active: boolean; }, { path: string; id: number; url: string; active: boolean; }>>; }, "strip", z.ZodTypeAny, { message: string; id: number; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }, { message: string; id: number; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }>; export declare const usedCredentialSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; type: z.ZodNativeEnum<typeof CredentialType>; ownerId: z.ZodString; isMine: z.ZodBoolean; }, "strip", z.ZodTypeAny, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }>; export type UsedCredential = z.infer<typeof usedCredentialSchema>; export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; description: z.ZodOptional<z.ZodString>; prompt: z.ZodOptional<z.ZodString>; eventType: z.ZodString; code: z.ZodString; generationError: z.ZodOptional<z.ZodNullable<z.ZodString>>; inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; cron: z.ZodOptional<z.ZodNullable<z.ZodString>>; cronActive: z.ZodOptional<z.ZodBoolean>; defaultInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; isActive: z.ZodBoolean; organizationId: z.ZodOptional<z.ZodNumber>; requiredCredentials: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>; usedCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; type: z.ZodNativeEnum<typeof CredentialType>; ownerId: z.ZodString; isMine: z.ZodBoolean; }, "strip", z.ZodTypeAny, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }>, "many">>; displayedBubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodString; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ name: z.ZodString; value: z.ZodUnknown; type: z.ZodNativeEnum<typeof BubbleParameterType>; }, "strip", z.ZodTypeAny, { name: string; type: BubbleParameterType; value?: unknown; }, { name: string; type: BubbleParameterType; value?: unknown; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; }, "strip", z.ZodTypeAny, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>>>; bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; workflow: z.ZodOptional<z.ZodObject<{ root: z.ZodArray<z.ZodType<import("./bubble-definition-schema.js").WorkflowNode, z.ZodTypeDef, import("./bubble-definition-schema.js").WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>>; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; triggerCredential: z.ZodOptional<z.ZodNullable<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; type: z.ZodNativeEnum<typeof CredentialType>; ownerId: z.ZodString; isMine: z.ZodBoolean; }, "strip", z.ZodTypeAny, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }>>>; createdAt: z.ZodString; updatedAt: z.ZodString; webhook_url: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; code: string; id: number; webhook_url: string; eventType: string; requiredCredentials: Record<string, CredentialType[]>; updatedAt: string; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; isActive: boolean; createdAt: string; description?: string | undefined; workflow?: { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; defaultInputs?: Record<string, unknown> | undefined; inputSchema?: Record<string, unknown> | undefined; metadata?: Record<string, unknown> | undefined; cron?: string | null | undefined; cronActive?: boolean | undefined; organizationId?: number | undefined; prompt?: string | undefined; triggerCredentialId?: number | null | undefined; generationError?: string | null | undefined; usedCredentials?: { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }[] | undefined; displayedBubbleParameters?: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }> | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; triggerCredential?: { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; } | null | undefined; }, { name: string; code: string; id: number; webhook_url: string; eventType: string; requiredCredentials: Record<string, CredentialType[]>; updatedAt: string; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; isActive: boolean; createdAt: string; description?: string | undefined; workflow?: { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; defaultInputs?: Record<string, unknown> | undefined; inputSchema?: Record<string, unknown> | undefined; metadata?: Record<string, unknown> | undefined; cron?: string | null | undefined; cronActive?: boolean | undefined; organizationId?: number | undefined; prompt?: string | undefined; triggerCredentialId?: number | null | undefined; generationError?: string | null | undefined; usedCredentials?: { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }[] | undefined; displayedBubbleParameters?: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }> | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; triggerCredential?: { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; } | null | undefined; }>; export declare const bubbleFlowListItemSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; description: z.ZodOptional<z.ZodString>; eventType: z.ZodString; isActive: z.ZodBoolean; cronActive: z.ZodBoolean; cronSchedule: z.ZodOptional<z.ZodString>; webhookExecutionCount: z.ZodNumber; webhookFailureCount: z.ZodNumber; executionCount: z.ZodNumber; bubbles: z.ZodOptional<z.ZodArray<z.ZodObject<{ bubbleName: z.ZodType<BubbleName>; className: z.ZodString; }, "strip", z.ZodTypeAny, { className: string; bubbleName: BubbleName; }, { className: string; bubbleName: BubbleName; }>, "many">>; permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>; organizationId: z.ZodOptional<z.ZodNumber>; ownerId: z.ZodString; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }, { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }>; export declare const bubbleFlowListResponseSchema: z.ZodObject<{ bubbleFlows: z.ZodDefault<z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; description: z.ZodOptional<z.ZodString>; eventType: z.ZodString; isActive: z.ZodBoolean; cronActive: z.ZodBoolean; cronSchedule: z.ZodOptional<z.ZodString>; webhookExecutionCount: z.ZodNumber; webhookFailureCount: z.ZodNumber; executionCount: z.ZodNumber; bubbles: z.ZodOptional<z.ZodArray<z.ZodObject<{ bubbleName: z.ZodType<BubbleName>; className: z.ZodString; }, "strip", z.ZodTypeAny, { className: string; bubbleName: BubbleName; }, { className: string; bubbleName: BubbleName; }>, "many">>; permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>; organizationId: z.ZodOptional<z.ZodNumber>; ownerId: z.ZodString; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }, { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }>, "many">>; userMonthlyUsage: z.ZodObject<{ count: z.ZodNumber; }, "strip", z.ZodTypeAny, { count: number; }, { count: number; }>; }, "strip", z.ZodTypeAny, { bubbleFlows: { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }[]; userMonthlyUsage: { count: number; }; }, { userMonthlyUsage: { count: number; }; bubbleFlows?: { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }[] | undefined; }>; export declare const activateBubbleFlowResponseSchema: z.ZodObject<{ success: z.ZodBoolean; webhookUrl: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; webhookUrl: string; }, { message: string; success: boolean; webhookUrl: string; }>; export type ActivateBubbleFlowResponse = z.infer<typeof activateBubbleFlowResponseSchema>; export type CreateBubbleFlowResponse = z.infer<typeof createBubbleFlowResponseSchema>; export type CreateBubbleFlowRequest = z.infer<typeof createBubbleFlowSchema>; export type CreateEmptyBubbleFlowRequest = z.infer<typeof createEmptyBubbleFlowSchema>; export type CreateEmptyBubbleFlowResponse = z.infer<typeof createEmptyBubbleFlowResponseSchema>; export type ExecuteBubbleFlowRequest = z.infer<typeof executeBubbleFlowSchema>; export type UpdateBubbleFlowParametersRequest = z.infer<typeof updateBubbleFlowParametersSchema>; export type UpdateBubbleFlowParametersResponse = z.infer<typeof updateBubbleFlowParametersSchema>; export type UpdateBubbleFlowNameRequest = z.infer<typeof updateBubbleFlowNameSchema>; export type BubbleFlowDetailsResponse = z.infer<typeof bubbleFlowDetailsResponseSchema>; export type BubbleFlowListResponse = z.infer<typeof bubbleFlowListResponseSchema>; export type BubbleFlowListItem = z.infer<typeof bubbleFlowListItemSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
104
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare const ServiceUsageSchema: z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>; export type ServiceUsage = z.infer<typeof ServiceUsageSchema>; export declare const ExecutionSummarySchema: z.ZodObject<{ result: z.ZodOptional<z.ZodAny>; totalDuration: z.ZodNumber; lineExecutionCount: z.ZodOptional<z.ZodNumber>; bubbleExecutionCount: z.ZodOptional<z.ZodNumber>; errorCount: z.ZodOptional<z.ZodNumber>; totalCost: z.ZodNumber; warningCount: z.ZodOptional<z.ZodNumber>; errors: z.ZodOptional<z.ZodArray<z.ZodObject<{ message: z.ZodString; timestamp: z.ZodNumber; bubbleName: z.ZodOptional<z.ZodString>; variableId: z.ZodOptional<z.ZodNumber>; lineNumber: z.ZodOptional<z.ZodNumber>; additionalData: z.ZodOptional<z.ZodAny>; }, "strip", z.ZodTypeAny, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }>, "many">>; warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{ message: z.ZodString; timestamp: z.ZodNumber; bubbleName: z.ZodOptional<z.ZodString>; variableId: z.ZodOptional<z.ZodNumber>; lineNumber: z.ZodOptional<z.ZodNumber>; additionalData: z.ZodOptional<z.ZodAny>; }, "strip", z.ZodTypeAny, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }>, "many">>; averageLineExecutionTime: z.ZodOptional<z.ZodNumber>; slowestLines: z.ZodOptional<z.ZodArray<z.ZodObject<{ lineNumber: z.ZodNumber; duration: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; lineNumber: number; duration: number; }, { message: string; lineNumber: number; duration: number; }>, "many">>; memoryPeakUsage: z.ZodOptional<z.ZodAny>; startTime: z.ZodOptional<z.ZodNumber>; endTime: z.ZodOptional<z.ZodNumber>; serviceUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">>; serviceUsageByService: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; }, { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; }>; export type ExecutionSummary = z.infer<typeof ExecutionSummarySchema>; export declare const bubbleFlowExecutionSchema: z.ZodObject<{ id: z.ZodNumber; status: z.ZodEnum<["running", "success", "error"]>; payload: z.ZodRecord<z.ZodString, z.ZodAny>; result: z.ZodOptional<z.ZodAny>; error: z.ZodOptional<z.ZodString>; startedAt: z.ZodString; webhook_url: z.ZodString; completedAt: z.ZodOptional<z.ZodString>; code: z.ZodOptional<z.ZodString>; totalCost: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }>; export declare const listBubbleFlowExecutionsResponseSchema: z.ZodObject<{ items: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; status: z.ZodEnum<["running", "success", "error"]>; payload: z.ZodRecord<z.ZodString, z.ZodAny>; result: z.ZodOptional<z.ZodAny>; error: z.ZodOptional<z.ZodString>; startedAt: z.ZodString; webhook_url: z.ZodString; completedAt: z.ZodOptional<z.ZodString>; code: z.ZodOptional<z.ZodString>; totalCost: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }>, "many">; total: z.ZodNumber; }, "strip", z.ZodTypeAny, { items: { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }[]; total: number; }, { items: { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }[]; total: number; }>; export type ListBubbleFlowExecutionsResponse = z.infer<typeof listBubbleFlowExecutionsResponseSchema>; export declare const bubbleFlowExecutionDetailSchema: z.ZodObject<{ id: z.ZodNumber; status: z.ZodEnum<["running", "success", "error"]>; payload: z.ZodRecord<z.ZodString, z.ZodAny>; result: z.ZodOptional<z.ZodAny>; error: z.ZodOptional<z.ZodString>; startedAt: z.ZodString; webhook_url: z.ZodString; completedAt: z.ZodOptional<z.ZodString>; code: z.ZodOptional<z.ZodString>; totalCost: z.ZodOptional<z.ZodNumber>; } & { executionLogs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>; }, "strip", z.ZodTypeAny, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; executionLogs?: any[] | undefined; }, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; executionLogs?: any[] | undefined; }>; export type BubbleFlowExecutionDetail = z.infer<typeof bubbleFlowExecutionDetailSchema>; export declare const executeBubbleFlowResponseSchema: z.ZodObject<{ executionId: z.ZodNumber; success: z.ZodBoolean; data: z.ZodOptional<z.ZodAny>; summary: z.ZodOptional<z.ZodObject<{ result: z.ZodOptional<z.ZodAny>; totalDuration: z.ZodNumber; lineExecutionCount: z.ZodOptional<z.ZodNumber>; bubbleExecutionCount: z.ZodOptional<z.ZodNumber>; errorCount: z.ZodOptional<z.ZodNumber>; totalCost: z.ZodNumber; warningCount: z.ZodOptional<z.ZodNumber>; errors: z.ZodOptional<z.ZodArray<z.ZodObject<{ message: z.ZodString; timestamp: z.ZodNumber; bubbleName: z.ZodOptional<z.ZodString>; variableId: z.ZodOptional<z.ZodNumber>; lineNumber: z.ZodOptional<z.ZodNumber>; additionalData: z.ZodOptional<z.ZodAny>; }, "strip", z.ZodTypeAny, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }>, "many">>; warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{ message: z.ZodString; timestamp: z.ZodNumber; bubbleName: z.ZodOptional<z.ZodString>; variableId: z.ZodOptional<z.ZodNumber>; lineNumber: z.ZodOptional<z.ZodNumber>; additionalData: z.ZodOptional<z.ZodAny>; }, "strip", z.ZodTypeAny, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }>, "many">>; averageLineExecutionTime: z.ZodOptional<z.ZodNumber>; slowestLines: z.ZodOptional<z.ZodArray<z.ZodObject<{ lineNumber: z.ZodNumber; duration: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; lineNumber: number; duration: number; }, { message: string; lineNumber: number; duration: number; }>, "many">>; memoryPeakUsage: z.ZodOptional<z.ZodAny>; startTime: z.ZodOptional<z.ZodNumber>; endTime: z.ZodOptional<z.ZodNumber>; serviceUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">>; serviceUsageByService: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; }, { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; }>>; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { success: boolean; executionId: number; error?: string | undefined; data?: any; summary?: { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; } | undefined; }, { success: boolean; executionId: number; error?: string | undefined; data?: any; summary?: { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; } | undefined; }>; export type ExecuteBubbleFlowResponse = z.infer<typeof executeBubbleFlowResponseSchema>; export type ExecutionResult = ExecuteBubbleFlowResponse; export declare const validateBubbleFlowCodeSchema: z.ZodObject<{ code: z.ZodString; options: z.ZodOptional<z.ZodObject<{ includeDetails: z.ZodDefault<z.ZodBoolean>; strictMode: z.ZodDefault<z.ZodBoolean>; syncInputsWithFlow: z.ZodDefault<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { includeDetails: boolean; strictMode: boolean; syncInputsWithFlow: boolean; }, { includeDetails?: boolean | undefined; strictMode?: boolean | undefined; syncInputsWithFlow?: boolean | undefined; }>>; flowId: z.ZodOptional<z.ZodNumber>; credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>>; defaultInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; activateCron: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { code: string; options?: { includeDetails: boolean; strictMode: boolean; syncInputsWithFlow: boolean; } | undefined; flowId?: number | undefined; credentials?: Record<string, Record<string, number>> | undefined; defaultInputs?: Record<string, unknown> | undefined; activateCron?: boolean | undefined; }, { code: string; options?: { includeDetails?: boolean | undefined; strictMode?: boolean | undefined; syncInputsWithFlow?: boolean | undefined; } | undefined; flowId?: number | undefined; credentials?: Record<string, Record<string, number>> | undefined; defaultInputs?: Record<string, unknown> | undefined; activateCron?: boolean | undefined; }>; export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{ eventType: z.ZodString; webhookPath: z.ZodString; valid: z.ZodBoolean; errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; bubbleCount: z.ZodOptional<z.ZodNumber>; inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>; bubbles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof import("./bubble-definition-schema").BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types").BubbleName, z.ZodTypeDef, import("./types").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>>; workflow: z.ZodOptional<z.ZodObject<{ root: z.ZodArray<z.ZodType<import("./bubble-definition-schema").WorkflowNode, z.ZodTypeDef, import("./bubble-definition-schema").WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof import("./bubble-definition-schema").BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types").BubbleName, z.ZodTypeDef, import("./types").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: import("./bubble-definition-schema").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: import("./bubble-definition-schema").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>>; requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>; metadata: z.ZodObject<{ validatedAt: z.ZodString; codeLength: z.ZodNumber; strictMode: z.ZodBoolean; flowUpdated: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { strictMode: boolean; validatedAt: string; codeLength: number; flowUpdated?: boolean | undefined; }, { strictMode: boolean; validatedAt: string; codeLength: number; flowUpdated?: boolean | undefined; }>; cron: z.ZodOptional<z.ZodNullable<z.ZodString>>; cronActive: z.ZodOptional<z.ZodBoolean>; defaultInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { valid: boolean; error: string; success: boolean; eventType: string; webhookPath: string; inputSchema: Record<string, unknown>; metadata: { strictMode: boolean; validatedAt: string; codeLength: number; flowUpdated?: boolean | undefined; }; workflow?: { root: import("./bubble-definition-schema").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; bubbles?: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; errors?: string[] | undefined; defaultInputs?: Record<string, unknown> | undefined; bubbleCount?: number | undefined; requiredCredentials?: Record<string, string[]> | undefined; cron?: string | null | undefined; cronActive?: boolean | undefined; }, { valid: boolean; error: string; success: boolean; eventType: string; webhookPath: string; inputSchema: Record<string, unknown>; metadata: { strictMode: boolean; validatedAt: string; codeLength: number; flowUpdated?: boolean | undefined; }; workflow?: { root: import("./bubble-definition-schema").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; bubbles?: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; errors?: string[] | undefined; defaultInputs?: Record<string, unknown> | undefined; bubbleCount?: number | undefined; requiredCredentials?: Record<string, string[]> | undefined; cron?: string | null | undefined; cronActive?: boolean | undefined; }>; export type ValidateBubbleFlowResponse = z.infer<typeof validateBubbleFlowCodeResponseSchema>; export type BubbleFlowExecution = z.infer<typeof bubbleFlowExecutionSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
105
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare enum BubbleParameterType { STRING = "string", NUMBER = "number", BOOLEAN = "boolean", OBJECT = "object", ARRAY = "array", ENV = "env", VARIABLE = "variable", EXPRESSION = "expression", UNKNOWN = "unknown" }
100
+ export declare const WorkflowNodeTypeSchema: z.ZodEnum<["bubble", "if", "for", "while", "try_catch", "variable_declaration", "return", "function_call", "code_block", "parallel_execution", "transformation_function"]>; export declare const LocationSchema: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; export declare const BubbleWorkflowNodeSchema: z.ZodType<BubbleWorkflowNode>; export declare const ControlFlowWorkflowNodeSchema: z.ZodType<ControlFlowWorkflowNode>; export declare const TryCatchWorkflowNodeSchema: z.ZodType<TryCatchWorkflowNode>; export declare const CodeBlockWorkflowNodeSchema: z.ZodType<CodeBlockWorkflowNode>; export declare const VariableDeclarationBlockNodeSchema: z.ZodType<VariableDeclarationBlockNode>; export declare const ReturnWorkflowNodeSchema: z.ZodType<ReturnWorkflowNode>; export declare const FunctionCallWorkflowNodeSchema: z.ZodType<FunctionCallWorkflowNode>; export declare const ParallelExecutionWorkflowNodeSchema: z.ZodType<ParallelExecutionWorkflowNode>; export declare const TransformationFunctionWorkflowNodeSchema: z.ZodType<TransformationFunctionWorkflowNode>; export declare const WorkflowNodeSchema: z.ZodType<WorkflowNode>; export declare const ParsedWorkflowSchema: z.ZodObject<{ root: z.ZodArray<z.ZodType<WorkflowNode, z.ZodTypeDef, WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<DependencyGraphNode, z.ZodTypeDef, DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
101
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
102
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare const createBubbleFlowSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional<z.ZodString>; prompt: z.ZodOptional<z.ZodString>; code: z.ZodString; eventType: z.ZodString; webhookPath: z.ZodOptional<z.ZodString>; webhookActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>>; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { name: string; code: string; eventType: string; description?: string | undefined; webhookPath?: string | undefined; prompt?: string | undefined; webhookActive?: boolean | undefined; bubbleParameters?: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; triggerCredentialId?: number | null | undefined; }, { name: string; code: string; eventType: string; description?: string | undefined; webhookPath?: string | undefined; prompt?: string | undefined; webhookActive?: boolean | undefined; bubbleParameters?: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; triggerCredentialId?: number | null | undefined; }>; export declare const createEmptyBubbleFlowSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional<z.ZodString>; prompt: z.ZodString; eventType: z.ZodString; webhookPath: z.ZodOptional<z.ZodString>; webhookActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { name: string; eventType: string; prompt: string; description?: string | undefined; webhookPath?: string | undefined; webhookActive?: boolean | undefined; triggerCredentialId?: number | null | undefined; }, { name: string; eventType: string; prompt: string; description?: string | undefined; webhookPath?: string | undefined; webhookActive?: boolean | undefined; triggerCredentialId?: number | null | undefined; }>; export declare const executeBubbleFlowSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>; export declare const updateBubbleFlowParametersSchema: z.ZodObject<{ bubbleParameters: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; }, "strip", z.ZodTypeAny, { variableName: string; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; }, { variableName: string; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; }>]>>; }, "strip", z.ZodTypeAny, { bubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; } | { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { bubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; } | { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>; export declare const updateBubbleFlowNameSchema: z.ZodObject<{ name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; }, { name: string; }>; export declare const createBubbleFlowResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; workflow: z.ZodOptional<z.ZodObject<{ root: z.ZodArray<z.ZodType<import("./bubble-definition-schema.js").WorkflowNode, z.ZodTypeDef, import("./bubble-definition-schema.js").WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>>; requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>; eventType: z.ZodString; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; webhook: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; url: z.ZodString; path: z.ZodString; active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; id: number; url: string; active: boolean; }, { path: string; id: number; url: string; active: boolean; }>>; }, "strip", z.ZodTypeAny, { message: string; id: number; eventType: string; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; workflow?: { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; inputSchema?: Record<string, unknown> | undefined; requiredCredentials?: Record<string, CredentialType[]> | undefined; triggerCredentialId?: number | null | undefined; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }, { message: string; id: number; eventType: string; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; workflow?: { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; inputSchema?: Record<string, unknown> | undefined; requiredCredentials?: Record<string, CredentialType[]> | undefined; triggerCredentialId?: number | null | undefined; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }>; export declare const createEmptyBubbleFlowResponseSchema: z.ZodObject<{ id: z.ZodNumber; message: z.ZodString; webhook: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; url: z.ZodString; path: z.ZodString; active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; id: number; url: string; active: boolean; }, { path: string; id: number; url: string; active: boolean; }>>; }, "strip", z.ZodTypeAny, { message: string; id: number; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }, { message: string; id: number; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }>; export declare const usedCredentialSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; type: z.ZodNativeEnum<typeof CredentialType>; ownerId: z.ZodString; isMine: z.ZodBoolean; }, "strip", z.ZodTypeAny, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }>; export type UsedCredential = z.infer<typeof usedCredentialSchema>; export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; description: z.ZodOptional<z.ZodString>; prompt: z.ZodOptional<z.ZodString>; eventType: z.ZodString; code: z.ZodString; generationError: z.ZodOptional<z.ZodNullable<z.ZodString>>; inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; cron: z.ZodOptional<z.ZodNullable<z.ZodString>>; cronActive: z.ZodOptional<z.ZodBoolean>; defaultInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; isActive: z.ZodBoolean; organizationId: z.ZodOptional<z.ZodNumber>; requiredCredentials: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>; usedCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; type: z.ZodNativeEnum<typeof CredentialType>; ownerId: z.ZodString; isMine: z.ZodBoolean; }, "strip", z.ZodTypeAny, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }>, "many">>; displayedBubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodString; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ name: z.ZodString; value: z.ZodUnknown; type: z.ZodNativeEnum<typeof BubbleParameterType>; }, "strip", z.ZodTypeAny, { name: string; type: BubbleParameterType; value?: unknown; }, { name: string; type: BubbleParameterType; value?: unknown; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; }, "strip", z.ZodTypeAny, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>>>; bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; workflow: z.ZodOptional<z.ZodObject<{ root: z.ZodArray<z.ZodType<import("./bubble-definition-schema.js").WorkflowNode, z.ZodTypeDef, import("./bubble-definition-schema.js").WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>>; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; triggerCredential: z.ZodOptional<z.ZodNullable<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; type: z.ZodNativeEnum<typeof CredentialType>; ownerId: z.ZodString; isMine: z.ZodBoolean; }, "strip", z.ZodTypeAny, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }, { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }>>>; createdAt: z.ZodString; updatedAt: z.ZodString; webhook_url: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; code: string; id: number; webhook_url: string; eventType: string; requiredCredentials: Record<string, CredentialType[]>; updatedAt: string; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; isActive: boolean; createdAt: string; description?: string | undefined; workflow?: { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; defaultInputs?: Record<string, unknown> | undefined; inputSchema?: Record<string, unknown> | undefined; metadata?: Record<string, unknown> | undefined; cron?: string | null | undefined; cronActive?: boolean | undefined; organizationId?: number | undefined; prompt?: string | undefined; triggerCredentialId?: number | null | undefined; generationError?: string | null | undefined; usedCredentials?: { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }[] | undefined; displayedBubbleParameters?: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }> | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; triggerCredential?: { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; } | null | undefined; }, { name: string; code: string; id: number; webhook_url: string; eventType: string; requiredCredentials: Record<string, CredentialType[]>; updatedAt: string; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; isActive: boolean; createdAt: string; description?: string | undefined; workflow?: { root: import("./bubble-definition-schema.js").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; defaultInputs?: Record<string, unknown> | undefined; inputSchema?: Record<string, unknown> | undefined; metadata?: Record<string, unknown> | undefined; cron?: string | null | undefined; cronActive?: boolean | undefined; organizationId?: number | undefined; prompt?: string | undefined; triggerCredentialId?: number | null | undefined; generationError?: string | null | undefined; usedCredentials?: { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; }[] | undefined; displayedBubbleParameters?: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }> | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; triggerCredential?: { name: string; type: CredentialType; id: number; ownerId: string; isMine: boolean; } | null | undefined; }>; export declare const bubbleFlowListItemSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; description: z.ZodOptional<z.ZodString>; eventType: z.ZodString; isActive: z.ZodBoolean; cronActive: z.ZodBoolean; cronSchedule: z.ZodOptional<z.ZodString>; webhookExecutionCount: z.ZodNumber; webhookFailureCount: z.ZodNumber; executionCount: z.ZodNumber; bubbles: z.ZodOptional<z.ZodArray<z.ZodObject<{ bubbleName: z.ZodType<BubbleName>; className: z.ZodString; }, "strip", z.ZodTypeAny, { className: string; bubbleName: BubbleName; }, { className: string; bubbleName: BubbleName; }>, "many">>; permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>; organizationId: z.ZodOptional<z.ZodNumber>; ownerId: z.ZodString; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }, { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }>; export declare const bubbleFlowListResponseSchema: z.ZodObject<{ bubbleFlows: z.ZodDefault<z.ZodArray<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; description: z.ZodOptional<z.ZodString>; eventType: z.ZodString; isActive: z.ZodBoolean; cronActive: z.ZodBoolean; cronSchedule: z.ZodOptional<z.ZodString>; webhookExecutionCount: z.ZodNumber; webhookFailureCount: z.ZodNumber; executionCount: z.ZodNumber; bubbles: z.ZodOptional<z.ZodArray<z.ZodObject<{ bubbleName: z.ZodType<BubbleName>; className: z.ZodString; }, "strip", z.ZodTypeAny, { className: string; bubbleName: BubbleName; }, { className: string; bubbleName: BubbleName; }>, "many">>; permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>; organizationId: z.ZodOptional<z.ZodNumber>; ownerId: z.ZodString; triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }, { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }>, "many">>; userMonthlyUsage: z.ZodObject<{ count: z.ZodNumber; }, "strip", z.ZodTypeAny, { count: number; }, { count: number; }>; }, "strip", z.ZodTypeAny, { bubbleFlows: { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }[]; userMonthlyUsage: { count: number; }; }, { userMonthlyUsage: { count: number; }; bubbleFlows?: { name: string; id: number; eventType: string; cronActive: boolean; updatedAt: string; ownerId: string; isActive: boolean; createdAt: string; webhookExecutionCount: number; webhookFailureCount: number; executionCount: number; description?: string | undefined; bubbles?: { className: string; bubbleName: BubbleName; }[] | undefined; organizationId?: number | undefined; triggerCredentialId?: number | null | undefined; permission?: "owner" | "editor" | "runner" | "viewer" | undefined; cronSchedule?: string | undefined; }[] | undefined; }>; export declare const activateBubbleFlowResponseSchema: z.ZodObject<{ success: z.ZodBoolean; webhookUrl: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: boolean; webhookUrl: string; }, { message: string; success: boolean; webhookUrl: string; }>; export type ActivateBubbleFlowResponse = z.infer<typeof activateBubbleFlowResponseSchema>; export type CreateBubbleFlowResponse = z.infer<typeof createBubbleFlowResponseSchema>; export type CreateBubbleFlowRequest = z.infer<typeof createBubbleFlowSchema>; export type CreateEmptyBubbleFlowRequest = z.infer<typeof createEmptyBubbleFlowSchema>; export type CreateEmptyBubbleFlowResponse = z.infer<typeof createEmptyBubbleFlowResponseSchema>; export type ExecuteBubbleFlowRequest = z.infer<typeof executeBubbleFlowSchema>; export type UpdateBubbleFlowParametersRequest = z.infer<typeof updateBubbleFlowParametersSchema>; export type UpdateBubbleFlowParametersResponse = z.infer<typeof updateBubbleFlowParametersSchema>; export type UpdateBubbleFlowNameRequest = z.infer<typeof updateBubbleFlowNameSchema>; export type BubbleFlowDetailsResponse = z.infer<typeof bubbleFlowDetailsResponseSchema>; export type BubbleFlowListResponse = z.infer<typeof bubbleFlowListResponseSchema>; export type BubbleFlowListItem = z.infer<typeof bubbleFlowListItemSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
103
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare const ServiceUsageSchema: z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>; export type ServiceUsage = z.infer<typeof ServiceUsageSchema>; export declare const ExecutionSummarySchema: z.ZodObject<{ result: z.ZodOptional<z.ZodAny>; totalDuration: z.ZodNumber; lineExecutionCount: z.ZodOptional<z.ZodNumber>; bubbleExecutionCount: z.ZodOptional<z.ZodNumber>; errorCount: z.ZodOptional<z.ZodNumber>; totalCost: z.ZodNumber; warningCount: z.ZodOptional<z.ZodNumber>; errors: z.ZodOptional<z.ZodArray<z.ZodObject<{ message: z.ZodString; timestamp: z.ZodNumber; bubbleName: z.ZodOptional<z.ZodString>; variableId: z.ZodOptional<z.ZodNumber>; lineNumber: z.ZodOptional<z.ZodNumber>; additionalData: z.ZodOptional<z.ZodAny>; }, "strip", z.ZodTypeAny, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }>, "many">>; warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{ message: z.ZodString; timestamp: z.ZodNumber; bubbleName: z.ZodOptional<z.ZodString>; variableId: z.ZodOptional<z.ZodNumber>; lineNumber: z.ZodOptional<z.ZodNumber>; additionalData: z.ZodOptional<z.ZodAny>; }, "strip", z.ZodTypeAny, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }>, "many">>; averageLineExecutionTime: z.ZodOptional<z.ZodNumber>; slowestLines: z.ZodOptional<z.ZodArray<z.ZodObject<{ lineNumber: z.ZodNumber; duration: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; lineNumber: number; duration: number; }, { message: string; lineNumber: number; duration: number; }>, "many">>; memoryPeakUsage: z.ZodOptional<z.ZodAny>; startTime: z.ZodOptional<z.ZodNumber>; endTime: z.ZodOptional<z.ZodNumber>; serviceUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">>; serviceUsageByService: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; }, { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; }>; export type ExecutionSummary = z.infer<typeof ExecutionSummarySchema>; export declare const bubbleFlowExecutionSchema: z.ZodObject<{ id: z.ZodNumber; status: z.ZodEnum<["running", "success", "error"]>; payload: z.ZodRecord<z.ZodString, z.ZodAny>; result: z.ZodOptional<z.ZodAny>; error: z.ZodOptional<z.ZodString>; startedAt: z.ZodString; webhook_url: z.ZodString; completedAt: z.ZodOptional<z.ZodString>; code: z.ZodOptional<z.ZodString>; totalCost: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }>; export declare const listBubbleFlowExecutionsResponseSchema: z.ZodObject<{ items: z.ZodArray<z.ZodObject<{ id: z.ZodNumber; status: z.ZodEnum<["running", "success", "error"]>; payload: z.ZodRecord<z.ZodString, z.ZodAny>; result: z.ZodOptional<z.ZodAny>; error: z.ZodOptional<z.ZodString>; startedAt: z.ZodString; webhook_url: z.ZodString; completedAt: z.ZodOptional<z.ZodString>; code: z.ZodOptional<z.ZodString>; totalCost: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }>, "many">; total: z.ZodNumber; }, "strip", z.ZodTypeAny, { items: { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }[]; total: number; }, { items: { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; }[]; total: number; }>; export type ListBubbleFlowExecutionsResponse = z.infer<typeof listBubbleFlowExecutionsResponseSchema>; export declare const bubbleFlowExecutionDetailSchema: z.ZodObject<{ id: z.ZodNumber; status: z.ZodEnum<["running", "success", "error"]>; payload: z.ZodRecord<z.ZodString, z.ZodAny>; result: z.ZodOptional<z.ZodAny>; error: z.ZodOptional<z.ZodString>; startedAt: z.ZodString; webhook_url: z.ZodString; completedAt: z.ZodOptional<z.ZodString>; code: z.ZodOptional<z.ZodString>; totalCost: z.ZodOptional<z.ZodNumber>; } & { executionLogs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>; }, "strip", z.ZodTypeAny, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; executionLogs?: any[] | undefined; }, { status: "error" | "running" | "success"; id: number; payload: Record<string, any>; startedAt: string; webhook_url: string; code?: string | undefined; error?: string | undefined; totalCost?: number | undefined; result?: any; completedAt?: string | undefined; executionLogs?: any[] | undefined; }>; export type BubbleFlowExecutionDetail = z.infer<typeof bubbleFlowExecutionDetailSchema>; export declare const executeBubbleFlowResponseSchema: z.ZodObject<{ executionId: z.ZodNumber; success: z.ZodBoolean; data: z.ZodOptional<z.ZodAny>; summary: z.ZodOptional<z.ZodObject<{ result: z.ZodOptional<z.ZodAny>; totalDuration: z.ZodNumber; lineExecutionCount: z.ZodOptional<z.ZodNumber>; bubbleExecutionCount: z.ZodOptional<z.ZodNumber>; errorCount: z.ZodOptional<z.ZodNumber>; totalCost: z.ZodNumber; warningCount: z.ZodOptional<z.ZodNumber>; errors: z.ZodOptional<z.ZodArray<z.ZodObject<{ message: z.ZodString; timestamp: z.ZodNumber; bubbleName: z.ZodOptional<z.ZodString>; variableId: z.ZodOptional<z.ZodNumber>; lineNumber: z.ZodOptional<z.ZodNumber>; additionalData: z.ZodOptional<z.ZodAny>; }, "strip", z.ZodTypeAny, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }>, "many">>; warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{ message: z.ZodString; timestamp: z.ZodNumber; bubbleName: z.ZodOptional<z.ZodString>; variableId: z.ZodOptional<z.ZodNumber>; lineNumber: z.ZodOptional<z.ZodNumber>; additionalData: z.ZodOptional<z.ZodAny>; }, "strip", z.ZodTypeAny, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }, { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }>, "many">>; averageLineExecutionTime: z.ZodOptional<z.ZodNumber>; slowestLines: z.ZodOptional<z.ZodArray<z.ZodObject<{ lineNumber: z.ZodNumber; duration: z.ZodNumber; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; lineNumber: number; duration: number; }, { message: string; lineNumber: number; duration: number; }>, "many">>; memoryPeakUsage: z.ZodOptional<z.ZodAny>; startTime: z.ZodOptional<z.ZodNumber>; endTime: z.ZodOptional<z.ZodNumber>; serviceUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">>; serviceUsageByService: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; }, { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; }>>; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { success: boolean; executionId: number; error?: string | undefined; data?: any; summary?: { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; } | undefined; }, { success: boolean; executionId: number; error?: string | undefined; data?: any; summary?: { totalCost: number; totalDuration: number; result?: any; lineExecutionCount?: number | undefined; bubbleExecutionCount?: number | undefined; errorCount?: number | undefined; warningCount?: number | undefined; errors?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; warnings?: { message: string; timestamp: number; variableId?: number | undefined; bubbleName?: string | undefined; lineNumber?: number | undefined; additionalData?: any; }[] | undefined; averageLineExecutionTime?: number | undefined; slowestLines?: { message: string; lineNumber: number; duration: number; }[] | undefined; memoryPeakUsage?: any; startTime?: number | undefined; endTime?: number | undefined; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; serviceUsageByService?: Record<string, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }> | undefined; } | undefined; }>; export type ExecuteBubbleFlowResponse = z.infer<typeof executeBubbleFlowResponseSchema>; export type ExecutionResult = ExecuteBubbleFlowResponse; export declare const validateBubbleFlowCodeSchema: z.ZodObject<{ code: z.ZodString; options: z.ZodOptional<z.ZodObject<{ includeDetails: z.ZodDefault<z.ZodBoolean>; strictMode: z.ZodDefault<z.ZodBoolean>; syncInputsWithFlow: z.ZodDefault<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { includeDetails: boolean; strictMode: boolean; syncInputsWithFlow: boolean; }, { includeDetails?: boolean | undefined; strictMode?: boolean | undefined; syncInputsWithFlow?: boolean | undefined; }>>; flowId: z.ZodOptional<z.ZodNumber>; credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>>; defaultInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; activateCron: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { code: string; options?: { includeDetails: boolean; strictMode: boolean; syncInputsWithFlow: boolean; } | undefined; flowId?: number | undefined; credentials?: Record<string, Record<string, number>> | undefined; defaultInputs?: Record<string, unknown> | undefined; activateCron?: boolean | undefined; }, { code: string; options?: { includeDetails?: boolean | undefined; strictMode?: boolean | undefined; syncInputsWithFlow?: boolean | undefined; } | undefined; flowId?: number | undefined; credentials?: Record<string, Record<string, number>> | undefined; defaultInputs?: Record<string, unknown> | undefined; activateCron?: boolean | undefined; }>; export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{ eventType: z.ZodString; webhookPath: z.ZodString; valid: z.ZodBoolean; errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; bubbleCount: z.ZodOptional<z.ZodNumber>; inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>; bubbles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof import("./bubble-definition-schema").BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types").BubbleName, z.ZodTypeDef, import("./types").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>>; workflow: z.ZodOptional<z.ZodObject<{ root: z.ZodArray<z.ZodType<import("./bubble-definition-schema").WorkflowNode, z.ZodTypeDef, import("./bubble-definition-schema").WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof import("./bubble-definition-schema").BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types").BubbleName, z.ZodTypeDef, import("./types").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: import("./bubble-definition-schema").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: import("./bubble-definition-schema").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>>; requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>; metadata: z.ZodObject<{ validatedAt: z.ZodString; codeLength: z.ZodNumber; strictMode: z.ZodBoolean; flowUpdated: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { strictMode: boolean; validatedAt: string; codeLength: number; flowUpdated?: boolean | undefined; }, { strictMode: boolean; validatedAt: string; codeLength: number; flowUpdated?: boolean | undefined; }>; cron: z.ZodOptional<z.ZodNullable<z.ZodString>>; cronActive: z.ZodOptional<z.ZodBoolean>; defaultInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { valid: boolean; error: string; success: boolean; eventType: string; webhookPath: string; inputSchema: Record<string, unknown>; metadata: { strictMode: boolean; validatedAt: string; codeLength: number; flowUpdated?: boolean | undefined; }; workflow?: { root: import("./bubble-definition-schema").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; bubbles?: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; errors?: string[] | undefined; defaultInputs?: Record<string, unknown> | undefined; bubbleCount?: number | undefined; requiredCredentials?: Record<string, string[]> | undefined; cron?: string | null | undefined; cronActive?: boolean | undefined; }, { valid: boolean; error: string; success: boolean; eventType: string; webhookPath: string; inputSchema: Record<string, unknown>; metadata: { strictMode: boolean; validatedAt: string; codeLength: number; flowUpdated?: boolean | undefined; }; workflow?: { root: import("./bubble-definition-schema").WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; } | undefined; bubbles?: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; errors?: string[] | undefined; defaultInputs?: Record<string, unknown> | undefined; bubbleCount?: number | undefined; requiredCredentials?: Record<string, string[]> | undefined; cron?: string | null | undefined; cronActive?: boolean | undefined; }>; export type ValidateBubbleFlowResponse = z.infer<typeof validateBubbleFlowCodeResponseSchema>; export type BubbleFlowExecution = z.infer<typeof bubbleFlowExecutionSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
104
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare enum BubbleParameterType { STRING = "string", NUMBER = "number", BOOLEAN = "boolean", OBJECT = "object", ARRAY = "array", ENV = "env", VARIABLE = "variable", EXPRESSION = "expression", UNKNOWN = "unknown" }
106
105
  export declare const CREDENTIAL_CONFIGURATION_MAP: Record<CredentialType, Record<string, BubbleParameterType>>; export declare const BUBBLE_NAMES_WITH_CONTEXT_INJECTION: string[]; export declare const BubbleParameterTypeSchema: z.ZodNativeEnum<typeof BubbleParameterType>; export declare const BubbleParameterSchema: z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>; export type BubbleParameter = z.infer<typeof BubbleParameterSchema>; export interface ParsedBubble { variableName: string; bubbleName: BubbleName; className: string; parameters: BubbleParameter[]; hasAwait: boolean; hasActionCall: boolean; dependencies?: BubbleName[]; dependencyGraph?: DependencyGraphNode; }
107
106
  export interface DependencyGraphNode { name: BubbleName; variableName?: string; nodeType: BubbleNodeType; uniqueId?: string; variableId?: number; dependencies: DependencyGraphNode[]; functionCallChildren?: FunctionCallWorkflowNode[]; }
108
107
  export interface BubbleDependencySpec { name: BubbleName; tools?: BubbleName[]; }
@@ -116,11 +115,11 @@ export interface FunctionCallWorkflowNode { type: 'function_call'; location: { s
116
115
  export interface ParallelExecutionWorkflowNode { type: 'parallel_execution'; location: { startLine: number; startCol: number; endLine: number; endCol: number; }; code: string; variableDeclaration?: { variableNames: string[]; variableType: 'const' | 'let' | 'var'; }; children: WorkflowNode[]; }
117
116
  export interface TransformationFunctionWorkflowNode { type: 'transformation_function'; location: { startLine: number; startCol: number; endLine: number; endCol: number; }; code: string; functionName: string; isMethodCall: boolean; description?: string; arguments?: string; variableId: number; variableDeclaration?: { variableName: string; variableType: 'const' | 'let' | 'var'; }; methodDefinition?: { location: { startLine: number; endLine: number; }; isAsync: boolean; parameters: string[]; }; }
118
117
  export type WorkflowNode = BubbleWorkflowNode | ControlFlowWorkflowNode | TryCatchWorkflowNode | CodeBlockWorkflowNode | VariableDeclarationBlockNode | ReturnWorkflowNode | FunctionCallWorkflowNode | ParallelExecutionWorkflowNode | TransformationFunctionWorkflowNode; export interface ParsedWorkflow { root: WorkflowNode[]; bubbles: Record<number, ParsedBubbleWithInfo>; }
119
- export declare const WorkflowNodeTypeSchema: z.ZodEnum<["bubble", "if", "for", "while", "try_catch", "variable_declaration", "return", "function_call", "code_block", "parallel_execution", "transformation_function"]>; export declare const LocationSchema: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; export declare const BubbleWorkflowNodeSchema: z.ZodType<BubbleWorkflowNode>; export declare const ControlFlowWorkflowNodeSchema: z.ZodType<ControlFlowWorkflowNode>; export declare const TryCatchWorkflowNodeSchema: z.ZodType<TryCatchWorkflowNode>; export declare const CodeBlockWorkflowNodeSchema: z.ZodType<CodeBlockWorkflowNode>; export declare const VariableDeclarationBlockNodeSchema: z.ZodType<VariableDeclarationBlockNode>; export declare const ReturnWorkflowNodeSchema: z.ZodType<ReturnWorkflowNode>; export declare const FunctionCallWorkflowNodeSchema: z.ZodType<FunctionCallWorkflowNode>; export declare const ParallelExecutionWorkflowNodeSchema: z.ZodType<ParallelExecutionWorkflowNode>; export declare const TransformationFunctionWorkflowNodeSchema: z.ZodType<TransformationFunctionWorkflowNode>; export declare const WorkflowNodeSchema: z.ZodType<WorkflowNode>; export declare const ParsedWorkflowSchema: z.ZodObject<{ root: z.ZodArray<z.ZodType<WorkflowNode, z.ZodTypeDef, WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<DependencyGraphNode, z.ZodTypeDef, DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
120
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare const generateBubbleFlowCodeSchema: z.ZodObject<{ prompt: z.ZodString; flowId: z.ZodOptional<z.ZodNumber>; messages: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>, "many">>; planContext: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; planContext?: string | undefined; }, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; planContext?: string | undefined; }>; export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{ generatedCode: z.ZodString; isValid: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodString; bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types").BubbleName, z.ZodTypeDef, import("./types").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; requiredCredentials: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; requiredCredentials: Record<string, string[]>; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; generatedCode: string; isValid: boolean; }, { error: string; success: boolean; requiredCredentials: Record<string, string[]>; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; generatedCode: string; isValid: boolean; }>; export declare const GenerationResultSchema: z.ZodObject<{ generatedCode: z.ZodString; isValid: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodString; flowId: z.ZodOptional<z.ZodNumber>; toolCalls: z.ZodArray<z.ZodUnknown, "many">; summary: z.ZodDefault<z.ZodString>; inputsSchema: z.ZodDefault<z.ZodString>; serviceUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">>; bubbleCount: z.ZodOptional<z.ZodNumber>; codeLength: z.ZodOptional<z.ZodNumber>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types").BubbleName, z.ZodTypeDef, import("./types").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; summary: string; generatedCode: string; isValid: boolean; toolCalls: unknown[]; inputsSchema: string; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; flowId?: number | undefined; bubbleCount?: number | undefined; codeLength?: number | undefined; bubbleParameters?: Record<string | number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; }, { error: string; success: boolean; generatedCode: string; isValid: boolean; toolCalls: unknown[]; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; summary?: string | undefined; flowId?: number | undefined; bubbleCount?: number | undefined; codeLength?: number | undefined; bubbleParameters?: Record<string | number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; inputsSchema?: string | undefined; }>; export declare const generateBubbleFlowTemplateSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; roles: z.ZodString; useCase: z.ZodLiteral<"slack-data-scientist">; verbosity: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5"]>>; technicality: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5"]>>; includeQuery: z.ZodOptional<z.ZodBoolean>; includeExplanation: z.ZodOptional<z.ZodBoolean>; maxQueries: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { name: string; description: string; roles: string; useCase: "slack-data-scientist"; verbosity?: "1" | "2" | "3" | "4" | "5" | undefined; technicality?: "1" | "2" | "3" | "4" | "5" | undefined; includeQuery?: boolean | undefined; includeExplanation?: boolean | undefined; maxQueries?: number | undefined; }, { name: string; description: string; roles: string; useCase: "slack-data-scientist"; verbosity?: "1" | "2" | "3" | "4" | "5" | undefined; technicality?: "1" | "2" | "3" | "4" | "5" | undefined; includeQuery?: boolean | undefined; includeExplanation?: boolean | undefined; maxQueries?: number | undefined; }>; export declare const generateDocumentGenerationTemplateSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodDefault<z.ZodString>; outputDescription: z.ZodString; outputFormat: z.ZodOptional<z.ZodEnum<["html", "csv", "json"]>>; conversionOptions: z.ZodOptional<z.ZodObject<{ preserveStructure: z.ZodOptional<z.ZodBoolean>; includeVisualDescriptions: z.ZodOptional<z.ZodBoolean>; extractNumericalData: z.ZodOptional<z.ZodBoolean>; combinePages: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { preserveStructure?: boolean | undefined; includeVisualDescriptions?: boolean | undefined; extractNumericalData?: boolean | undefined; combinePages?: boolean | undefined; }, { preserveStructure?: boolean | undefined; includeVisualDescriptions?: boolean | undefined; extractNumericalData?: boolean | undefined; combinePages?: boolean | undefined; }>>; imageOptions: z.ZodOptional<z.ZodObject<{ format: z.ZodOptional<z.ZodEnum<["png", "jpg", "jpeg"]>>; quality: z.ZodOptional<z.ZodNumber>; dpi: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { format?: "png" | "jpg" | "jpeg" | undefined; quality?: number | undefined; dpi?: number | undefined; }, { format?: "png" | "jpg" | "jpeg" | undefined; quality?: number | undefined; dpi?: number | undefined; }>>; aiOptions: z.ZodOptional<z.ZodObject<{ model: z.ZodOptional<z.ZodString>; temperature: z.ZodOptional<z.ZodNumber>; maxTokens: z.ZodOptional<z.ZodNumber>; jsonMode: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { model?: string | undefined; temperature?: number | undefined; maxTokens?: number | undefined; jsonMode?: boolean | undefined; }, { model?: string | undefined; temperature?: number | undefined; maxTokens?: number | undefined; jsonMode?: boolean | undefined; }>>; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { name: string; description: string; outputDescription: string; metadata?: Record<string, unknown> | undefined; outputFormat?: "html" | "csv" | "json" | undefined; conversionOptions?: { preserveStructure?: boolean | undefined; includeVisualDescriptions?: boolean | undefined; extractNumericalData?: boolean | undefined; combinePages?: boolean | undefined; } | undefined; imageOptions?: { format?: "png" | "jpg" | "jpeg" | undefined; quality?: number | undefined; dpi?: number | undefined; } | undefined; aiOptions?: { model?: string | undefined; temperature?: number | undefined; maxTokens?: number | undefined; jsonMode?: boolean | undefined; } | undefined; }, { name: string; outputDescription: string; description?: string | undefined; metadata?: Record<string, unknown> | undefined; outputFormat?: "html" | "csv" | "json" | undefined; conversionOptions?: { preserveStructure?: boolean | undefined; includeVisualDescriptions?: boolean | undefined; extractNumericalData?: boolean | undefined; combinePages?: boolean | undefined; } | undefined; imageOptions?: { format?: "png" | "jpg" | "jpeg" | undefined; quality?: number | undefined; dpi?: number | undefined; } | undefined; aiOptions?: { model?: string | undefined; temperature?: number | undefined; maxTokens?: number | undefined; jsonMode?: boolean | undefined; } | undefined; }>; export declare const bubbleFlowTemplateResponseSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; description: z.ZodString; eventType: z.ZodString; displayedBubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodString; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ name: z.ZodString; value: z.ZodUnknown; type: z.ZodNativeEnum<typeof BubbleParameterType>; }, "strip", z.ZodTypeAny, { name: string; type: BubbleParameterType; value?: unknown; }, { name: string; type: BubbleParameterType; value?: unknown; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; }, "strip", z.ZodTypeAny, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>>; bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodString; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ name: z.ZodString; value: z.ZodUnknown; type: z.ZodNativeEnum<typeof BubbleParameterType>; }, "strip", z.ZodTypeAny, { name: string; type: BubbleParameterType; value?: unknown; }, { name: string; type: BubbleParameterType; value?: unknown; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; }, "strip", z.ZodTypeAny, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>>; requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>; createdAt: z.ZodString; updatedAt: z.ZodString; webhook: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; url: z.ZodString; path: z.ZodString; active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; id: number; url: string; active: boolean; }, { path: string; id: number; url: string; active: boolean; }>>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: number; eventType: string; updatedAt: string; bubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>; displayedBubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>; createdAt: string; requiredCredentials?: Record<string, CredentialType[]> | undefined; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }, { name: string; description: string; id: number; eventType: string; updatedAt: string; bubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>; displayedBubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>; createdAt: string; requiredCredentials?: Record<string, CredentialType[]> | undefined; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }>; export type GenerateBubbleFlowCodeResponse = z.infer<typeof generateBubbleFlowCodeResponseSchema>; export type GenerateBubbleFlowTemplateRequest = z.infer<typeof generateBubbleFlowTemplateSchema>; export type GenerateDocumentGenerationTemplateRequest = z.infer<typeof generateDocumentGenerationTemplateSchema>; export type BubbleFlowTemplateResponse = z.infer<typeof bubbleFlowTemplateResponseSchema>; export type GenerationResult = z.infer<typeof GenerationResultSchema>; export declare const webhookExecutionResponseSchema: z.ZodObject<{ executionId: z.ZodNumber; success: z.ZodBoolean; data: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; webhook: z.ZodObject<{ userId: z.ZodString; path: z.ZodString; triggeredAt: z.ZodString; method: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; userId: string; triggeredAt: string; method: string; }, { path: string; userId: string; triggeredAt: string; method: string; }>; }, "strip", z.ZodTypeAny, { success: boolean; executionId: number; webhook: { path: string; userId: string; triggeredAt: string; method: string; }; error?: string | undefined; data?: unknown; }, { success: boolean; executionId: number; webhook: { path: string; userId: string; triggeredAt: string; method: string; }; error?: string | undefined; data?: unknown; }>; export declare const webhookResponseSchema: z.ZodObject<{ challenge: z.ZodOptional<z.ZodString>; executionId: z.ZodOptional<z.ZodNumber>; success: z.ZodOptional<z.ZodBoolean>; data: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodUndefined]>>; error: z.ZodOptional<z.ZodString>; webhook: z.ZodOptional<z.ZodObject<{ userId: z.ZodString; path: z.ZodString; triggeredAt: z.ZodString; method: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; userId: string; triggeredAt: string; method: string; }, { path: string; userId: string; triggeredAt: string; method: string; }>>; }, "strip", z.ZodTypeAny, { error?: string | undefined; challenge?: string | undefined; success?: boolean | undefined; executionId?: number | undefined; data?: Record<string, unknown> | undefined; webhook?: { path: string; userId: string; triggeredAt: string; method: string; } | undefined; }, { error?: string | undefined; challenge?: string | undefined; success?: boolean | undefined; executionId?: number | undefined; data?: Record<string, unknown> | undefined; webhook?: { path: string; userId: string; triggeredAt: string; method: string; } | undefined; }>; export type WebhookResponse = z.infer<typeof webhookResponseSchema>; export type WebhookExecutionResponse = z.infer<typeof webhookExecutionResponseSchema>; export declare const tokenUsageSchema: z.ZodObject<{ modelName: z.ZodOptional<z.ZodString>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }>; export type TokenUsage = z.infer<typeof tokenUsageSchema>; export declare const usageSchema: z.ZodObject<{ executionCount: z.ZodNumber; tokenUsage: z.ZodArray<z.ZodObject<{ modelName: z.ZodOptional<z.ZodString>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }>, "many">; serviceUsage: z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof import("./types").CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">; estimatedMonthlyCost: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; }, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; }>; export type Usage = z.infer<typeof usageSchema>; export declare const billingOrganizationSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; slug: z.ZodString; type: z.ZodOptional<z.ZodEnum<["personal", "organization"]>>; role: z.ZodEnum<["owner", "admin", "member"]>; memberCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; }, { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; }>; export type BillingOrganization = z.infer<typeof billingOrganizationSchema>; export declare const hackathonOfferSchema: z.ZodObject<{ isActive: z.ZodBoolean; expiresAt: z.ZodString; redeemedAt: z.ZodString; }, "strip", z.ZodTypeAny, { isActive: boolean; expiresAt: string; redeemedAt: string; }, { isActive: boolean; expiresAt: string; redeemedAt: string; }>; export type HackathonOffer = z.infer<typeof hackathonOfferSchema>; export declare const specialOfferSchema: z.ZodObject<{ isActive: z.ZodBoolean; plan: z.ZodString; expiresAt: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { isActive: boolean; plan: string; expiresAt: string | null; }, { isActive: boolean; plan: string; expiresAt: string | null; }>; export type SpecialOffer = z.infer<typeof specialOfferSchema>; export declare const redeemCouponRequestSchema: z.ZodObject<{ code: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; }, { code: string; }>; export type RedeemCouponRequest = z.infer<typeof redeemCouponRequestSchema>; export declare const redeemCouponResponseSchema: z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; expiresAt: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; success: boolean; expiresAt?: string | undefined; }, { message: string; success: boolean; expiresAt?: string | undefined; }>; export type RedeemCouponResponse = z.infer<typeof redeemCouponResponseSchema>; export declare const subscriptionStatusResponseSchema: z.ZodObject<{ userId: z.ZodString; plan: z.ZodString; planDisplayName: z.ZodString; features: z.ZodArray<z.ZodString, "many">; organization: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; slug: z.ZodString; type: z.ZodOptional<z.ZodEnum<["personal", "organization"]>>; role: z.ZodEnum<["owner", "admin", "member"]>; memberCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; }, { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; }>>; usage: z.ZodObject<{ executionCount: z.ZodNumber; executionLimit: z.ZodNumber; creditLimit: z.ZodNumber; activeFlowLimit: z.ZodNumber; estimatedMonthlyCost: z.ZodNumber; resetDate: z.ZodString; tokenUsage: z.ZodArray<z.ZodObject<{ modelName: z.ZodOptional<z.ZodString>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }>, "many">; serviceUsage: z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof import("./types").CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost: number; executionLimit: number; creditLimit: number; activeFlowLimit: number; resetDate: string; }, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost: number; executionLimit: number; creditLimit: number; activeFlowLimit: number; resetDate: string; }>; personalUsage: z.ZodOptional<z.ZodObject<{ executionCount: z.ZodNumber; tokenUsage: z.ZodArray<z.ZodObject<{ modelName: z.ZodOptional<z.ZodString>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }>, "many">; serviceUsage: z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof import("./types").CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">; estimatedMonthlyCost: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; }, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; }>>; isActive: z.ZodBoolean; hackathonOffer: z.ZodOptional<z.ZodObject<{ isActive: z.ZodBoolean; expiresAt: z.ZodString; redeemedAt: z.ZodString; }, "strip", z.ZodTypeAny, { isActive: boolean; expiresAt: string; redeemedAt: string; }, { isActive: boolean; expiresAt: string; redeemedAt: string; }>>; specialOffer: z.ZodOptional<z.ZodObject<{ isActive: z.ZodBoolean; plan: z.ZodString; expiresAt: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { isActive: boolean; plan: string; expiresAt: string | null; }, { isActive: boolean; plan: string; expiresAt: string | null; }>>; }, "strip", z.ZodTypeAny, { usage: { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost: number; executionLimit: number; creditLimit: number; activeFlowLimit: number; resetDate: string; }; userId: string; isActive: boolean; plan: string; planDisplayName: string; features: string[]; organization?: { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; } | undefined; personalUsage?: { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; } | undefined; hackathonOffer?: { isActive: boolean; expiresAt: string; redeemedAt: string; } | undefined; specialOffer?: { isActive: boolean; plan: string; expiresAt: string | null; } | undefined; }, { usage: { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost: number; executionLimit: number; creditLimit: number; activeFlowLimit: number; resetDate: string; }; userId: string; isActive: boolean; plan: string; planDisplayName: string; features: string[]; organization?: { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; } | undefined; personalUsage?: { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; } | undefined; hackathonOffer?: { isActive: boolean; expiresAt: string; redeemedAt: string; } | undefined; specialOffer?: { isActive: boolean; plan: string; expiresAt: string | null; } | undefined; }>; export type SubscriptionStatusResponse = z.infer<typeof subscriptionStatusResponseSchema>; export declare const userUsageItemSchema: z.ZodObject<{ userId: z.ZodString; firstName: z.ZodOptional<z.ZodString>; lastName: z.ZodOptional<z.ZodString>; userEmail: z.ZodOptional<z.ZodString>; role: z.ZodEnum<["owner", "admin", "member"]>; executionCount: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }, { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }>; export type UserUsageItem = z.infer<typeof userUsageItemSchema>; export declare const orgUsageBreakdownResponseSchema: z.ZodObject<{ organizationId: z.ZodNumber; organizationName: z.ZodOptional<z.ZodString>; monthYear: z.ZodString; totalOrgCost: z.ZodNumber; totalOrgExecutions: z.ZodNumber; users: z.ZodArray<z.ZodObject<{ userId: z.ZodString; firstName: z.ZodOptional<z.ZodString>; lastName: z.ZodOptional<z.ZodString>; userEmail: z.ZodOptional<z.ZodString>; role: z.ZodEnum<["owner", "admin", "member"]>; executionCount: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }, { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { organizationId: number; users: { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }[]; monthYear: string; totalOrgCost: number; totalOrgExecutions: number; organizationName?: string | undefined; }, { organizationId: number; users: { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }[]; monthYear: string; totalOrgCost: number; totalOrgExecutions: number; organizationName?: string | undefined; }>; export type OrgUsageBreakdownResponse = z.infer<typeof orgUsageBreakdownResponseSchema>; export declare function isAdminOrOwner(subscription: SubscriptionStatusResponse): boolean; export declare function isMember(subscription: SubscriptionStatusResponse): boolean; export declare const errorResponseSchema: z.ZodObject<{ error: z.ZodString; details: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { error: string; details?: string | undefined; }, { error: string; details?: string | undefined; }>; export type ErrorResponse = z.infer<typeof errorResponseSchema>; export interface HealthCheckResponse { message: string; timestamp: string; }
121
- export declare const slackUrlVerificationSchema: z.ZodObject<{ token: z.ZodString; challenge: z.ZodString; type: z.ZodLiteral<"url_verification">; }, "strip", z.ZodTypeAny, { type: "url_verification"; token: string; challenge: string; }, { type: "url_verification"; token: string; challenge: string; }>; export declare const slackUrlVerificationResponseSchema: z.ZodObject<{ challenge: z.ZodString; }, "strip", z.ZodTypeAny, { challenge: string; }, { challenge: string; }>; export type SlackUrlVerificationResponse = z.infer<typeof slackUrlVerificationResponseSchema>; export declare const MilkTeaRequestSchema: z.ZodObject<{ userRequest: z.ZodString; bubbleName: z.ZodString; bubbleSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>; currentCode: z.ZodOptional<z.ZodString>; availableCredentials: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; userName: z.ZodString; insertLocation: z.ZodOptional<z.ZodString>; conversationHistory: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{ role: z.ZodEnum<["user", "assistant", "tool"]>; content: z.ZodString; toolCallId: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }>, "many">>>; model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>; }, "strip", z.ZodTypeAny, { bubbleName: string; model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; userRequest: string; bubbleSchema: Record<string, unknown>; availableCredentials: string[]; userName: string; conversationHistory: { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }[]; currentCode?: string | undefined; insertLocation?: string | undefined; }, { bubbleName: string; userRequest: string; bubbleSchema: Record<string, unknown>; userName: string; model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; currentCode?: string | undefined; availableCredentials?: string[] | undefined; insertLocation?: string | undefined; conversationHistory?: { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }[] | undefined; }>; export declare const MilkTeaResponseSchema: z.ZodObject<{ type: z.ZodEnum<["code", "question", "reject"]>; message: z.ZodString; snippet: z.ZodOptional<z.ZodString>; success: z.ZodBoolean; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; type: "code" | "question" | "reject"; success: boolean; error?: string | undefined; snippet?: string | undefined; }, { message: string; type: "code" | "question" | "reject"; success: boolean; error?: string | undefined; snippet?: string | undefined; }>; export declare const MilkTeaAgentOutputSchema: z.ZodObject<{ type: z.ZodEnum<["code", "question", "reject"]>; message: z.ZodString; snippet: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; type: "code" | "question" | "reject"; snippet?: string | undefined; }, { message: string; type: "code" | "question" | "reject"; snippet?: string | undefined; }>; export type MilkTeaRequest = z.infer<typeof MilkTeaRequestSchema>; export type MilkTeaResponse = z.infer<typeof MilkTeaResponseSchema>; export type MilkTeaAgentOutput = z.infer<typeof MilkTeaAgentOutputSchema>; export declare const AvailableModels: z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>; export type AvailableModel = z.infer<typeof AvailableModels>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
122
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare const PEARL_DEFAULT_MODEL: AvailableModel; export declare const PearlRequestSchema: z.ZodObject<{ userRequest: z.ZodString; currentCode: z.ZodOptional<z.ZodString>; userName: z.ZodString; availableVariables: z.ZodArray<z.ZodAny, "many">; conversationHistory: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{ role: z.ZodEnum<["user", "assistant", "tool"]>; content: z.ZodString; toolCallId: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }>, "many">>>; model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>; additionalContext: z.ZodOptional<z.ZodString>; uploadedFiles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; content: z.ZodString; fileType: z.ZodEnum<["image", "text"]>; }, "strip", z.ZodTypeAny, { content: string; name: string; fileType: "text" | "image"; }, { content: string; name: string; fileType: "text" | "image"; }>, "many">>>; }, "strip", z.ZodTypeAny, { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; userRequest: string; userName: string; conversationHistory: { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }[]; availableVariables: any[]; uploadedFiles: { content: string; name: string; fileType: "text" | "image"; }[]; currentCode?: string | undefined; additionalContext?: string | undefined; }, { userRequest: string; userName: string; availableVariables: any[]; model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; currentCode?: string | undefined; conversationHistory?: { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }[] | undefined; additionalContext?: string | undefined; uploadedFiles?: { content: string; name: string; fileType: "text" | "image"; }[] | undefined; }>; export declare const PearlResponseSchema: z.ZodObject<{ type: z.ZodEnum<["code", "question", "answer", "reject"]>; message: z.ZodString; snippet: z.ZodOptional<z.ZodString>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types.js").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof import("./bubble-definition-schema.js").BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types.js").BubbleName, z.ZodTypeDef, import("./types.js").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types.js").BubbleName; description?: string | undefined; dependencies?: import("./types.js").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types.js").BubbleName; description?: string | undefined; dependencies?: import("./types.js").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>>; inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>; success: z.ZodBoolean; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; type: "code" | "question" | "answer" | "reject"; success: boolean; error?: string | undefined; inputSchema?: Record<string, unknown> | undefined; requiredCredentials?: Record<string, CredentialType[]> | undefined; bubbleParameters?: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types.js").BubbleName; description?: string | undefined; dependencies?: import("./types.js").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; snippet?: string | undefined; }, { message: string; type: "code" | "question" | "answer" | "reject"; success: boolean; error?: string | undefined; inputSchema?: Record<string, unknown> | undefined; requiredCredentials?: Record<string, CredentialType[]> | undefined; bubbleParameters?: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types.js").BubbleName; description?: string | undefined; dependencies?: import("./types.js").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; snippet?: string | undefined; }>; export declare const PearlAgentOutputSchema: z.ZodObject<{ type: z.ZodEnum<["code", "question", "answer", "reject", "text"]>; message: z.ZodString; snippet: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; type: "code" | "question" | "answer" | "reject" | "text"; snippet?: string | undefined; }, { message: string; type: "code" | "question" | "answer" | "reject" | "text"; snippet?: string | undefined; }>; export type PearlRequest = z.infer<typeof PearlRequestSchema>; export type PearlResponse = z.infer<typeof PearlResponseSchema>; export type PearlAgentOutput = z.infer<typeof PearlAgentOutputSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
123
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare const COFFEE_MAX_ITERATIONS = 30; export declare const COFFEE_MAX_QUESTIONS = 5; export declare const COFFEE_DEFAULT_MODEL: "google/gemini-3-pro-preview"; export declare const ClarificationChoiceSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>; export declare const ClarificationQuestionSchema: z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>; export declare const CoffeeClarificationEventSchema: z.ZodObject<{ questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>; export declare const CoffeeRequestExternalContextEventSchema: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; export declare const CoffeeContextAnswerSchema: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; export declare const CoffeeContextRequestInfoSchema: z.ZodObject<{ purpose: z.ZodString; flowDescription: z.ZodString; }, "strip", z.ZodTypeAny, { purpose: string; flowDescription: string; }, { purpose: string; flowDescription: string; }>; export declare const CoffeeContextEventSchema: z.ZodObject<{ status: z.ZodEnum<["gathering", "complete"]>; miniFlowDescription: z.ZodOptional<z.ZodString>; result: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { status: "gathering" | "complete"; result?: string | undefined; miniFlowDescription?: string | undefined; }, { status: "gathering" | "complete"; result?: string | undefined; miniFlowDescription?: string | undefined; }>; export declare const PlanStepSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>; export declare const CoffeePlanEventSchema: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; export declare const UserMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>; export declare const AssistantMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>; export declare const ClarificationRequestMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>; export declare const ClarificationResponseMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>; export declare const ContextRequestMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>; export declare const ContextResponseMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>; export declare const PlanMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>; export declare const PlanApprovalMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>; export declare const SystemMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>; export declare const ToolResultMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>; export declare const CoffeeMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>; export declare const CoffeeRequestSchema: z.ZodObject<{ prompt: z.ZodString; flowId: z.ZodOptional<z.ZodNumber>; messages: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>, "many">>; }, "strip", z.ZodTypeAny, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; }, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; }>; export declare const CoffeeResponseSchema: z.ZodObject<{ type: z.ZodEnum<["clarification", "plan", "context_request", "error"]>; clarification: z.ZodOptional<z.ZodObject<{ questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>>; plan: z.ZodOptional<z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>>; contextRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; error: z.ZodOptional<z.ZodString>; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: "error" | "context_request" | "plan" | "clarification"; success: boolean; error?: string | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; clarification?: { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | undefined; contextRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { type: "error" | "context_request" | "plan" | "clarification"; success: boolean; error?: string | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; clarification?: { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | undefined; contextRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; export declare const CoffeeAgentOutputSchema: z.ZodObject<{ action: z.ZodEnum<["askClarification", "generatePlan", "requestContext"]>; questions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; plan: z.ZodOptional<z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>>; contextRequest: z.ZodOptional<z.ZodObject<{ purpose: z.ZodString; flowDescription: z.ZodString; }, "strip", z.ZodTypeAny, { purpose: string; flowDescription: string; }, { purpose: string; flowDescription: string; }>>; }, "strip", z.ZodTypeAny, { action: "askClarification" | "generatePlan" | "requestContext"; questions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; contextRequest?: { purpose: string; flowDescription: string; } | undefined; }, { action: "askClarification" | "generatePlan" | "requestContext"; questions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; contextRequest?: { purpose: string; flowDescription: string; } | undefined; }>; export type ClarificationChoice = z.infer<typeof ClarificationChoiceSchema>; export type ClarificationQuestion = z.infer<typeof ClarificationQuestionSchema>; export type CoffeeClarificationEvent = z.infer<typeof CoffeeClarificationEventSchema>; export type CoffeeRequestExternalContextEvent = z.infer<typeof CoffeeRequestExternalContextEventSchema>; export type CoffeeContextAnswer = z.infer<typeof CoffeeContextAnswerSchema>; export type CoffeeContextEvent = z.infer<typeof CoffeeContextEventSchema>; export type CoffeeContextRequestInfo = z.infer<typeof CoffeeContextRequestInfoSchema>; export type PlanStep = z.infer<typeof PlanStepSchema>; export type CoffeePlanEvent = z.infer<typeof CoffeePlanEventSchema>; export type CoffeeRequest = z.infer<typeof CoffeeRequestSchema>; export type CoffeeResponse = z.infer<typeof CoffeeResponseSchema>; export type CoffeeAgentOutput = z.infer<typeof CoffeeAgentOutputSchema>; export type UserMessage = z.infer<typeof UserMessageSchema>; export type AssistantMessage = z.infer<typeof AssistantMessageSchema>; export type ClarificationRequestMessage = z.infer<typeof ClarificationRequestMessageSchema>; export type ClarificationResponseMessage = z.infer<typeof ClarificationResponseMessageSchema>; export type ContextRequestMessage = z.infer<typeof ContextRequestMessageSchema>; export type ContextResponseMessage = z.infer<typeof ContextResponseMessageSchema>; export type PlanMessage = z.infer<typeof PlanMessageSchema>; export type PlanApprovalMessage = z.infer<typeof PlanApprovalMessageSchema>; export type SystemMessage = z.infer<typeof SystemMessageSchema>; export type ToolResultMessage = z.infer<typeof ToolResultMessageSchema>; export type CoffeeMessage = z.infer<typeof CoffeeMessageSchema>; export declare const AvailableModels: z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>; export type AvailableModel = z.infer<typeof AvailableModels>; export declare const RICE_DEFAULT_MODEL: AvailableModel; export declare const RiceIssueTypeSchema: z.ZodNullable<z.ZodEnum<["setup", "workflow", "input"]>>; export type RiceIssueType = z.infer<typeof RiceIssueTypeSchema>; export declare const RiceEvaluationResultSchema: z.ZodObject<{ working: z.ZodBoolean; issueType: z.ZodNullable<z.ZodEnum<["setup", "workflow", "input"]>>; summary: z.ZodString; rating: z.ZodNumber; }, "strip", z.ZodTypeAny, { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; }, { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; }>; export declare const RiceRequestSchema: z.ZodObject<{ executionLogs: z.ZodArray<z.ZodUnknown, "many">; workflowCode: z.ZodString; executionId: z.ZodNumber; bubbleFlowId: z.ZodNumber; model: z.ZodDefault<z.ZodOptional<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>>; }, "strip", z.ZodTypeAny, { executionLogs: unknown[]; executionId: number; model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; workflowCode: string; bubbleFlowId: number; }, { executionLogs: unknown[]; executionId: number; workflowCode: string; bubbleFlowId: number; model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; }>; export declare const RiceResponseSchema: z.ZodObject<{ success: z.ZodBoolean; evaluation: z.ZodOptional<z.ZodObject<{ working: z.ZodBoolean; issueType: z.ZodNullable<z.ZodEnum<["setup", "workflow", "input"]>>; summary: z.ZodString; rating: z.ZodNumber; }, "strip", z.ZodTypeAny, { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; }, { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; }>>; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { success: boolean; error?: string | undefined; evaluation?: { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; } | undefined; }, { success: boolean; error?: string | undefined; evaluation?: { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; } | undefined; }>; export type RiceEvaluationResult = z.infer<typeof RiceEvaluationResultSchema>; export type RiceRequest = z.input<typeof RiceRequestSchema>; export type RiceResponse = z.infer<typeof RiceResponseSchema>; export declare const AvailableModels: z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>; export type AvailableModel = z.infer<typeof AvailableModels>; export interface CronExpression { minute: string; hour: string; dayOfMonth: string; month: string; dayOfWeek: string; original: string; }
118
+ export declare const WorkflowNodeTypeSchema: z.ZodEnum<["bubble", "if", "for", "while", "try_catch", "variable_declaration", "return", "function_call", "code_block", "parallel_execution", "transformation_function"]>; export declare const LocationSchema: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; export declare const BubbleWorkflowNodeSchema: z.ZodType<BubbleWorkflowNode>; export declare const ControlFlowWorkflowNodeSchema: z.ZodType<ControlFlowWorkflowNode>; export declare const TryCatchWorkflowNodeSchema: z.ZodType<TryCatchWorkflowNode>; export declare const CodeBlockWorkflowNodeSchema: z.ZodType<CodeBlockWorkflowNode>; export declare const VariableDeclarationBlockNodeSchema: z.ZodType<VariableDeclarationBlockNode>; export declare const ReturnWorkflowNodeSchema: z.ZodType<ReturnWorkflowNode>; export declare const FunctionCallWorkflowNodeSchema: z.ZodType<FunctionCallWorkflowNode>; export declare const ParallelExecutionWorkflowNodeSchema: z.ZodType<ParallelExecutionWorkflowNode>; export declare const TransformationFunctionWorkflowNodeSchema: z.ZodType<TransformationFunctionWorkflowNode>; export declare const WorkflowNodeSchema: z.ZodType<WorkflowNode>; export declare const ParsedWorkflowSchema: z.ZodObject<{ root: z.ZodArray<z.ZodType<WorkflowNode, z.ZodTypeDef, WorkflowNode>, "many">; bubbles: z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<BubbleName, z.ZodTypeDef, BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<DependencyGraphNode, z.ZodTypeDef, DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }, { root: WorkflowNode[]; bubbles: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: BubbleName; description?: string | undefined; dependencies?: BubbleName[] | undefined; dependencyGraph?: DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; }>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
119
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare const generateBubbleFlowCodeSchema: z.ZodObject<{ prompt: z.ZodString; flowId: z.ZodOptional<z.ZodNumber>; messages: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>, "many">>; planContext: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; planContext?: string | undefined; }, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; planContext?: string | undefined; }>; export declare const generateBubbleFlowCodeResponseSchema: z.ZodObject<{ generatedCode: z.ZodString; isValid: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodString; bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types").BubbleName, z.ZodTypeDef, import("./types").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>; requiredCredentials: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; requiredCredentials: Record<string, string[]>; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; generatedCode: string; isValid: boolean; }, { error: string; success: boolean; requiredCredentials: Record<string, string[]>; bubbleParameters: Record<string, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>; generatedCode: string; isValid: boolean; }>; export declare const GenerationResultSchema: z.ZodObject<{ generatedCode: z.ZodString; isValid: z.ZodBoolean; success: z.ZodBoolean; error: z.ZodString; flowId: z.ZodOptional<z.ZodNumber>; toolCalls: z.ZodArray<z.ZodUnknown, "many">; summary: z.ZodDefault<z.ZodString>; inputsSchema: z.ZodDefault<z.ZodString>; serviceUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">>; bubbleCount: z.ZodOptional<z.ZodNumber>; codeLength: z.ZodOptional<z.ZodNumber>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types").BubbleName, z.ZodTypeDef, import("./types").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { error: string; success: boolean; summary: string; generatedCode: string; isValid: boolean; toolCalls: unknown[]; inputsSchema: string; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; flowId?: number | undefined; bubbleCount?: number | undefined; codeLength?: number | undefined; bubbleParameters?: Record<string | number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; }, { error: string; success: boolean; generatedCode: string; isValid: boolean; toolCalls: unknown[]; serviceUsage?: { service: CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[] | undefined; summary?: string | undefined; flowId?: number | undefined; bubbleCount?: number | undefined; codeLength?: number | undefined; bubbleParameters?: Record<string | number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types").BubbleName; description?: string | undefined; dependencies?: import("./types").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; inputsSchema?: string | undefined; }>; export declare const generateBubbleFlowTemplateSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; roles: z.ZodString; useCase: z.ZodLiteral<"slack-data-scientist">; verbosity: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5"]>>; technicality: z.ZodOptional<z.ZodEnum<["1", "2", "3", "4", "5"]>>; includeQuery: z.ZodOptional<z.ZodBoolean>; includeExplanation: z.ZodOptional<z.ZodBoolean>; maxQueries: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { name: string; description: string; roles: string; useCase: "slack-data-scientist"; verbosity?: "1" | "2" | "3" | "4" | "5" | undefined; technicality?: "1" | "2" | "3" | "4" | "5" | undefined; includeQuery?: boolean | undefined; includeExplanation?: boolean | undefined; maxQueries?: number | undefined; }, { name: string; description: string; roles: string; useCase: "slack-data-scientist"; verbosity?: "1" | "2" | "3" | "4" | "5" | undefined; technicality?: "1" | "2" | "3" | "4" | "5" | undefined; includeQuery?: boolean | undefined; includeExplanation?: boolean | undefined; maxQueries?: number | undefined; }>; export declare const generateDocumentGenerationTemplateSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodDefault<z.ZodString>; outputDescription: z.ZodString; outputFormat: z.ZodOptional<z.ZodEnum<["html", "csv", "json"]>>; conversionOptions: z.ZodOptional<z.ZodObject<{ preserveStructure: z.ZodOptional<z.ZodBoolean>; includeVisualDescriptions: z.ZodOptional<z.ZodBoolean>; extractNumericalData: z.ZodOptional<z.ZodBoolean>; combinePages: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { preserveStructure?: boolean | undefined; includeVisualDescriptions?: boolean | undefined; extractNumericalData?: boolean | undefined; combinePages?: boolean | undefined; }, { preserveStructure?: boolean | undefined; includeVisualDescriptions?: boolean | undefined; extractNumericalData?: boolean | undefined; combinePages?: boolean | undefined; }>>; imageOptions: z.ZodOptional<z.ZodObject<{ format: z.ZodOptional<z.ZodEnum<["png", "jpg", "jpeg"]>>; quality: z.ZodOptional<z.ZodNumber>; dpi: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { format?: "png" | "jpg" | "jpeg" | undefined; quality?: number | undefined; dpi?: number | undefined; }, { format?: "png" | "jpg" | "jpeg" | undefined; quality?: number | undefined; dpi?: number | undefined; }>>; aiOptions: z.ZodOptional<z.ZodObject<{ model: z.ZodOptional<z.ZodString>; temperature: z.ZodOptional<z.ZodNumber>; maxTokens: z.ZodOptional<z.ZodNumber>; jsonMode: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { model?: string | undefined; temperature?: number | undefined; maxTokens?: number | undefined; jsonMode?: boolean | undefined; }, { model?: string | undefined; temperature?: number | undefined; maxTokens?: number | undefined; jsonMode?: boolean | undefined; }>>; metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { name: string; description: string; outputDescription: string; metadata?: Record<string, unknown> | undefined; outputFormat?: "html" | "csv" | "json" | undefined; conversionOptions?: { preserveStructure?: boolean | undefined; includeVisualDescriptions?: boolean | undefined; extractNumericalData?: boolean | undefined; combinePages?: boolean | undefined; } | undefined; imageOptions?: { format?: "png" | "jpg" | "jpeg" | undefined; quality?: number | undefined; dpi?: number | undefined; } | undefined; aiOptions?: { model?: string | undefined; temperature?: number | undefined; maxTokens?: number | undefined; jsonMode?: boolean | undefined; } | undefined; }, { name: string; outputDescription: string; description?: string | undefined; metadata?: Record<string, unknown> | undefined; outputFormat?: "html" | "csv" | "json" | undefined; conversionOptions?: { preserveStructure?: boolean | undefined; includeVisualDescriptions?: boolean | undefined; extractNumericalData?: boolean | undefined; combinePages?: boolean | undefined; } | undefined; imageOptions?: { format?: "png" | "jpg" | "jpeg" | undefined; quality?: number | undefined; dpi?: number | undefined; } | undefined; aiOptions?: { model?: string | undefined; temperature?: number | undefined; maxTokens?: number | undefined; jsonMode?: boolean | undefined; } | undefined; }>; export declare const bubbleFlowTemplateResponseSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; description: z.ZodString; eventType: z.ZodString; displayedBubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodString; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ name: z.ZodString; value: z.ZodUnknown; type: z.ZodNativeEnum<typeof BubbleParameterType>; }, "strip", z.ZodTypeAny, { name: string; type: BubbleParameterType; value?: unknown; }, { name: string; type: BubbleParameterType; value?: unknown; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; }, "strip", z.ZodTypeAny, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>>; bubbleParameters: z.ZodRecord<z.ZodString, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodString; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ name: z.ZodString; value: z.ZodUnknown; type: z.ZodNativeEnum<typeof BubbleParameterType>; }, "strip", z.ZodTypeAny, { name: string; type: BubbleParameterType; value?: unknown; }, { name: string; type: BubbleParameterType; value?: unknown; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; }, "strip", z.ZodTypeAny, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>>; requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>; createdAt: z.ZodString; updatedAt: z.ZodString; webhook: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; url: z.ZodString; path: z.ZodString; active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; id: number; url: string; active: boolean; }, { path: string; id: number; url: string; active: boolean; }>>; }, "strip", z.ZodTypeAny, { name: string; description: string; id: number; eventType: string; updatedAt: string; bubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>; displayedBubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>; createdAt: string; requiredCredentials?: Record<string, CredentialType[]> | undefined; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }, { name: string; description: string; id: number; eventType: string; updatedAt: string; bubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>; displayedBubbleParameters: Record<string, { variableName: string; className: string; parameters: { name: string; type: BubbleParameterType; value?: unknown; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: string; }>; createdAt: string; requiredCredentials?: Record<string, CredentialType[]> | undefined; webhook?: { path: string; id: number; url: string; active: boolean; } | undefined; }>; export type GenerateBubbleFlowCodeResponse = z.infer<typeof generateBubbleFlowCodeResponseSchema>; export type GenerateBubbleFlowTemplateRequest = z.infer<typeof generateBubbleFlowTemplateSchema>; export type GenerateDocumentGenerationTemplateRequest = z.infer<typeof generateDocumentGenerationTemplateSchema>; export type BubbleFlowTemplateResponse = z.infer<typeof bubbleFlowTemplateResponseSchema>; export type GenerationResult = z.infer<typeof GenerationResultSchema>; export declare const webhookExecutionResponseSchema: z.ZodObject<{ executionId: z.ZodNumber; success: z.ZodBoolean; data: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; webhook: z.ZodObject<{ userId: z.ZodString; path: z.ZodString; triggeredAt: z.ZodString; method: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; userId: string; triggeredAt: string; method: string; }, { path: string; userId: string; triggeredAt: string; method: string; }>; }, "strip", z.ZodTypeAny, { success: boolean; executionId: number; webhook: { path: string; userId: string; triggeredAt: string; method: string; }; error?: string | undefined; data?: unknown; }, { success: boolean; executionId: number; webhook: { path: string; userId: string; triggeredAt: string; method: string; }; error?: string | undefined; data?: unknown; }>; export declare const webhookResponseSchema: z.ZodObject<{ challenge: z.ZodOptional<z.ZodString>; executionId: z.ZodOptional<z.ZodNumber>; success: z.ZodOptional<z.ZodBoolean>; data: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodUndefined]>>; error: z.ZodOptional<z.ZodString>; webhook: z.ZodOptional<z.ZodObject<{ userId: z.ZodString; path: z.ZodString; triggeredAt: z.ZodString; method: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; userId: string; triggeredAt: string; method: string; }, { path: string; userId: string; triggeredAt: string; method: string; }>>; }, "strip", z.ZodTypeAny, { error?: string | undefined; challenge?: string | undefined; success?: boolean | undefined; executionId?: number | undefined; data?: Record<string, unknown> | undefined; webhook?: { path: string; userId: string; triggeredAt: string; method: string; } | undefined; }, { error?: string | undefined; challenge?: string | undefined; success?: boolean | undefined; executionId?: number | undefined; data?: Record<string, unknown> | undefined; webhook?: { path: string; userId: string; triggeredAt: string; method: string; } | undefined; }>; export type WebhookResponse = z.infer<typeof webhookResponseSchema>; export type WebhookExecutionResponse = z.infer<typeof webhookExecutionResponseSchema>; export declare const tokenUsageSchema: z.ZodObject<{ modelName: z.ZodOptional<z.ZodString>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }>; export type TokenUsage = z.infer<typeof tokenUsageSchema>; export declare const usageSchema: z.ZodObject<{ executionCount: z.ZodNumber; tokenUsage: z.ZodArray<z.ZodObject<{ modelName: z.ZodOptional<z.ZodString>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }>, "many">; serviceUsage: z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof import("./types").CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">; estimatedMonthlyCost: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; }, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; }>; export type Usage = z.infer<typeof usageSchema>; export declare const billingOrganizationSchema: z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; slug: z.ZodString; type: z.ZodOptional<z.ZodEnum<["personal", "organization"]>>; role: z.ZodEnum<["owner", "admin", "member"]>; memberCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; }, { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; }>; export type BillingOrganization = z.infer<typeof billingOrganizationSchema>; export declare const hackathonOfferSchema: z.ZodObject<{ isActive: z.ZodBoolean; expiresAt: z.ZodString; redeemedAt: z.ZodString; }, "strip", z.ZodTypeAny, { isActive: boolean; expiresAt: string; redeemedAt: string; }, { isActive: boolean; expiresAt: string; redeemedAt: string; }>; export type HackathonOffer = z.infer<typeof hackathonOfferSchema>; export declare const specialOfferSchema: z.ZodObject<{ isActive: z.ZodBoolean; plan: z.ZodString; expiresAt: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { isActive: boolean; plan: string; expiresAt: string | null; }, { isActive: boolean; plan: string; expiresAt: string | null; }>; export type SpecialOffer = z.infer<typeof specialOfferSchema>; export declare const redeemCouponRequestSchema: z.ZodObject<{ code: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; }, { code: string; }>; export type RedeemCouponRequest = z.infer<typeof redeemCouponRequestSchema>; export declare const redeemCouponResponseSchema: z.ZodObject<{ success: z.ZodBoolean; message: z.ZodString; expiresAt: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; success: boolean; expiresAt?: string | undefined; }, { message: string; success: boolean; expiresAt?: string | undefined; }>; export type RedeemCouponResponse = z.infer<typeof redeemCouponResponseSchema>; export declare const subscriptionStatusResponseSchema: z.ZodObject<{ userId: z.ZodString; plan: z.ZodString; planDisplayName: z.ZodString; features: z.ZodArray<z.ZodString, "many">; organization: z.ZodOptional<z.ZodObject<{ id: z.ZodNumber; name: z.ZodString; slug: z.ZodString; type: z.ZodOptional<z.ZodEnum<["personal", "organization"]>>; role: z.ZodEnum<["owner", "admin", "member"]>; memberCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; }, { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; }>>; usage: z.ZodObject<{ executionCount: z.ZodNumber; executionLimit: z.ZodNumber; creditLimit: z.ZodNumber; activeFlowLimit: z.ZodNumber; estimatedMonthlyCost: z.ZodNumber; resetDate: z.ZodString; tokenUsage: z.ZodArray<z.ZodObject<{ modelName: z.ZodOptional<z.ZodString>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }>, "many">; serviceUsage: z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof import("./types").CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost: number; executionLimit: number; creditLimit: number; activeFlowLimit: number; resetDate: string; }, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost: number; executionLimit: number; creditLimit: number; activeFlowLimit: number; resetDate: string; }>; personalUsage: z.ZodOptional<z.ZodObject<{ executionCount: z.ZodNumber; tokenUsage: z.ZodArray<z.ZodObject<{ modelName: z.ZodOptional<z.ZodString>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }, { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }>, "many">; serviceUsage: z.ZodArray<z.ZodObject<{ service: z.ZodNativeEnum<typeof import("./types").CredentialType>; subService: z.ZodOptional<z.ZodString>; unit: z.ZodString; usage: z.ZodNumber; unitCost: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }, { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }>, "many">; estimatedMonthlyCost: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; }, { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; }>>; isActive: z.ZodBoolean; hackathonOffer: z.ZodOptional<z.ZodObject<{ isActive: z.ZodBoolean; expiresAt: z.ZodString; redeemedAt: z.ZodString; }, "strip", z.ZodTypeAny, { isActive: boolean; expiresAt: string; redeemedAt: string; }, { isActive: boolean; expiresAt: string; redeemedAt: string; }>>; specialOffer: z.ZodOptional<z.ZodObject<{ isActive: z.ZodBoolean; plan: z.ZodString; expiresAt: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { isActive: boolean; plan: string; expiresAt: string | null; }, { isActive: boolean; plan: string; expiresAt: string | null; }>>; }, "strip", z.ZodTypeAny, { usage: { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost: number; executionLimit: number; creditLimit: number; activeFlowLimit: number; resetDate: string; }; userId: string; isActive: boolean; plan: string; planDisplayName: string; features: string[]; organization?: { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; } | undefined; personalUsage?: { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; } | undefined; hackathonOffer?: { isActive: boolean; expiresAt: string; redeemedAt: string; } | undefined; specialOffer?: { isActive: boolean; plan: string; expiresAt: string | null; } | undefined; }, { usage: { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost: number; executionLimit: number; creditLimit: number; activeFlowLimit: number; resetDate: string; }; userId: string; isActive: boolean; plan: string; planDisplayName: string; features: string[]; organization?: { role: "owner" | "admin" | "member"; name: string; id: number; slug: string; memberCount: number; type?: "personal" | "organization" | undefined; } | undefined; personalUsage?: { serviceUsage: { service: import("./types").CredentialType; unit: string; usage: number; unitCost: number; totalCost: number; subService?: string | undefined; }[]; executionCount: number; tokenUsage: { inputTokens: number; outputTokens: number; totalTokens: number; modelName?: string | undefined; }[]; estimatedMonthlyCost?: number | undefined; } | undefined; hackathonOffer?: { isActive: boolean; expiresAt: string; redeemedAt: string; } | undefined; specialOffer?: { isActive: boolean; plan: string; expiresAt: string | null; } | undefined; }>; export type SubscriptionStatusResponse = z.infer<typeof subscriptionStatusResponseSchema>; export declare const userUsageItemSchema: z.ZodObject<{ userId: z.ZodString; firstName: z.ZodOptional<z.ZodString>; lastName: z.ZodOptional<z.ZodString>; userEmail: z.ZodOptional<z.ZodString>; role: z.ZodEnum<["owner", "admin", "member"]>; executionCount: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }, { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }>; export type UserUsageItem = z.infer<typeof userUsageItemSchema>; export declare const orgUsageBreakdownResponseSchema: z.ZodObject<{ organizationId: z.ZodNumber; organizationName: z.ZodOptional<z.ZodString>; monthYear: z.ZodString; totalOrgCost: z.ZodNumber; totalOrgExecutions: z.ZodNumber; users: z.ZodArray<z.ZodObject<{ userId: z.ZodString; firstName: z.ZodOptional<z.ZodString>; lastName: z.ZodOptional<z.ZodString>; userEmail: z.ZodOptional<z.ZodString>; role: z.ZodEnum<["owner", "admin", "member"]>; executionCount: z.ZodNumber; totalCost: z.ZodNumber; }, "strip", z.ZodTypeAny, { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }, { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { organizationId: number; users: { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }[]; monthYear: string; totalOrgCost: number; totalOrgExecutions: number; organizationName?: string | undefined; }, { organizationId: number; users: { role: "owner" | "admin" | "member"; totalCost: number; userId: string; executionCount: number; firstName?: string | undefined; lastName?: string | undefined; userEmail?: string | undefined; }[]; monthYear: string; totalOrgCost: number; totalOrgExecutions: number; organizationName?: string | undefined; }>; export type OrgUsageBreakdownResponse = z.infer<typeof orgUsageBreakdownResponseSchema>; export declare function isAdminOrOwner(subscription: SubscriptionStatusResponse): boolean; export declare function isMember(subscription: SubscriptionStatusResponse): boolean; export declare const errorResponseSchema: z.ZodObject<{ error: z.ZodString; details: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { error: string; details?: string | undefined; }, { error: string; details?: string | undefined; }>; export type ErrorResponse = z.infer<typeof errorResponseSchema>; export interface HealthCheckResponse { message: string; timestamp: string; }
120
+ export declare const slackUrlVerificationSchema: z.ZodObject<{ token: z.ZodString; challenge: z.ZodString; type: z.ZodLiteral<"url_verification">; }, "strip", z.ZodTypeAny, { type: "url_verification"; token: string; challenge: string; }, { type: "url_verification"; token: string; challenge: string; }>; export declare const slackUrlVerificationResponseSchema: z.ZodObject<{ challenge: z.ZodString; }, "strip", z.ZodTypeAny, { challenge: string; }, { challenge: string; }>; export type SlackUrlVerificationResponse = z.infer<typeof slackUrlVerificationResponseSchema>; export declare const MilkTeaRequestSchema: z.ZodObject<{ userRequest: z.ZodString; bubbleName: z.ZodString; bubbleSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>; currentCode: z.ZodOptional<z.ZodString>; availableCredentials: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; userName: z.ZodString; insertLocation: z.ZodOptional<z.ZodString>; conversationHistory: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{ role: z.ZodEnum<["user", "assistant", "tool"]>; content: z.ZodString; toolCallId: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }>, "many">>>; model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>; }, "strip", z.ZodTypeAny, { bubbleName: string; model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; userRequest: string; bubbleSchema: Record<string, unknown>; availableCredentials: string[]; userName: string; conversationHistory: { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }[]; currentCode?: string | undefined; insertLocation?: string | undefined; }, { bubbleName: string; userRequest: string; bubbleSchema: Record<string, unknown>; userName: string; model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; currentCode?: string | undefined; availableCredentials?: string[] | undefined; insertLocation?: string | undefined; conversationHistory?: { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }[] | undefined; }>; export declare const MilkTeaResponseSchema: z.ZodObject<{ type: z.ZodEnum<["code", "question", "reject"]>; message: z.ZodString; snippet: z.ZodOptional<z.ZodString>; success: z.ZodBoolean; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; type: "code" | "question" | "reject"; success: boolean; error?: string | undefined; snippet?: string | undefined; }, { message: string; type: "code" | "question" | "reject"; success: boolean; error?: string | undefined; snippet?: string | undefined; }>; export declare const MilkTeaAgentOutputSchema: z.ZodObject<{ type: z.ZodEnum<["code", "question", "reject"]>; message: z.ZodString; snippet: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; type: "code" | "question" | "reject"; snippet?: string | undefined; }, { message: string; type: "code" | "question" | "reject"; snippet?: string | undefined; }>; export type MilkTeaRequest = z.infer<typeof MilkTeaRequestSchema>; export type MilkTeaResponse = z.infer<typeof MilkTeaResponseSchema>; export type MilkTeaAgentOutput = z.infer<typeof MilkTeaAgentOutputSchema>; export declare const AvailableModels: z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>; export type AvailableModel = z.infer<typeof AvailableModels>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
121
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare const PEARL_DEFAULT_MODEL: AvailableModel; export declare const PearlRequestSchema: z.ZodObject<{ userRequest: z.ZodString; currentCode: z.ZodOptional<z.ZodString>; userName: z.ZodString; availableVariables: z.ZodArray<z.ZodAny, "many">; conversationHistory: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{ role: z.ZodEnum<["user", "assistant", "tool"]>; content: z.ZodString; toolCallId: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }>, "many">>>; model: z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>; additionalContext: z.ZodOptional<z.ZodString>; uploadedFiles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{ name: z.ZodString; content: z.ZodString; fileType: z.ZodEnum<["image", "text"]>; }, "strip", z.ZodTypeAny, { content: string; name: string; fileType: "text" | "image"; }, { content: string; name: string; fileType: "text" | "image"; }>, "many">>>; }, "strip", z.ZodTypeAny, { model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; userRequest: string; userName: string; conversationHistory: { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }[]; availableVariables: any[]; uploadedFiles: { content: string; name: string; fileType: "text" | "image"; }[]; currentCode?: string | undefined; additionalContext?: string | undefined; }, { userRequest: string; userName: string; availableVariables: any[]; model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; currentCode?: string | undefined; conversationHistory?: { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }[] | undefined; additionalContext?: string | undefined; uploadedFiles?: { content: string; name: string; fileType: "text" | "image"; }[] | undefined; }>; export declare const PearlResponseSchema: z.ZodObject<{ type: z.ZodEnum<["code", "question", "answer", "reject"]>; message: z.ZodString; snippet: z.ZodOptional<z.ZodString>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodNumber, z.ZodObject<{ variableName: z.ZodString; bubbleName: z.ZodType<import("./types.js").BubbleName>; className: z.ZodString; parameters: z.ZodArray<z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof import("./bubble-definition-schema.js").BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>, "many">; hasAwait: z.ZodBoolean; hasActionCall: z.ZodBoolean; dependencies: z.ZodOptional<z.ZodArray<z.ZodType<import("./types.js").BubbleName, z.ZodTypeDef, import("./types.js").BubbleName>, "many">>; dependencyGraph: z.ZodOptional<z.ZodType<import("./bubble-definition-schema.js").DependencyGraphNode, z.ZodTypeDef, import("./bubble-definition-schema.js").DependencyGraphNode>>; variableId: z.ZodNumber; nodeType: z.ZodEnum<["service", "tool", "workflow", "unknown"]>; location: z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>; description: z.ZodOptional<z.ZodString>; invocationCallSiteKey: z.ZodOptional<z.ZodString>; clonedFromVariableId: z.ZodOptional<z.ZodNumber>; isInsideCustomTool: z.ZodOptional<z.ZodBoolean>; containingCustomToolId: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types.js").BubbleName; description?: string | undefined; dependencies?: import("./types.js").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types.js").BubbleName; description?: string | undefined; dependencies?: import("./types.js").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }>>>; inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; requiredCredentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>>; success: z.ZodBoolean; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; type: "code" | "question" | "answer" | "reject"; success: boolean; error?: string | undefined; inputSchema?: Record<string, unknown> | undefined; requiredCredentials?: Record<string, CredentialType[]> | undefined; bubbleParameters?: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types.js").BubbleName; description?: string | undefined; dependencies?: import("./types.js").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; snippet?: string | undefined; }, { message: string; type: "code" | "question" | "answer" | "reject"; success: boolean; error?: string | undefined; inputSchema?: Record<string, unknown> | undefined; requiredCredentials?: Record<string, CredentialType[]> | undefined; bubbleParameters?: Record<number, { location: { startLine: number; startCol: number; endLine: number; endCol: number; }; variableId: number; variableName: string; nodeType: "tool" | "unknown" | "service" | "workflow"; className: string; parameters: { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: import("./bubble-definition-schema.js").BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }[]; hasAwait: boolean; hasActionCall: boolean; bubbleName: import("./types.js").BubbleName; description?: string | undefined; dependencies?: import("./types.js").BubbleName[] | undefined; dependencyGraph?: import("./bubble-definition-schema.js").DependencyGraphNode | undefined; invocationCallSiteKey?: string | undefined; clonedFromVariableId?: number | undefined; isInsideCustomTool?: boolean | undefined; containingCustomToolId?: string | undefined; }> | undefined; snippet?: string | undefined; }>; export declare const PearlAgentOutputSchema: z.ZodObject<{ type: z.ZodEnum<["code", "question", "answer", "reject", "text"]>; message: z.ZodString; snippet: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { message: string; type: "code" | "question" | "answer" | "reject" | "text"; snippet?: string | undefined; }, { message: string; type: "code" | "question" | "answer" | "reject" | "text"; snippet?: string | undefined; }>; export type PearlRequest = z.infer<typeof PearlRequestSchema>; export type PearlResponse = z.infer<typeof PearlResponseSchema>; export type PearlAgentOutput = z.infer<typeof PearlAgentOutputSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
122
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare const COFFEE_MAX_ITERATIONS = 30; export declare const COFFEE_MAX_QUESTIONS = 5; export declare const COFFEE_DEFAULT_MODEL: "google/gemini-3-pro-preview"; export declare const ClarificationChoiceSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>; export declare const ClarificationQuestionSchema: z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>; export declare const CoffeeClarificationEventSchema: z.ZodObject<{ questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>; export declare const CoffeeRequestExternalContextEventSchema: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; export declare const CoffeeContextAnswerSchema: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; export declare const CoffeeContextRequestInfoSchema: z.ZodObject<{ purpose: z.ZodString; flowDescription: z.ZodString; }, "strip", z.ZodTypeAny, { purpose: string; flowDescription: string; }, { purpose: string; flowDescription: string; }>; export declare const CoffeeContextEventSchema: z.ZodObject<{ status: z.ZodEnum<["gathering", "complete"]>; miniFlowDescription: z.ZodOptional<z.ZodString>; result: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { status: "gathering" | "complete"; result?: string | undefined; miniFlowDescription?: string | undefined; }, { status: "gathering" | "complete"; result?: string | undefined; miniFlowDescription?: string | undefined; }>; export declare const PlanStepSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>; export declare const CoffeePlanEventSchema: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; export declare const UserMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>; export declare const AssistantMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>; export declare const ClarificationRequestMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>; export declare const ClarificationResponseMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>; export declare const ContextRequestMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>; export declare const ContextResponseMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>; export declare const PlanMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>; export declare const PlanApprovalMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>; export declare const SystemMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>; export declare const ToolResultMessageSchema: z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>; export declare const CoffeeMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>; export declare const CoffeeRequestSchema: z.ZodObject<{ prompt: z.ZodString; flowId: z.ZodOptional<z.ZodNumber>; messages: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"user">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "user"; timestamp: string; id: string; }, { content: string; type: "user"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"assistant">; content: z.ZodString; code: z.ZodOptional<z.ZodString>; resultType: z.ZodOptional<z.ZodEnum<["code", "question", "answer", "reject"]>>; bubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }, { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_request">; questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"clarification_response">; answers: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>; originalQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; }, { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_request">; request: z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>; }, "strip", z.ZodTypeAny, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }, { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"context_response">; answer: z.ZodObject<{ flowId: z.ZodString; status: z.ZodEnum<["success", "rejected", "error"]>; result: z.ZodOptional<z.ZodUnknown>; error: z.ZodOptional<z.ZodString>; originalRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; }, "strip", z.ZodTypeAny, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; credentialTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }, { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan">; plan: z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>; }, "strip", z.ZodTypeAny, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }, { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"plan_approval">; approved: z.ZodBoolean; comment: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }, { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"system">; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; type: "system"; timestamp: string; id: string; }, { content: string; type: "system"; timestamp: string; id: string; }>, z.ZodObject<{ id: z.ZodString; timestamp: z.ZodString; } & { type: z.ZodLiteral<"tool_result">; toolName: z.ZodString; toolCallId: z.ZodString; input: z.ZodUnknown; output: z.ZodUnknown; duration: z.ZodNumber; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }, { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; }>]>, "many">>; }, "strip", z.ZodTypeAny, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; }, { prompt: string; flowId?: number | undefined; messages?: ({ content: string; type: "user"; timestamp: string; id: string; } | { content: string; type: "assistant"; timestamp: string; id: string; code?: string | undefined; bubbleParameters?: Record<string, unknown> | undefined; resultType?: "code" | "question" | "answer" | "reject" | undefined; } | { type: "clarification_request"; timestamp: string; id: string; questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | { type: "clarification_response"; timestamp: string; id: string; answers: Record<string, string[]>; originalQuestions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; } | { type: "context_request"; timestamp: string; id: string; request: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }; } | { type: "context_response"; timestamp: string; id: string; answer: { status: "error" | "success" | "rejected"; flowId: string; error?: string | undefined; result?: unknown; originalRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }; credentialTypes?: string[] | undefined; } | { type: "plan"; timestamp: string; id: string; plan: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }; } | { type: "plan_approval"; timestamp: string; id: string; approved: boolean; comment?: string | undefined; } | { content: string; type: "system"; timestamp: string; id: string; } | { toolCallId: string; type: "tool_result"; timestamp: string; duration: number; id: string; success: boolean; toolName: string; input?: unknown; output?: unknown; })[] | undefined; }>; export declare const CoffeeResponseSchema: z.ZodObject<{ type: z.ZodEnum<["clarification", "plan", "context_request", "error"]>; clarification: z.ZodOptional<z.ZodObject<{ questions: z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; }, { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; }>>; plan: z.ZodOptional<z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>>; contextRequest: z.ZodOptional<z.ZodObject<{ flowId: z.ZodString; flowCode: z.ZodString; requiredCredentials: z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">; description: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }, { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; }>>; error: z.ZodOptional<z.ZodString>; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: "error" | "context_request" | "plan" | "clarification"; success: boolean; error?: string | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; clarification?: { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[]; } | undefined; contextRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }, { type: "error" | "context_request" | "plan" | "clarification"; success: boolean; error?: string | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; clarification?: { questions: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[]; } | undefined; contextRequest?: { description: string; flowId: string; requiredCredentials: CredentialType[]; flowCode: string; } | undefined; }>; export declare const CoffeeAgentOutputSchema: z.ZodObject<{ action: z.ZodEnum<["askClarification", "generatePlan", "requestContext"]>; questions: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; question: z.ZodString; choices: z.ZodArray<z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; label: string; description?: string | undefined; }, { id: string; label: string; description?: string | undefined; }>, "many">; context: z.ZodOptional<z.ZodString>; allowMultiple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; }, "strip", z.ZodTypeAny, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }, { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }>, "many">>; plan: z.ZodOptional<z.ZodObject<{ summary: z.ZodString; steps: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; bubblesUsed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; }, "strip", z.ZodTypeAny, { description: string; title: string; bubblesUsed?: string[] | undefined; }, { description: string; title: string; bubblesUsed?: string[] | undefined; }>, "many">; estimatedBubbles: z.ZodArray<z.ZodString, "many">; }, "strip", z.ZodTypeAny, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }, { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; }>>; contextRequest: z.ZodOptional<z.ZodObject<{ purpose: z.ZodString; flowDescription: z.ZodString; }, "strip", z.ZodTypeAny, { purpose: string; flowDescription: string; }, { purpose: string; flowDescription: string; }>>; }, "strip", z.ZodTypeAny, { action: "askClarification" | "generatePlan" | "requestContext"; questions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; allowMultiple: boolean; context?: string | undefined; }[] | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; contextRequest?: { purpose: string; flowDescription: string; } | undefined; }, { action: "askClarification" | "generatePlan" | "requestContext"; questions?: { id: string; question: string; choices: { id: string; label: string; description?: string | undefined; }[]; context?: string | undefined; allowMultiple?: boolean | undefined; }[] | undefined; plan?: { summary: string; steps: { description: string; title: string; bubblesUsed?: string[] | undefined; }[]; estimatedBubbles: string[]; } | undefined; contextRequest?: { purpose: string; flowDescription: string; } | undefined; }>; export type ClarificationChoice = z.infer<typeof ClarificationChoiceSchema>; export type ClarificationQuestion = z.infer<typeof ClarificationQuestionSchema>; export type CoffeeClarificationEvent = z.infer<typeof CoffeeClarificationEventSchema>; export type CoffeeRequestExternalContextEvent = z.infer<typeof CoffeeRequestExternalContextEventSchema>; export type CoffeeContextAnswer = z.infer<typeof CoffeeContextAnswerSchema>; export type CoffeeContextEvent = z.infer<typeof CoffeeContextEventSchema>; export type CoffeeContextRequestInfo = z.infer<typeof CoffeeContextRequestInfoSchema>; export type PlanStep = z.infer<typeof PlanStepSchema>; export type CoffeePlanEvent = z.infer<typeof CoffeePlanEventSchema>; export type CoffeeRequest = z.infer<typeof CoffeeRequestSchema>; export type CoffeeResponse = z.infer<typeof CoffeeResponseSchema>; export type CoffeeAgentOutput = z.infer<typeof CoffeeAgentOutputSchema>; export type UserMessage = z.infer<typeof UserMessageSchema>; export type AssistantMessage = z.infer<typeof AssistantMessageSchema>; export type ClarificationRequestMessage = z.infer<typeof ClarificationRequestMessageSchema>; export type ClarificationResponseMessage = z.infer<typeof ClarificationResponseMessageSchema>; export type ContextRequestMessage = z.infer<typeof ContextRequestMessageSchema>; export type ContextResponseMessage = z.infer<typeof ContextResponseMessageSchema>; export type PlanMessage = z.infer<typeof PlanMessageSchema>; export type PlanApprovalMessage = z.infer<typeof PlanApprovalMessageSchema>; export type SystemMessage = z.infer<typeof SystemMessageSchema>; export type ToolResultMessage = z.infer<typeof ToolResultMessageSchema>; export type CoffeeMessage = z.infer<typeof CoffeeMessageSchema>; export declare const AvailableModels: z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>; export type AvailableModel = z.infer<typeof AvailableModels>; export declare const RICE_DEFAULT_MODEL: AvailableModel; export declare const RiceIssueTypeSchema: z.ZodNullable<z.ZodEnum<["setup", "workflow", "input"]>>; export type RiceIssueType = z.infer<typeof RiceIssueTypeSchema>; export declare const RiceEvaluationResultSchema: z.ZodObject<{ working: z.ZodBoolean; issueType: z.ZodNullable<z.ZodEnum<["setup", "workflow", "input"]>>; summary: z.ZodString; rating: z.ZodNumber; }, "strip", z.ZodTypeAny, { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; }, { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; }>; export declare const RiceRequestSchema: z.ZodObject<{ executionLogs: z.ZodArray<z.ZodUnknown, "many">; workflowCode: z.ZodString; executionId: z.ZodNumber; bubbleFlowId: z.ZodNumber; model: z.ZodDefault<z.ZodOptional<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>>; }, "strip", z.ZodTypeAny, { executionLogs: unknown[]; executionId: number; model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research"; workflowCode: string; bubbleFlowId: number; }, { executionLogs: unknown[]; executionId: number; workflowCode: string; bubbleFlowId: number; model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined; }>; export declare const RiceResponseSchema: z.ZodObject<{ success: z.ZodBoolean; evaluation: z.ZodOptional<z.ZodObject<{ working: z.ZodBoolean; issueType: z.ZodNullable<z.ZodEnum<["setup", "workflow", "input"]>>; summary: z.ZodString; rating: z.ZodNumber; }, "strip", z.ZodTypeAny, { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; }, { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; }>>; error: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { success: boolean; error?: string | undefined; evaluation?: { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; } | undefined; }, { success: boolean; error?: string | undefined; evaluation?: { summary: string; working: boolean; issueType: "workflow" | "input" | "setup" | null; rating: number; } | undefined; }>; export type RiceEvaluationResult = z.infer<typeof RiceEvaluationResultSchema>; export type RiceRequest = z.input<typeof RiceRequestSchema>; export type RiceResponse = z.infer<typeof RiceResponseSchema>; export declare const AvailableModels: z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>; export type AvailableModel = z.infer<typeof AvailableModels>; export interface CronExpression { minute: string; hour: string; dayOfMonth: string; month: string; dayOfWeek: string; original: string; }
124
123
  export interface CronScheduleInfo { expression: CronExpression; description: string; nextRun?: Date; isValid: boolean; error?: string; }
125
124
  export declare function parseCronExpression(cronString: string): CronExpression; export declare function validateCronExpression(cronString: string): { valid: boolean; error?: string; }; export declare function describeCronExpression(cronString: string): string; export declare function getCronScheduleInfo(cronString: string): CronScheduleInfo; export interface BubbleTriggerEventRegistry { 'slack/bot_mentioned': SlackMentionEvent; 'slack/message_received': SlackMessageReceivedEvent; 'airtable/record_created': AirtableRecordCreatedEvent; 'airtable/record_updated': AirtableRecordUpdatedEvent; 'airtable/record_deleted': AirtableRecordDeletedEvent; 'schedule/cron': CronEvent; 'webhook/http': WebhookEvent; }
126
125
  export declare const BUBBLE_TRIGGER_EVENTS: { readonly 'slack/bot_mentioned': true; readonly 'slack/message_received': true; readonly 'airtable/record_created': true; readonly 'airtable/record_updated': true; readonly 'airtable/record_deleted': true; readonly 'schedule/cron': true; readonly 'webhook/http': true; }; export declare function isValidBubbleTriggerEvent(eventType: string): eventType is keyof BubbleTriggerEventRegistry; export interface BubbleTriggerEvent { type: keyof BubbleTriggerEventRegistry; timestamp: string; executionId: string; path: string; [key: string]: unknown; }
@@ -144,9 +143,9 @@ export declare const TRIGGER_EVENT_CONFIGS: Record<keyof BubbleTriggerEventRegis
144
143
  export interface AirtableTable { id: string; name: string; description?: string; }
145
144
  export interface AirtableTableFull extends AirtableTable { primaryFieldId: string; fields: Array<{ id: string; name: string; type: string; description?: string; }>; }
146
145
  export declare const AIRTABLE_TRIGGER_CONFIG_KEYS: { readonly BASE_ID: "airtable_base_id"; readonly TABLE_ID: "airtable_table_id"; readonly WEBHOOK_ID: "airtable_webhook_id"; readonly MAC_SECRET: "airtable_mac_secret"; readonly WEBHOOK_EXPIRATION: "airtable_webhook_expiration"; readonly DELAY_SECONDS: "airtable_trigger_delay_seconds"; }; export interface AirtableTriggerConfig { airtable_base_id?: string; airtable_table_id?: string; airtable_webhook_id?: string; airtable_mac_secret?: string; airtable_webhook_expiration?: string; airtable_trigger_delay_seconds?: AirtableDelaySeconds; }
147
- export declare function getAirtableTriggerConfig(defaultInputs: Record<string, unknown>): AirtableTriggerConfig; export type AirtableEventType = Extract<keyof BubbleTriggerEventRegistry, `airtable/${string}`>; export declare const AvailableModels: z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>; export type AvailableModel = z.infer<typeof AvailableModels>; export declare const RECOMMENDED_MODELS: Record<string, AvailableModel>; export type StorableValue = { truncated: boolean; preview: string | unknown; sizeBytes: number; }; export declare function prepareForStorage(value: unknown, options?: { maxBytes?: number; previewBytes?: number; }): StorableValue; export declare function cleanUpObjectForDisplayAndStorage(obj: unknown, maxBytes?: number): unknown; export declare function sanitizeParams(params: Record<string, unknown>): Record<string, unknown>; export declare function enhanceErrorMessage(errorMessage: string): string; export declare function hashToVariableId(input: string): number; export declare function buildCallSiteKey(methodName: string, invocationIndex: number): string; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
148
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare const TOOL_CALL_TO_DISCARD: BubbleName[]; export declare const ConversationMessageSchema: z.ZodObject<{ role: z.ZodEnum<["user", "assistant", "tool"]>; content: z.ZodString; toolCallId: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }>; export type ConversationMessage = z.infer<typeof ConversationMessageSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED" }
149
- export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'yc-scraper-tool'; export declare enum BubbleParameterType { STRING = "string", NUMBER = "number", BOOLEAN = "boolean", OBJECT = "object", ARRAY = "array", ENV = "env", VARIABLE = "variable", EXPRESSION = "expression", UNKNOWN = "unknown" }
146
+ export declare function getAirtableTriggerConfig(defaultInputs: Record<string, unknown>): AirtableTriggerConfig; export type AirtableEventType = Extract<keyof BubbleTriggerEventRegistry, `airtable/${string}`>; export declare const AvailableModels: z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5.1", "openai/gpt-5.2", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "google/gemini-3-pro-preview", "google/gemini-3-pro-image-preview", "google/gemini-3-flash-preview", "anthropic/claude-sonnet-4-5", "anthropic/claude-opus-4-5", "anthropic/claude-haiku-4-5", "openrouter/x-ai/grok-code-fast-1", "openrouter/z-ai/glm-4.6", "openrouter/z-ai/glm-4.7", "openrouter/anthropic/claude-sonnet-4.5", "openrouter/anthropic/claude-opus-4.5", "openrouter/google/gemini-3-pro-preview", "openrouter/morph/morph-v3-large", "openrouter/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>; export type AvailableModel = z.infer<typeof AvailableModels>; export declare const RECOMMENDED_MODELS: Record<string, AvailableModel>; export type StorableValue = { truncated: boolean; preview: string | unknown; sizeBytes: number; }; export declare function prepareForStorage(value: unknown, options?: { maxBytes?: number; previewBytes?: number; }): StorableValue; export declare function cleanUpObjectForDisplayAndStorage(obj: unknown, maxBytes?: number): unknown; export declare function sanitizeParams(params: Record<string, unknown>): Record<string, unknown>; export declare function enhanceErrorMessage(errorMessage: string): string; export declare function hashToVariableId(input: string): number; export declare function buildCallSiteKey(methodName: string, invocationIndex: number): string; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
147
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare const TOOL_CALL_TO_DISCARD: BubbleName[]; export declare const ConversationMessageSchema: z.ZodObject<{ role: z.ZodEnum<["user", "assistant", "tool"]>; content: z.ZodString; toolCallId: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }, { role: "user" | "assistant" | "tool"; content: string; toolCallId?: string | undefined; name?: string | undefined; }>; export type ConversationMessage = z.infer<typeof ConversationMessageSchema>; export declare enum CredentialType { CREDENTIAL_WILDCARD = "*", OPENAI_CRED = "OPENAI_CRED", GOOGLE_GEMINI_CRED = "GOOGLE_GEMINI_CRED", ANTHROPIC_CRED = "ANTHROPIC_CRED", OPENROUTER_CRED = "OPENROUTER_CRED", FIRECRAWL_API_KEY = "FIRECRAWL_API_KEY", DATABASE_CRED = "DATABASE_CRED", SLACK_CRED = "SLACK_CRED", TELEGRAM_BOT_TOKEN = "TELEGRAM_BOT_TOKEN", RESEND_CRED = "RESEND_CRED", CLOUDFLARE_R2_ACCESS_KEY = "CLOUDFLARE_R2_ACCESS_KEY", CLOUDFLARE_R2_SECRET_KEY = "CLOUDFLARE_R2_SECRET_KEY", CLOUDFLARE_R2_ACCOUNT_ID = "CLOUDFLARE_R2_ACCOUNT_ID", APIFY_CRED = "APIFY_CRED", ELEVENLABS_API_KEY = "ELEVENLABS_API_KEY", GOOGLE_DRIVE_CRED = "GOOGLE_DRIVE_CRED", GMAIL_CRED = "GMAIL_CRED", GOOGLE_SHEETS_CRED = "GOOGLE_SHEETS_CRED", GOOGLE_CALENDAR_CRED = "GOOGLE_CALENDAR_CRED", FUB_CRED = "FUB_CRED", NOTION_OAUTH_TOKEN = "NOTION_OAUTH_TOKEN", AIRTABLE_OAUTH = "AIRTABLE_OAUTH", GITHUB_TOKEN = "GITHUB_TOKEN", AGI_API_KEY = "AGI_API_KEY", AIRTABLE_CRED = "AIRTABLE_CRED", INSFORGE_BASE_URL = "INSFORGE_BASE_URL", INSFORGE_API_KEY = "INSFORGE_API_KEY", CUSTOM_AUTH_KEY = "CUSTOM_AUTH_KEY", AMAZON_CRED = "AMAZON_CRED", LINKEDIN_CRED = "LINKEDIN_CRED", CRUSTDATA_API_KEY = "CRUSTDATA_API_KEY", JIRA_CRED = "JIRA_CRED", ASHBY_CRED = "ASHBY_CRED", FULLENRICH_API_KEY = "FULLENRICH_API_KEY", STRIPE_CRED = "STRIPE_CRED", CONFLUENCE_CRED = "CONFLUENCE_CRED" }
148
+ export type BubbleName = 'hello-world' | 'ai-agent' | 'postgresql' | 'slack' | 'resend' | 'http' | 'slack-formatter-agent' | 'database-analyzer' | 'slack-notifier' | 'get-bubble-details-tool' | 'get-trigger-detail-tool' | 'list-bubbles-tool' | 'sql-query-tool' | 'chart-js-tool' | 'web-search-tool' | 'web-scrape-tool' | 'web-crawl-tool' | 'web-extract-tool' | 'research-agent-tool' | 'reddit-scrape-tool' | 'slack-data-assistant' | 'bubbleflow-code-generator' | 'bubbleflow-generator' | 'pdf-form-operations' | 'pdf-ocr-workflow' | 'generate-document-workflow' | 'parse-document-workflow' | 'bubbleflow-validation-tool' | 'code-edit-tool' | 'storage' | 'google-drive' | 'gmail' | 'google-sheets' | 'google-calendar' | 'apify' | 'instagram-tool' | 'linkedin-tool' | 'tiktok-tool' | 'twitter-tool' | 'google-maps-tool' | 'youtube-tool' | 'github' | 'eleven-labs' | 'followupboss' | 'agi-inc' | 'telegram' | 'airtable' | 'notion' | 'firecrawl' | 'insforge-db' | 'browserbase' | 'amazon-shopping-tool' | 'crustdata' | 'company-enrichment-tool' | 'people-search-tool' | 'jira' | 'ashby' | 'fullenrich' | 'linkedin-connection-tool' | 'stripe' | 'confluence' | 'yc-scraper-tool'; export declare enum BubbleParameterType { STRING = "string", NUMBER = "number", BOOLEAN = "boolean", OBJECT = "object", ARRAY = "array", ENV = "env", VARIABLE = "variable", EXPRESSION = "expression", UNKNOWN = "unknown" }
150
149
  export declare const CREDENTIAL_CONFIGURATION_MAP: Record<CredentialType, Record<string, BubbleParameterType>>; export declare const BUBBLE_NAMES_WITH_CONTEXT_INJECTION: string[]; export declare const BubbleParameterTypeSchema: z.ZodNativeEnum<typeof BubbleParameterType>; export declare const BubbleParameterSchema: z.ZodObject<{ location: z.ZodOptional<z.ZodObject<{ startLine: z.ZodNumber; startCol: z.ZodNumber; endLine: z.ZodNumber; endCol: z.ZodNumber; }, "strip", z.ZodTypeAny, { startLine: number; startCol: number; endLine: number; endCol: number; }, { startLine: number; startCol: number; endLine: number; endCol: number; }>>; variableId: z.ZodOptional<z.ZodNumber>; name: z.ZodString; value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown, "many">]>; type: z.ZodNativeEnum<typeof BubbleParameterType>; source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>; }, "strip", z.ZodTypeAny, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }, { name: string; value: string | number | boolean | unknown[] | Record<string, unknown>; type: BubbleParameterType; location?: { startLine: number; startCol: number; endLine: number; endCol: number; } | undefined; variableId?: number | undefined; source?: "object-property" | "first-arg" | "spread" | undefined; }>; export type BubbleParameter = z.infer<typeof BubbleParameterSchema>; export interface ParsedBubble { variableName: string; bubbleName: BubbleName; className: string; parameters: BubbleParameter[]; hasAwait: boolean; hasActionCall: boolean; dependencies?: BubbleName[]; dependencyGraph?: DependencyGraphNode; }
151
150
  export interface DependencyGraphNode { name: BubbleName; variableName?: string; nodeType: BubbleNodeType; uniqueId?: string; variableId?: number; dependencies: DependencyGraphNode[]; functionCallChildren?: FunctionCallWorkflowNode[]; }
152
151
  export interface BubbleDependencySpec { name: BubbleName; tools?: BubbleName[]; }
@@ -853,6 +852,51 @@ export interface IToolBubble<TResult extends BubbleOperationResult = BubbleOpera
853
852
  export interface IUIBubble extends IBubble { readonly type: 'ui'; template: string; }
854
853
  export interface IInfraBubble extends IBubble { readonly type: 'infra'; provider: 'aws' | 'gcp' | 'supabase'; resourceType: string; }
855
854
  export type BubbleFlowOperationResult = unknown; export interface BubbleContext { logger?: BubbleLogger; variableId?: number; invocationCallSiteKey?: string; dependencyGraph?: DependencyGraphNode; currentUniqueId?: string; __uniqueIdCounters__?: Record<string, number>; [key: string]: unknown; }
855
+ export type ServiceBubbleParams<T = unknown> = T & { credentials?: CredentialOptions; retries?: number; }; export declare const ConfluenceSpaceSchema: z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluencePageSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceCommentSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceSearchResultSchema: z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_spaces">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodEnum<["global", "personal"]>>; status: z.ZodOptional<z.ZodEnum<["current", "archived"]>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_spaces"; limit: number; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_spaces"; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_space">; space_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pages">; space_id: z.ZodOptional<z.ZodString>; space_key: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["current", "trashed", "draft"]>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_pages"; limit: number; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }, { operation: "list_pages"; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_page">; page_id: z.ZodString; include_body: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_page"; page_id: string; include_body: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_body?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_page">; space_id: z.ZodOptional<z.ZodString>; space_key: z.ZodOptional<z.ZodString>; title: z.ZodString; body: z.ZodOptional<z.ZodString>; parent_id: z.ZodOptional<z.ZodString>; status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["current", "draft"]>>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; status: "draft" | "current"; operation: "create_page"; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }, { title: string; operation: "create_page"; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; page_id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["current", "draft"]>>; version_message: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_page">; page_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; cql: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { start: number; operation: "search"; limit: number; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "search"; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; start?: number | undefined; limit?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_comment">; page_id: z.ZodString; body: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_comments">; page_id: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_comments"; limit: number; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "get_comments"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>]>; export declare const ConfluenceResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_spaces">; success: z.ZodBoolean; spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_space">; success: z.ZodBoolean; space: z.ZodOptional<z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_space"; space?: z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_space"; space?: z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pages">; success: z.ZodBoolean; pages: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_page"; page?: z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_page"; page?: z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; status?: string | undefined; _links?: z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; status?: string | undefined; _links?: z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; version?: z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; version?: z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_page">; success: z.ZodBoolean; page_id: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; success: z.ZodBoolean; results: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">>; total: z.ZodOptional<z.ZodNumber>; start: z.ZodOptional<z.ZodNumber>; limit: z.ZodOptional<z.ZodNumber>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_comment">; success: z.ZodBoolean; comment: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_comment"; comment?: z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "add_comment"; comment?: z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_comments">; success: z.ZodBoolean; comments: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>]>; export type ConfluenceParams = z.output<typeof ConfluenceParamsSchema>; export
856
+ type ConfluenceParamsInput = z.input<typeof ConfluenceParamsSchema>;;;;; export type ConfluenceResult = z.output<typeof ConfluenceResultSchema>; export type ConfluenceListSpacesParams = Extract<ConfluenceParams, { operation: 'list_spaces'; }>; export type ConfluenceGetSpaceParams = Extract<ConfluenceParams, { operation: 'get_space'; }>; export type ConfluenceListPagesParams = Extract<ConfluenceParams, { operation: 'list_pages'; }>; export type ConfluenceGetPageParams = Extract<ConfluenceParams, { operation: 'get_page'; }>; export type ConfluenceCreatePageParams = Extract<ConfluenceParams, { operation: 'create_page'; }>; export type ConfluenceUpdatePageParams = Extract<ConfluenceParams, { operation: 'update_page'; }>; export type ConfluenceDeletePageParams = Extract<ConfluenceParams, { operation: 'delete_page'; }>; export type ConfluenceSearchParams = Extract<ConfluenceParams, { operation: 'search'; }>; export type ConfluenceAddCommentParams = Extract<ConfluenceParams, { operation: 'add_comment'; }>; export type ConfluenceGetCommentsParams = Extract<ConfluenceParams, { operation: 'get_comments'; }>; export declare class ConfluenceBubble<T extends ConfluenceParamsInput = ConfluenceParamsInput> extends ServiceBubble<T, Extract<ConfluenceResult, { operation: T['operation']; }>> { static readonly type: "service"; static readonly service = "confluence"; static readonly authType: "oauth"; static readonly bubbleName = "confluence"; static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_spaces">; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; cursor: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodEnum<["global", "personal"]>>; status: import("zod").ZodOptional<import("zod").ZodEnum<["current", "archived"]>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_spaces"; limit: number; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_spaces"; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_space">; space_id: import("zod").ZodString; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_pages">; space_id: import("zod").ZodOptional<import("zod").ZodString>; space_key: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodEnum<["current", "trashed", "draft"]>>; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; cursor: import("zod").ZodOptional<import("zod").ZodString>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_pages"; limit: number; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }, { operation: "list_pages"; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_page">; page_id: import("zod").ZodString; include_body: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_page"; page_id: string; include_body: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_body?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_page">; space_id: import("zod").ZodOptional<import("zod").ZodString>; space_key: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodString; body: import("zod").ZodOptional<import("zod").ZodString>; parent_id: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["current", "draft"]>>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { title: string; status: "draft" | "current"; operation: "create_page"; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }, { title: string; operation: "create_page"; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_page">; page_id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodEnum<["current", "draft"]>>; version_message: import("zod").ZodOptional<import("zod").ZodString>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_page">; page_id: import("zod").ZodString; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search">; cql: import("zod").ZodString; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; start: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { start: number; operation: "search"; limit: number; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "search"; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; start?: number | undefined; limit?: number | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_comment">; page_id: import("zod").ZodString; body: import("zod").ZodString; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_comments">; page_id: import("zod").ZodString; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; cursor: import("zod").ZodOptional<import("zod").ZodString>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_comments"; limit: number; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "get_comments"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>]>; static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_spaces">; success: import("zod").ZodBoolean; spaces: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; cursor: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_space">; success: import("zod").ZodBoolean; space: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_space"; space?: import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_space"; space?: import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_pages">; success: import("zod").ZodBoolean; pages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; cursor: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_page">; success: import("zod").ZodBoolean; page: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_page"; page?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_page"; page?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_page">; success: import("zod").ZodBoolean; page: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; status?: string | undefined; _links?: import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; status?: string | undefined; _links?: import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_page">; success: import("zod").ZodBoolean; page: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough">>>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; version?: import("zod").objectOutputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; version?: import("zod").objectInputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: import("zod").objectOutputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: import("zod").objectInputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_page">; success: import("zod").ZodBoolean; page_id: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search">; success: import("zod").ZodBoolean; results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; total: import("zod").ZodOptional<import("zod").ZodNumber>; start: import("zod").ZodOptional<import("zod").ZodNumber>; limit: import("zod").ZodOptional<import("zod").ZodNumber>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_comment">; success: import("zod").ZodBoolean; comment: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "add_comment"; comment?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "add_comment"; comment?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_comments">; success: import("zod").ZodBoolean; comments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; cursor: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>]>; static readonly shortDescription = "Confluence integration for wiki pages and content management"; static readonly longDescription = "See bubble documentation for details"; static readonly alias = "confluence"; constructor(params: T, context?: BubbleContext); testCredential(): Promise<boolean>; private parseCredentials; private resolveSpaceKey; private getSpaceId; private makeConfluenceApiRequest; private makeConfluenceV1ApiRequest; protected performAction(context?: BubbleContext): Promise<Extract<ConfluenceResult, { operation: T['operation']; }>>; private listSpaces; private getSpace; private listPages; private getPage; private createPage; private updatePage; private deletePage; private search; private addComment; private getComments; protected chooseCredential(): string | undefined; }
857
+ export declare const ConfluenceSpaceSchema: z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluencePageSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceCommentSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceSearchResultSchema: z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_spaces">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodEnum<["global", "personal"]>>; status: z.ZodOptional<z.ZodEnum<["current", "archived"]>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_spaces"; limit: number; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_spaces"; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_space">; space_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pages">; space_id: z.ZodOptional<z.ZodString>; space_key: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["current", "trashed", "draft"]>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_pages"; limit: number; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }, { operation: "list_pages"; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_page">; page_id: z.ZodString; include_body: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_page"; page_id: string; include_body: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_body?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_page">; space_id: z.ZodOptional<z.ZodString>; space_key: z.ZodOptional<z.ZodString>; title: z.ZodString; body: z.ZodOptional<z.ZodString>; parent_id: z.ZodOptional<z.ZodString>; status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["current", "draft"]>>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; status: "draft" | "current"; operation: "create_page"; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }, { title: string; operation: "create_page"; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; page_id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["current", "draft"]>>; version_message: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_page">; page_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; cql: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { start: number; operation: "search"; limit: number; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "search"; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; start?: number | undefined; limit?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_comment">; page_id: z.ZodString; body: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_comments">; page_id: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_comments"; limit: number; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "get_comments"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>]>; export declare const ConfluenceResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_spaces">; success: z.ZodBoolean; spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_space">; success: z.ZodBoolean; space: z.ZodOptional<z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_space"; space?: z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_space"; space?: z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pages">; success: z.ZodBoolean; pages: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_page"; page?: z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_page"; page?: z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; status?: string | undefined; _links?: z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; status?: string | undefined; _links?: z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; version?: z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; version?: z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_page">; success: z.ZodBoolean; page_id: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; success: z.ZodBoolean; results: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">>; total: z.ZodOptional<z.ZodNumber>; start: z.ZodOptional<z.ZodNumber>; limit: z.ZodOptional<z.ZodNumber>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_comment">; success: z.ZodBoolean; comment: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_comment"; comment?: z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "add_comment"; comment?: z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_comments">; success: z.ZodBoolean; comments: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>]>; export type ConfluenceParams = z.output<typeof ConfluenceParamsSchema>; export type ConfluenceParamsInput = z.input<typeof ConfluenceParamsSchema>; export type ConfluenceResult = z.output<typeof ConfluenceResultSchema>; export type ConfluenceListSpacesParams = Extract<ConfluenceParams, { operation: 'list_spaces'; }>; export type ConfluenceGetSpaceParams = Extract<ConfluenceParams, { operation: 'get_space'; }>; export type ConfluenceListPagesParams = Extract<ConfluenceParams, { operation: 'list_pages'; }>; export type ConfluenceGetPageParams = Extract<ConfluenceParams, { operation: 'get_page'; }>; export type ConfluenceCreatePageParams = Extract<ConfluenceParams, { operation: 'create_page'; }>; export type ConfluenceUpdatePageParams = Extract<ConfluenceParams, { operation: 'update_page'; }>; export type ConfluenceDeletePageParams = Extract<ConfluenceParams, { operation: 'delete_page'; }>; export type ConfluenceSearchParams = Extract<ConfluenceParams, { operation: 'search'; }>; export type ConfluenceAddCommentParams = Extract<ConfluenceParams, { operation: 'add_comment'; }>; export type ConfluenceGetCommentsParams = Extract<ConfluenceParams, { operation: 'get_comments'; }>; export declare function markdownToConfluenceStorage(text: string): string; export declare function storageToText(storage: string | undefined | null): string; export declare function enhanceErrorMessage(errorText: string, statusCode: number, statusText: string): string; export interface TestResult { operation: string; success: boolean; details?: string; pageId?: string; error?: string; }
858
+ export interface Output { success: boolean; testResults: TestResult[]; createdPageId?: string; spaceId?: string; summary: string; }
859
+ export type ConfluenceIntegrationTestPayload = WebhookEvent; export declare class ConfluenceIntegrationFlow extends BubbleFlow<'webhook/http'> { handle(_payload: ConfluenceIntegrationTestPayload): Promise<Output>; }
860
+ export declare abstract class BaseBubble<TParams = unknown, TResult extends BubbleOperationResult = BubbleOperationResult> implements IBubble<TResult> { readonly name: string; readonly schema: z.ZodObject<z.ZodRawShape>; readonly resultSchema: z.ZodObject<z.ZodRawShape>; readonly shortDescription: string; readonly longDescription: string; readonly alias?: string; abstract readonly type: 'service' | 'workflow' | 'tool' | 'ui' | 'infra'; protected readonly params: TParams; protected context?: BubbleContext; previousResult: BubbleResult<BubbleOperationResult> | undefined; protected readonly instanceId?: string; constructor(params: unknown, context?: BubbleContext, instanceId?: string); private computeChildContext; saveResult<R extends BubbleOperationResult>(result: BubbleResult<R>): void; clearSavedResult(): void; toJSON(): Record<string, unknown>; action(): Promise<BubbleResult<TResult>>; generateMockResult(): BubbleResult<TResult>; generateMockResultWithSeed(seed: number): BubbleResult<TResult>; protected abstract performAction(context?: BubbleContext): Promise<TResult>; }
861
+ export declare abstract class ServiceBubble<TParams extends ServiceBubbleParams = ServiceBubbleParams, TResult extends BubbleOperationResult = BubbleOperationResult> extends BaseBubble<TParams, TResult> { readonly type: "service"; authType?: 'oauth' | 'apikey' | 'none' | 'connection-string'; constructor(params: unknown, context?: BubbleContext, instanceId?: string); abstract testCredential(): Promise<boolean>; protected abstract chooseCredential(): string | undefined; getCredentialMetadata(): Promise<DatabaseMetadata | undefined>; get currentParams(): Omit<TParams, 'credentials'>; setParam<K extends keyof TParams>(paramName: K, paramValue: TParams[K]): void; get currentContext(): BubbleContext | undefined; }
862
+ export declare class BubbleError extends Error { readonly variableId?: number; readonly bubbleName?: string; constructor(message: string, options?: { variableId?: number; bubbleName?: string; cause?: Error; }); }
863
+ export declare class BubbleValidationError extends BubbleError { readonly validationErrors?: string[]; constructor(message: string, options?: { variableId?: number; bubbleName?: string; validationErrors?: string[]; cause?: Error; }); }
864
+ export declare class BubbleExecutionError extends BubbleError { readonly executionPhase?: 'instantiation' | 'execution' | 'validation'; constructor(message: string, options?: { variableId?: number; bubbleName?: string; executionPhase?: 'instantiation' | 'execution' | 'validation'; cause?: Error; }); }
865
+ export declare enum LogLevel { TRACE = 0, DEBUG = 1, INFO = 2, WARN = 3, ERROR = 4, FATAL = 5 }
866
+ export interface LogEntry { id: string; timestamp: number; level: LogLevel; message: string; metadata: LogMetadata; duration?: number; }
867
+ export interface LogServiceUsage { usage: number; service: CredentialType; unit: string; subService?: string; }
868
+ export interface LogMetadata { flowName: string; variableId?: number; lineNumber?: number; functionName?: string; bubbleName?: string; variableName?: string; operationType?: 'bubble_instantiation' | 'bubble_execution' | 'variable_assignment' | 'condition' | 'loop_iteration' | 'script' | 'bubble_execution_complete' | 'function_call'; memoryUsage?: NodeJS.MemoryUsage; stackTrace?: string; additionalData?: Record<string, unknown>; serviceUsage?: LogServiceUsage; }
869
+ export interface LoggerConfig { minLevel: LogLevel; enableTiming: boolean; enableMemoryTracking: boolean; enableStackTraces: boolean; maxLogEntries: number; bufferSize: number; flushInterval?: number; pricingTable: Record<string, { unit: string; unitCost: number; }>; userCredentialMapping?: Map<number, Set<CredentialType>>; }
870
+ export declare class BubbleLogger { private flowName; private config; private logs; private startTime; private lastLogTime; private executionId; private lineTimings; private lineLogCounts; private peakMemoryUsage?; private buffer; private flushTimer?; cumulativeServiceUsageByService: Map<string, Map<number, { usage: number; service: CredentialType; subService?: string; unit: string; }>>; private bubbleStartTimes; private functionCallStartTimes; private userCredentialMapping?; constructor(flowName: string, config: Partial<Omit<LoggerConfig, 'pricingTable'>> & { pricingTable: Record<string, { unit: string; unitCost: number; }>; }); logLine(lineNumber: number, message: string, additionalData?: Record<string, unknown>): string; protected shouldLogLine(lineNumber: number): boolean; logBubbleInstantiation(variableId: number, bubbleName: string, variableName: string, parameters?: Record<string, unknown>): string; logBubbleExecution(variableId: number, bubbleName: string, variableName: string, parameters?: Record<string, unknown>): string; logBubbleExecutionComplete(variableId: number, bubbleName: string, variableName: string, result?: unknown): string; logVariableAssignment(lineNumber: number, variableName: string, value: unknown): void; logControlFlow(lineNumber: number, type: 'condition' | 'loop_iteration', condition: string, result?: boolean): void; protected getServiceUsageKey(service: LogServiceUsage, unitCost?: number): string; addServiceUsage(serviceUsage: LogServiceUsage, variableId?: number): void; logTokenUsage(serviceUsage: LogServiceUsage, message?: string, metadata?: Partial<LogMetadata>): string; logToolCallStart(toolCallId: string, toolName: string, toolInput: unknown, message?: string): string; logToolCallComplete(toolCallId: string, toolName: string, toolInput: unknown, toolOutput: unknown, duration: number, message?: string): string; logFunctionCallStart(variableId: number, functionName: string, functionInput: unknown, lineNumber?: number): string; logFunctionCallComplete(variableId: number, functionName: string, functionOutput: unknown, duration: number, lineNumber?: number): string; protected getFunctionCallExecutionTime(variableId: number): number; log(level: LogLevel, message: string, metadata?: Partial<LogMetadata>): void; trace(message: string, metadata?: Partial<LogMetadata>): void; debug(message: string, metadata?: Partial<LogMetadata>): void; info(message: string, metadata?: Partial<LogMetadata>): void; warn(message: string, metadata?: Partial<LogMetadata>): void; error(message: string, error?: BubbleError, metadata?: Partial<LogMetadata>): void; fatal(message: string, error?: BubbleError, metadata?: Partial<LogMetadata>): void; flush(): void; getExecutionSummary(): ExecutionSummary; getLogs(): LogEntry[]; getLogsByLevel(level: LogLevel): LogEntry[]; getLogsByLine(lineNumber: number): LogEntry[]; exportLogs(format: 'json' | 'csv' | 'table'): string; dispose(): void; private captureStackTrace; private formatAsTable; protected getBubbleExecutionTime(variableId: number): number; logBrowserSessionStart(_sessionId: string, _sessionUrl: string, _variableId?: number): void; logBrowserSessionEnd(_sessionId: string, _variableId?: number): void; }
871
+ export interface IBubble<TResult extends BubbleOperationResult = BubbleOperationResult> { readonly name: string; readonly schema: z.ZodObject<z.ZodRawShape>; readonly resultSchema: z.ZodObject<z.ZodRawShape>; readonly shortDescription: string; readonly longDescription: string; readonly alias?: string; readonly type: 'service' | 'workflow' | 'tool' | 'ui' | 'infra'; previousResult: BubbleResult<BubbleOperationResult> | undefined; action: () => Promise<BubbleResult<TResult>>; saveResult: <R extends BubbleOperationResult>(result: BubbleResult<R>) => void; clearSavedResult: () => void; generateMockResult: () => BubbleResult<TResult>; generateMockResultWithSeed: (seed: number) => BubbleResult<TResult>; }
872
+ export interface IServiceBubble<TParams extends Record<string, unknown> = Record<string, unknown>, TResult extends BubbleOperationResult = BubbleOperationResult> extends IBubble<TResult> { readonly type: 'service'; authType?: 'oauth' | 'apikey' | 'none' | 'connection-string'; testCredential: () => Promise<boolean>; setParam: <K extends keyof TParams>(paramName: K, paramValue: TParams[K]) => void; getCredentialMetadata: () => Promise<DatabaseMetadata | undefined>; }
873
+ export interface IWorkflowBubble<TResult extends BubbleOperationResult = BubbleOperationResult> extends IBubble<TResult> { readonly type: 'workflow'; }
874
+ export interface IToolBubble<TResult extends BubbleOperationResult = BubbleOperationResult> extends IBubble<TResult> { readonly type: 'tool'; }
875
+ export interface IUIBubble extends IBubble { readonly type: 'ui'; template: string; }
876
+ export interface IInfraBubble extends IBubble { readonly type: 'infra'; provider: 'aws' | 'gcp' | 'supabase'; resourceType: string; }
877
+ export type BubbleFlowOperationResult = unknown; export interface BubbleContext { logger?: BubbleLogger; variableId?: number; invocationCallSiteKey?: string; dependencyGraph?: DependencyGraphNode; currentUniqueId?: string; __uniqueIdCounters__?: Record<string, number>; [key: string]: unknown; }
878
+ export type ServiceBubbleParams<T = unknown> = T & { credentials?: CredentialOptions; retries?: number; }; export declare const ConfluenceSpaceSchema: z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluencePageSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceCommentSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceSearchResultSchema: z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_spaces">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodEnum<["global", "personal"]>>; status: z.ZodOptional<z.ZodEnum<["current", "archived"]>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_spaces"; limit: number; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_spaces"; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_space">; space_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pages">; space_id: z.ZodOptional<z.ZodString>; space_key: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["current", "trashed", "draft"]>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_pages"; limit: number; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }, { operation: "list_pages"; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_page">; page_id: z.ZodString; include_body: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_page"; page_id: string; include_body: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_body?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_page">; space_id: z.ZodOptional<z.ZodString>; space_key: z.ZodOptional<z.ZodString>; title: z.ZodString; body: z.ZodOptional<z.ZodString>; parent_id: z.ZodOptional<z.ZodString>; status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["current", "draft"]>>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; status: "draft" | "current"; operation: "create_page"; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }, { title: string; operation: "create_page"; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; page_id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["current", "draft"]>>; version_message: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_page">; page_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; cql: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { start: number; operation: "search"; limit: number; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "search"; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; start?: number | undefined; limit?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_comment">; page_id: z.ZodString; body: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_comments">; page_id: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_comments"; limit: number; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "get_comments"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>]>; export declare const ConfluenceResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_spaces">; success: z.ZodBoolean; spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_space">; success: z.ZodBoolean; space: z.ZodOptional<z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_space"; space?: z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_space"; space?: z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pages">; success: z.ZodBoolean; pages: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_page"; page?: z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_page"; page?: z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; status?: string | undefined; _links?: z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; status?: string | undefined; _links?: z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; version?: z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; version?: z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_page">; success: z.ZodBoolean; page_id: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; success: z.ZodBoolean; results: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">>; total: z.ZodOptional<z.ZodNumber>; start: z.ZodOptional<z.ZodNumber>; limit: z.ZodOptional<z.ZodNumber>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_comment">; success: z.ZodBoolean; comment: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_comment"; comment?: z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "add_comment"; comment?: z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_comments">; success: z.ZodBoolean; comments: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>]>; export type ConfluenceParams = z.output<typeof ConfluenceParamsSchema>; export type ConfluenceParamsInput = z.input<typeof ConfluenceParamsSchema>; export type ConfluenceResult = z.output<typeof ConfluenceResultSchema>; export type ConfluenceListSpacesParams = Extract<ConfluenceParams, { operation: 'list_spaces'; }>; export type ConfluenceGetSpaceParams = Extract<ConfluenceParams, { operation: 'get_space'; }>; export type ConfluenceListPagesParams = Extract<ConfluenceParams, { operation: 'list_pages'; }>; export type ConfluenceGetPageParams = Extract<ConfluenceParams, { operation: 'get_page'; }>; export type ConfluenceCreatePageParams = Extract<ConfluenceParams, { operation: 'create_page'; }>; export type ConfluenceUpdatePageParams = Extract<ConfluenceParams, { operation: 'update_page'; }>; export type ConfluenceDeletePageParams = Extract<ConfluenceParams, { operation: 'delete_page'; }>; export type ConfluenceSearchParams = Extract<ConfluenceParams, { operation: 'search'; }>; export type ConfluenceAddCommentParams = Extract<ConfluenceParams, { operation: 'add_comment'; }>; export type ConfluenceGetCommentsParams = Extract<ConfluenceParams, { operation: 'get_comments'; }>; export declare class ConfluenceBubble<T extends ConfluenceParamsInput = ConfluenceParamsInput> extends ServiceBubble<T, Extract<ConfluenceResult, { operation: T['operation']; }>> { static readonly type: "service"; static readonly service = "confluence"; static readonly authType: "oauth"; static readonly bubbleName = "confluence"; static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_spaces">; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; cursor: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodEnum<["global", "personal"]>>; status: import("zod").ZodOptional<import("zod").ZodEnum<["current", "archived"]>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_spaces"; limit: number; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_spaces"; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_space">; space_id: import("zod").ZodString; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_pages">; space_id: import("zod").ZodOptional<import("zod").ZodString>; space_key: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodEnum<["current", "trashed", "draft"]>>; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; cursor: import("zod").ZodOptional<import("zod").ZodString>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_pages"; limit: number; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }, { operation: "list_pages"; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_page">; page_id: import("zod").ZodString; include_body: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_page"; page_id: string; include_body: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_body?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_page">; space_id: import("zod").ZodOptional<import("zod").ZodString>; space_key: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodString; body: import("zod").ZodOptional<import("zod").ZodString>; parent_id: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["current", "draft"]>>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { title: string; status: "draft" | "current"; operation: "create_page"; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }, { title: string; operation: "create_page"; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_page">; page_id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodEnum<["current", "draft"]>>; version_message: import("zod").ZodOptional<import("zod").ZodString>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_page">; page_id: import("zod").ZodString; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search">; cql: import("zod").ZodString; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; start: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { start: number; operation: "search"; limit: number; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "search"; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; start?: number | undefined; limit?: number | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_comment">; page_id: import("zod").ZodString; body: import("zod").ZodString; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_comments">; page_id: import("zod").ZodString; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; cursor: import("zod").ZodOptional<import("zod").ZodString>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_comments"; limit: number; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "get_comments"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>]>; static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_spaces">; success: import("zod").ZodBoolean; spaces: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; cursor: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_space">; success: import("zod").ZodBoolean; space: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_space"; space?: import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_space"; space?: import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; description: import("zod").ZodOptional<import("zod").ZodUnknown>; homepageId: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_pages">; success: import("zod").ZodBoolean; pages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; cursor: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_page">; success: import("zod").ZodBoolean; page: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_page"; page?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_page"; page?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; spaceId: import("zod").ZodOptional<import("zod").ZodString>; parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; parentType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>; authorId: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional<import("zod").ZodString>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_page">; success: import("zod").ZodBoolean; page: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; status?: string | undefined; _links?: import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; status?: string | undefined; _links?: import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_page">; success: import("zod").ZodBoolean; page: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough">>>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; version?: import("zod").objectOutputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; version?: import("zod").objectInputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: import("zod").objectOutputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: import("zod").objectInputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_page">; success: import("zod").ZodBoolean; page_id: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search">; success: import("zod").ZodBoolean; results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; total: import("zod").ZodOptional<import("zod").ZodNumber>; start: import("zod").ZodOptional<import("zod").ZodNumber>; limit: import("zod").ZodOptional<import("zod").ZodNumber>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; excerpt: import("zod").ZodOptional<import("zod").ZodString>; url: import("zod").ZodOptional<import("zod").ZodString>; lastModified: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional<import("zod").ZodString>; type: import("zod").ZodOptional<import("zod").ZodString>; title: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodString>; _links: import("zod").ZodOptional<import("zod").ZodObject<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_comment">; success: import("zod").ZodBoolean; comment: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "add_comment"; comment?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "add_comment"; comment?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_comments">; success: import("zod").ZodBoolean; comments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; cursor: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional<import("zod").ZodString>; body: import("zod").ZodOptional<import("zod").ZodObject<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; representation: import("zod").ZodOptional<import("zod").ZodString>; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional<import("zod").ZodObject<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional<import("zod").ZodString>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>]>; static readonly shortDescription = "Confluence integration for wiki pages and content management"; static readonly longDescription = "See bubble documentation for details"; static readonly alias = "confluence"; constructor(params: T, context?: BubbleContext); testCredential(): Promise<boolean>; private parseCredentials; private resolveSpaceKey; private getSpaceId; private makeConfluenceApiRequest; private makeConfluenceV1ApiRequest; protected performAction(context?: BubbleContext): Promise<Extract<ConfluenceResult, { operation: T['operation']; }>>; private listSpaces; private getSpace; private listPages; private getPage; private createPage; private updatePage; private deletePage; private search; private addComment; private getComments; protected chooseCredential(): string | undefined; }
879
+ export declare const ConfluenceSpaceSchema: z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluencePageSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceCommentSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceSearchResultSchema: z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export declare const ConfluenceParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_spaces">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodEnum<["global", "personal"]>>; status: z.ZodOptional<z.ZodEnum<["current", "archived"]>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_spaces"; limit: number; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "list_spaces"; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_space">; space_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_space"; space_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pages">; space_id: z.ZodOptional<z.ZodString>; space_key: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["current", "trashed", "draft"]>>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_pages"; limit: number; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }, { operation: "list_pages"; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_page">; page_id: z.ZodString; include_body: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_page"; page_id: string; include_body: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; include_body?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_page">; space_id: z.ZodOptional<z.ZodString>; space_key: z.ZodOptional<z.ZodString>; title: z.ZodString; body: z.ZodOptional<z.ZodString>; parent_id: z.ZodOptional<z.ZodString>; status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["current", "draft"]>>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; status: "draft" | "current"; operation: "create_page"; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }, { title: string; operation: "create_page"; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; parent_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; page_id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["current", "draft"]>>; version_message: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; body?: string | undefined; version_message?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_page">; page_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "delete_page"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; cql: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; start: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { start: number; operation: "search"; limit: number; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "search"; cql: string; credentials?: Partial<Record<CredentialType, string>> | undefined; start?: number | undefined; limit?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_comment">; page_id: z.ZodString; body: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_comments">; page_id: z.ZodString; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_comments"; limit: number; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; }, { operation: "get_comments"; page_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; }>]>; export declare const ConfluenceResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_spaces">; success: z.ZodBoolean; spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_space">; success: z.ZodBoolean; space: z.ZodOptional<z.ZodObject<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_space"; space?: z.objectOutputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_space"; space?: z.objectInputType<{ id: z.ZodString; key: z.ZodString; name: z.ZodString; type: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodUnknown>; homepageId: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_pages">; success: z.ZodBoolean; pages: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_page"; page?: z.objectOutputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_page"; page?: z.objectInputType<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; spaceId: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>; parentType: z.ZodOptional<z.ZodNullable<z.ZodString>>; authorId: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; message: z.ZodOptional<z.ZodString>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; status?: string | undefined; _links?: z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; status?: string | undefined; _links?: z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"update_page">; success: z.ZodBoolean; page: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; version?: z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; version?: z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: z.objectOutputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: z.objectInputType<{ number: z.ZodNumber; }, z.ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"delete_page">; success: z.ZodBoolean; page_id: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search">; success: z.ZodBoolean; results: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">>; total: z.ZodOptional<z.ZodNumber>; start: z.ZodOptional<z.ZodNumber>; limit: z.ZodOptional<z.ZodNumber>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; excerpt: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; lastModified: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; content: z.ZodOptional<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; title: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; _links: z.ZodOptional<z.ZodObject<{ webui: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ webui: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_comment">; success: z.ZodBoolean; comment: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_comment"; comment?: z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "add_comment"; comment?: z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough"> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_comments">; success: z.ZodBoolean; comments: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>, "many">>; cursor: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: z.objectOutputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: z.objectInputType<{ id: z.ZodString; title: z.ZodOptional<z.ZodString>; body: z.ZodOptional<z.ZodObject<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ storage: z.ZodOptional<z.ZodObject<{ value: z.ZodString; representation: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, z.ZodTypeAny, "passthrough">>>; version: z.ZodOptional<z.ZodObject<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ number: z.ZodNumber; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">>>; createdAt: z.ZodOptional<z.ZodString>; }, z.ZodTypeAny, "passthrough">[] | undefined; }>]>; export type ConfluenceParams = z.output<typeof ConfluenceParamsSchema>; export type ConfluenceParamsInput = z.input<typeof ConfluenceParamsSchema>; export type ConfluenceResult = z.output<typeof ConfluenceResultSchema>; export type ConfluenceListSpacesParams = Extract<ConfluenceParams, { operation: 'list_spaces'; }>; export type ConfluenceGetSpaceParams = Extract<ConfluenceParams, { operation: 'get_space'; }>; export type ConfluenceListPagesParams = Extract<ConfluenceParams, { operation: 'list_pages'; }>; export type ConfluenceGetPageParams = Extract<ConfluenceParams, { operation: 'get_page'; }>; export type ConfluenceCreatePageParams = Extract<ConfluenceParams, { operation: 'create_page'; }>; export type ConfluenceUpdatePageParams = Extract<ConfluenceParams, { operation: 'update_page'; }>; export type ConfluenceDeletePageParams = Extract<ConfluenceParams, { operation: 'delete_page'; }>; export type ConfluenceSearchParams = Extract<ConfluenceParams, { operation: 'search'; }>; export type ConfluenceAddCommentParams = Extract<ConfluenceParams, { operation: 'add_comment'; }>; export type ConfluenceGetCommentsParams = Extract<ConfluenceParams, { operation: 'get_comments'; }>; export declare function markdownToConfluenceStorage(text: string): string; export declare function storageToText(storage: string | undefined | null): string; export declare function enhanceErrorMessage(errorText: string, statusCode: number, statusText: string): string; export interface TestResult { operation: string; success: boolean; details?: string; pageId?: string; error?: string; }
880
+ export interface Output { success: boolean; testResults: TestResult[]; createdPageId?: string; spaceId?: string; summary: string; }
881
+ export type ConfluenceIntegrationTestPayload = WebhookEvent; export declare class ConfluenceIntegrationFlow extends BubbleFlow<'webhook/http'> { handle(_payload: ConfluenceIntegrationTestPayload): Promise<Output>; }
882
+ export declare abstract class BaseBubble<TParams = unknown, TResult extends BubbleOperationResult = BubbleOperationResult> implements IBubble<TResult> { readonly name: string; readonly schema: z.ZodObject<z.ZodRawShape>; readonly resultSchema: z.ZodObject<z.ZodRawShape>; readonly shortDescription: string; readonly longDescription: string; readonly alias?: string; abstract readonly type: 'service' | 'workflow' | 'tool' | 'ui' | 'infra'; protected readonly params: TParams; protected context?: BubbleContext; previousResult: BubbleResult<BubbleOperationResult> | undefined; protected readonly instanceId?: string; constructor(params: unknown, context?: BubbleContext, instanceId?: string); private computeChildContext; saveResult<R extends BubbleOperationResult>(result: BubbleResult<R>): void; clearSavedResult(): void; toJSON(): Record<string, unknown>; action(): Promise<BubbleResult<TResult>>; generateMockResult(): BubbleResult<TResult>; generateMockResultWithSeed(seed: number): BubbleResult<TResult>; protected abstract performAction(context?: BubbleContext): Promise<TResult>; }
883
+ export declare abstract class ServiceBubble<TParams extends ServiceBubbleParams = ServiceBubbleParams, TResult extends BubbleOperationResult = BubbleOperationResult> extends BaseBubble<TParams, TResult> { readonly type: "service"; authType?: 'oauth' | 'apikey' | 'none' | 'connection-string'; constructor(params: unknown, context?: BubbleContext, instanceId?: string); abstract testCredential(): Promise<boolean>; protected abstract chooseCredential(): string | undefined; getCredentialMetadata(): Promise<DatabaseMetadata | undefined>; get currentParams(): Omit<TParams, 'credentials'>; setParam<K extends keyof TParams>(paramName: K, paramValue: TParams[K]): void; get currentContext(): BubbleContext | undefined; }
884
+ export declare class BubbleError extends Error { readonly variableId?: number; readonly bubbleName?: string; constructor(message: string, options?: { variableId?: number; bubbleName?: string; cause?: Error; }); }
885
+ export declare class BubbleValidationError extends BubbleError { readonly validationErrors?: string[]; constructor(message: string, options?: { variableId?: number; bubbleName?: string; validationErrors?: string[]; cause?: Error; }); }
886
+ export declare class BubbleExecutionError extends BubbleError { readonly executionPhase?: 'instantiation' | 'execution' | 'validation'; constructor(message: string, options?: { variableId?: number; bubbleName?: string; executionPhase?: 'instantiation' | 'execution' | 'validation'; cause?: Error; }); }
887
+ export declare enum LogLevel { TRACE = 0, DEBUG = 1, INFO = 2, WARN = 3, ERROR = 4, FATAL = 5 }
888
+ export interface LogEntry { id: string; timestamp: number; level: LogLevel; message: string; metadata: LogMetadata; duration?: number; }
889
+ export interface LogServiceUsage { usage: number; service: CredentialType; unit: string; subService?: string; }
890
+ export interface LogMetadata { flowName: string; variableId?: number; lineNumber?: number; functionName?: string; bubbleName?: string; variableName?: string; operationType?: 'bubble_instantiation' | 'bubble_execution' | 'variable_assignment' | 'condition' | 'loop_iteration' | 'script' | 'bubble_execution_complete' | 'function_call'; memoryUsage?: NodeJS.MemoryUsage; stackTrace?: string; additionalData?: Record<string, unknown>; serviceUsage?: LogServiceUsage; }
891
+ export interface LoggerConfig { minLevel: LogLevel; enableTiming: boolean; enableMemoryTracking: boolean; enableStackTraces: boolean; maxLogEntries: number; bufferSize: number; flushInterval?: number; pricingTable: Record<string, { unit: string; unitCost: number; }>; userCredentialMapping?: Map<number, Set<CredentialType>>; }
892
+ export declare class BubbleLogger { private flowName; private config; private logs; private startTime; private lastLogTime; private executionId; private lineTimings; private lineLogCounts; private peakMemoryUsage?; private buffer; private flushTimer?; cumulativeServiceUsageByService: Map<string, Map<number, { usage: number; service: CredentialType; subService?: string; unit: string; }>>; private bubbleStartTimes; private functionCallStartTimes; private userCredentialMapping?; constructor(flowName: string, config: Partial<Omit<LoggerConfig, 'pricingTable'>> & { pricingTable: Record<string, { unit: string; unitCost: number; }>; }); logLine(lineNumber: number, message: string, additionalData?: Record<string, unknown>): string; protected shouldLogLine(lineNumber: number): boolean; logBubbleInstantiation(variableId: number, bubbleName: string, variableName: string, parameters?: Record<string, unknown>): string; logBubbleExecution(variableId: number, bubbleName: string, variableName: string, parameters?: Record<string, unknown>): string; logBubbleExecutionComplete(variableId: number, bubbleName: string, variableName: string, result?: unknown): string; logVariableAssignment(lineNumber: number, variableName: string, value: unknown): void; logControlFlow(lineNumber: number, type: 'condition' | 'loop_iteration', condition: string, result?: boolean): void; protected getServiceUsageKey(service: LogServiceUsage, unitCost?: number): string; addServiceUsage(serviceUsage: LogServiceUsage, variableId?: number): void; logTokenUsage(serviceUsage: LogServiceUsage, message?: string, metadata?: Partial<LogMetadata>): string; logToolCallStart(toolCallId: string, toolName: string, toolInput: unknown, message?: string): string; logToolCallComplete(toolCallId: string, toolName: string, toolInput: unknown, toolOutput: unknown, duration: number, message?: string): string; logFunctionCallStart(variableId: number, functionName: string, functionInput: unknown, lineNumber?: number): string; logFunctionCallComplete(variableId: number, functionName: string, functionOutput: unknown, duration: number, lineNumber?: number): string; protected getFunctionCallExecutionTime(variableId: number): number; log(level: LogLevel, message: string, metadata?: Partial<LogMetadata>): void; trace(message: string, metadata?: Partial<LogMetadata>): void; debug(message: string, metadata?: Partial<LogMetadata>): void; info(message: string, metadata?: Partial<LogMetadata>): void; warn(message: string, metadata?: Partial<LogMetadata>): void; error(message: string, error?: BubbleError, metadata?: Partial<LogMetadata>): void; fatal(message: string, error?: BubbleError, metadata?: Partial<LogMetadata>): void; flush(): void; getExecutionSummary(): ExecutionSummary; getLogs(): LogEntry[]; getLogsByLevel(level: LogLevel): LogEntry[]; getLogsByLine(lineNumber: number): LogEntry[]; exportLogs(format: 'json' | 'csv' | 'table'): string; dispose(): void; private captureStackTrace; private formatAsTable; protected getBubbleExecutionTime(variableId: number): number; logBrowserSessionStart(_sessionId: string, _sessionUrl: string, _variableId?: number): void; logBrowserSessionEnd(_sessionId: string, _variableId?: number): void; }
893
+ export interface IBubble<TResult extends BubbleOperationResult = BubbleOperationResult> { readonly name: string; readonly schema: z.ZodObject<z.ZodRawShape>; readonly resultSchema: z.ZodObject<z.ZodRawShape>; readonly shortDescription: string; readonly longDescription: string; readonly alias?: string; readonly type: 'service' | 'workflow' | 'tool' | 'ui' | 'infra'; previousResult: BubbleResult<BubbleOperationResult> | undefined; action: () => Promise<BubbleResult<TResult>>; saveResult: <R extends BubbleOperationResult>(result: BubbleResult<R>) => void; clearSavedResult: () => void; generateMockResult: () => BubbleResult<TResult>; generateMockResultWithSeed: (seed: number) => BubbleResult<TResult>; }
894
+ export interface IServiceBubble<TParams extends Record<string, unknown> = Record<string, unknown>, TResult extends BubbleOperationResult = BubbleOperationResult> extends IBubble<TResult> { readonly type: 'service'; authType?: 'oauth' | 'apikey' | 'none' | 'connection-string'; testCredential: () => Promise<boolean>; setParam: <K extends keyof TParams>(paramName: K, paramValue: TParams[K]) => void; getCredentialMetadata: () => Promise<DatabaseMetadata | undefined>; }
895
+ export interface IWorkflowBubble<TResult extends BubbleOperationResult = BubbleOperationResult> extends IBubble<TResult> { readonly type: 'workflow'; }
896
+ export interface IToolBubble<TResult extends BubbleOperationResult = BubbleOperationResult> extends IBubble<TResult> { readonly type: 'tool'; }
897
+ export interface IUIBubble extends IBubble { readonly type: 'ui'; template: string; }
898
+ export interface IInfraBubble extends IBubble { readonly type: 'infra'; provider: 'aws' | 'gcp' | 'supabase'; resourceType: string; }
899
+ export type BubbleFlowOperationResult = unknown; export interface BubbleContext { logger?: BubbleLogger; variableId?: number; invocationCallSiteKey?: string; dependencyGraph?: DependencyGraphNode; currentUniqueId?: string; __uniqueIdCounters__?: Record<string, number>; [key: string]: unknown; }
856
900
  export type ServiceBubbleParams<T = unknown> = T & { credentials?: CredentialOptions; retries?: number; }; export declare const AshbyEmailSchema: z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>; export declare const AshbyPhoneSchema: z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>; export declare const AshbyCustomFieldSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>; export declare const AshbyCandidateSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>; export declare const AshbySocialLinkSchema: z.ZodObject<{ url: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; url: string; }, { type: string; url: string; }>; export declare const AshbyTagSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>; export declare const AshbyFileHandleSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>; export declare const AshbySelectableValueSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodString; isArchived: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; label: string; isArchived: boolean; }, { value: string; label: string; isArchived: boolean; }>; export declare const AshbyCustomFieldDefinitionSchema: z.ZodObject<{ id: z.ZodString; isPrivate: z.ZodBoolean; title: z.ZodString; objectType: z.ZodString; isArchived: z.ZodBoolean; fieldType: z.ZodString; selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{ label: z.ZodString; value: z.ZodString; isArchived: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; label: string; isArchived: boolean; }, { value: string; label: string; isArchived: boolean; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }>; export declare const AshbyCandidateListItemSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{ url: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; url: string; }, { type: string; url: string; }>, "many">>; tags: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; position: z.ZodNullable<z.ZodOptional<z.ZodString>>; company: z.ZodNullable<z.ZodOptional<z.ZodString>>; school: z.ZodNullable<z.ZodOptional<z.ZodString>>; applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; resumeFileHandle: z.ZodNullable<z.ZodOptional<z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>>>; fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>, "many">>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }>; export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_candidates">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["Hired", "Archived", "Active", "Lead"]>>; job_id: z.ZodOptional<z.ZodString>; created_after: z.ZodOptional<z.ZodNumber>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_candidates"; limit: number; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; job_id?: string | undefined; created_after?: number | undefined; }, { operation: "list_candidates"; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; job_id?: string | undefined; created_after?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_candidate">; candidate_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_candidate"; candidate_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_candidate"; candidate_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_candidate">; name: z.ZodString; emails: z.ZodOptional<z.ZodArray<z.ZodObject<{ email: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; }, "strip", z.ZodTypeAny, { type: "Personal" | "Work" | "Other"; email: string; }, { type: "Personal" | "Work" | "Other"; email: string; }>, "many">>; phone_number: z.ZodOptional<z.ZodString>; linkedin_url: z.ZodOptional<z.ZodString>; github_url: z.ZodOptional<z.ZodString>; website: z.ZodOptional<z.ZodString>; source_id: z.ZodOptional<z.ZodString>; credited_to_user_id: z.ZodOptional<z.ZodString>; tag: z.ZodOptional<z.ZodString>; allow_duplicate_linkedin: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "create_candidate"; allow_duplicate_linkedin: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; website?: string | undefined; emails?: { type: "Personal" | "Work" | "Other"; email: string; }[] | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; source_id?: string | undefined; credited_to_user_id?: string | undefined; tag?: string | undefined; }, { name: string; operation: "create_candidate"; credentials?: Partial<Record<CredentialType, string>> | undefined; website?: string | undefined; emails?: { type: "Personal" | "Work" | "Other"; email: string; }[] | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; source_id?: string | undefined; credited_to_user_id?: string | undefined; tag?: string | undefined; allow_duplicate_linkedin?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_candidates">; email: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "search_candidates"; name?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; email?: string | undefined; }, { operation: "search_candidates"; name?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; email?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_tag">; candidate_id: z.ZodString; tag_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "add_tag"; candidate_id: string; tag_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "add_tag"; candidate_id: string; tag_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_tags">; include_archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_tags"; include_archived: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "list_tags"; credentials?: Partial<Record<CredentialType, string>> | undefined; include_archived?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_tag">; title: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; operation: "create_tag"; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { title: string; operation: "create_tag"; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_custom_fields">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; sync_token: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_custom_fields"; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; sync_token?: string | undefined; }, { operation: "list_custom_fields"; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; sync_token?: string | undefined; }>]>; export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_candidates">; success: z.ZodBoolean; candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{ url: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; url: string; }, { type: string; url: string; }>, "many">>; tags: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; position: z.ZodNullable<z.ZodOptional<z.ZodString>>; company: z.ZodNullable<z.ZodOptional<z.ZodString>>; school: z.ZodNullable<z.ZodOptional<z.ZodString>>; applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; resumeFileHandle: z.ZodNullable<z.ZodOptional<z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>>>; fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>, "many">>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }>, "many">>; next_cursor: z.ZodOptional<z.ZodString>; more_data_available: z.ZodOptional<z.ZodBoolean>; sync_token: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_candidates"; next_cursor?: string | undefined; sync_token?: string | undefined; candidates?: { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }[] | undefined; more_data_available?: boolean | undefined; }, { error: string; success: boolean; operation: "list_candidates"; next_cursor?: string | undefined; sync_token?: string | undefined; candidates?: { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }[] | undefined; more_data_available?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_candidate">; success: z.ZodBoolean; candidate: z.ZodOptional<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_candidate">; success: z.ZodBoolean; candidate: z.ZodOptional<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; duplicate: z.ZodOptional<z.ZodBoolean>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; duplicate?: boolean | undefined; }, { error: string; success: boolean; operation: "create_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; duplicate?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_candidates">; success: z.ZodBoolean; candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search_candidates"; candidates?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "search_candidates"; candidates?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_tag">; success: z.ZodBoolean; candidate: z.ZodOptional<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_tag"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "add_tag"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_tags">; success: z.ZodBoolean; tags: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_tags"; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_tags"; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_tag">; success: z.ZodBoolean; tag: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_tag"; tag?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_tag"; tag?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_custom_fields">; success: z.ZodBoolean; custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; isPrivate: z.ZodBoolean; title: z.ZodString; objectType: z.ZodString; isArchived: z.ZodBoolean; fieldType: z.ZodString; selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{ label: z.ZodString; value: z.ZodString; isArchived: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; label: string; isArchived: boolean; }, { value: string; label: string; isArchived: boolean; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }>, "many">>; next_cursor: z.ZodOptional<z.ZodString>; more_data_available: z.ZodOptional<z.ZodBoolean>; sync_token: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_custom_fields"; next_cursor?: string | undefined; sync_token?: string | undefined; more_data_available?: boolean | undefined; custom_fields?: { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_custom_fields"; next_cursor?: string | undefined; sync_token?: string | undefined; more_data_available?: boolean | undefined; custom_fields?: { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }[] | undefined; }>]>; export
857
901
  type AshbyParamsInput = z.input<typeof AshbyParamsSchema>;;;;; export type AshbyParams = z.output<typeof AshbyParamsSchema>; export type AshbyResult = z.output<typeof AshbyResultSchema>; export type AshbyCandidate = z.output<typeof AshbyCandidateSchema>; export type AshbyEmail = z.output<typeof AshbyEmailSchema>; export type AshbyPhone = z.output<typeof AshbyPhoneSchema>; export type AshbyCustomField = z.output<typeof AshbyCustomFieldSchema>; export type AshbyCandidateListItem = z.output<typeof AshbyCandidateListItemSchema>; export type AshbySocialLink = z.output<typeof AshbySocialLinkSchema>; export type AshbyTag = z.output<typeof AshbyTagSchema>; export type AshbyFileHandle = z.output<typeof AshbyFileHandleSchema>; export type AshbySelectableValue = z.output<typeof AshbySelectableValueSchema>; export type AshbyCustomFieldDefinition = z.output<typeof AshbyCustomFieldDefinitionSchema>; export type AshbyListCandidatesParams = Extract<AshbyParams, { operation: 'list_candidates'; }>; export type AshbyGetCandidateParams = Extract<AshbyParams, { operation: 'get_candidate'; }>; export type AshbyCreateCandidateParams = Extract<AshbyParams, { operation: 'create_candidate'; }>; export type AshbySearchCandidatesParams = Extract<AshbyParams, { operation: 'search_candidates'; }>; export type AshbyAddTagParams = Extract<AshbyParams, { operation: 'add_tag'; }>; export type AshbyListTagsParams = Extract<AshbyParams, { operation: 'list_tags'; }>; export type AshbyCreateTagParams = Extract<AshbyParams, { operation: 'create_tag'; }>; export type AshbyListCustomFieldsParams = Extract<AshbyParams, { operation: 'list_custom_fields'; }>; export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput> extends ServiceBubble<T, Extract<AshbyResult, { operation: T['operation']; }>> { static readonly service = "ashby"; static readonly authType: "basic"; static readonly bubbleName: "ashby"; static readonly type: "service"; static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_candidates">; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; cursor: import("zod").ZodOptional<import("zod").ZodString>; status: import("zod").ZodOptional<import("zod").ZodEnum<["Hired", "Archived", "Active", "Lead"]>>; job_id: import("zod").ZodOptional<import("zod").ZodString>; created_after: import("zod").ZodOptional<import("zod").ZodNumber>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_candidates"; limit: number; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; job_id?: string | undefined; created_after?: number | undefined; }, { operation: "list_candidates"; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; job_id?: string | undefined; created_after?: number | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_candidate">; candidate_id: import("zod").ZodString; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_candidate"; candidate_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_candidate"; candidate_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_candidate">; name: import("zod").ZodString; emails: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ email: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; }, "strip", import("zod").ZodTypeAny, { type: "Personal" | "Work" | "Other"; email: string; }, { type: "Personal" | "Work" | "Other"; email: string; }>, "many">>; phone_number: import("zod").ZodOptional<import("zod").ZodString>; linkedin_url: import("zod").ZodOptional<import("zod").ZodString>; github_url: import("zod").ZodOptional<import("zod").ZodString>; website: import("zod").ZodOptional<import("zod").ZodString>; source_id: import("zod").ZodOptional<import("zod").ZodString>; credited_to_user_id: import("zod").ZodOptional<import("zod").ZodString>; tag: import("zod").ZodOptional<import("zod").ZodString>; allow_duplicate_linkedin: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { name: string; operation: "create_candidate"; allow_duplicate_linkedin: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; website?: string | undefined; emails?: { type: "Personal" | "Work" | "Other"; email: string; }[] | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; source_id?: string | undefined; credited_to_user_id?: string | undefined; tag?: string | undefined; }, { name: string; operation: "create_candidate"; credentials?: Partial<Record<CredentialType, string>> | undefined; website?: string | undefined; emails?: { type: "Personal" | "Work" | "Other"; email: string; }[] | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; source_id?: string | undefined; credited_to_user_id?: string | undefined; tag?: string | undefined; allow_duplicate_linkedin?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search_candidates">; email: import("zod").ZodOptional<import("zod").ZodString>; name: import("zod").ZodOptional<import("zod").ZodString>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "search_candidates"; name?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; email?: string | undefined; }, { operation: "search_candidates"; name?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; email?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_tag">; candidate_id: import("zod").ZodString; tag_id: import("zod").ZodString; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "add_tag"; candidate_id: string; tag_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "add_tag"; candidate_id: string; tag_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_tags">; include_archived: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_tags"; include_archived: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "list_tags"; credentials?: Partial<Record<CredentialType, string>> | undefined; include_archived?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_tag">; title: import("zod").ZodString; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { title: string; operation: "create_tag"; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { title: string; operation: "create_tag"; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_custom_fields">; limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>; cursor: import("zod").ZodOptional<import("zod").ZodString>; sync_token: import("zod").ZodOptional<import("zod").ZodString>; credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_custom_fields"; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; sync_token?: string | undefined; }, { operation: "list_custom_fields"; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; sync_token?: string | undefined; }>]>; static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_candidates">; success: import("zod").ZodBoolean; candidates: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; createdAt: import("zod").ZodOptional<import("zod").ZodString>; updatedAt: import("zod").ZodOptional<import("zod").ZodString>; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; emailAddresses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; phoneNumbers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; socialLinks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ url: import("zod").ZodString; type: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { type: string; url: string; }, { type: string; url: string; }>, "many">>; tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; position: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>; company: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>; school: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>; applicationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>; resumeFileHandle: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; name: import("zod").ZodString; handle: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>>>; fileHandles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; name: import("zod").ZodString; handle: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>, "many">>; customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; value: import("zod").ZodUnknown; isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }>, "many">>; next_cursor: import("zod").ZodOptional<import("zod").ZodString>; more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>; sync_token: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_candidates"; next_cursor?: string | undefined; sync_token?: string | undefined; candidates?: { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }[] | undefined; more_data_available?: boolean | undefined; }, { error: string; success: boolean; operation: "list_candidates"; next_cursor?: string | undefined; sync_token?: string | undefined; candidates?: { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }[] | undefined; more_data_available?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_candidate">; success: import("zod").ZodBoolean; candidate: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; createdAt: import("zod").ZodOptional<import("zod").ZodString>; updatedAt: import("zod").ZodOptional<import("zod").ZodString>; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; value: import("zod").ZodUnknown; isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_candidate">; success: import("zod").ZodBoolean; candidate: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; createdAt: import("zod").ZodOptional<import("zod").ZodString>; updatedAt: import("zod").ZodOptional<import("zod").ZodString>; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; value: import("zod").ZodUnknown; isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; duplicate: import("zod").ZodOptional<import("zod").ZodBoolean>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; duplicate?: boolean | undefined; }, { error: string; success: boolean; operation: "create_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; duplicate?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search_candidates">; success: import("zod").ZodBoolean; candidates: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; createdAt: import("zod").ZodOptional<import("zod").ZodString>; updatedAt: import("zod").ZodOptional<import("zod").ZodString>; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; value: import("zod").ZodUnknown; isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "search_candidates"; candidates?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "search_candidates"; candidates?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_tag">; success: import("zod").ZodBoolean; candidate: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; createdAt: import("zod").ZodOptional<import("zod").ZodString>; updatedAt: import("zod").ZodOptional<import("zod").ZodString>; name: import("zod").ZodString; primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{ value: import("zod").ZodString; type: import("zod").ZodEnum<["Personal", "Work", "Other"]>; isPrimary: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; value: import("zod").ZodUnknown; isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "add_tag"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "add_tag"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_tags">; success: import("zod").ZodBoolean; tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_tags"; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_tags"; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_tag">; success: import("zod").ZodBoolean; tag: import("zod").ZodOptional<import("zod").ZodObject<{ id: import("zod").ZodString; title: import("zod").ZodString; isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_tag"; tag?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_tag"; tag?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_custom_fields">; success: import("zod").ZodBoolean; custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ id: import("zod").ZodString; isPrivate: import("zod").ZodBoolean; title: import("zod").ZodString; objectType: import("zod").ZodString; isArchived: import("zod").ZodBoolean; fieldType: import("zod").ZodString; selectableValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{ label: import("zod").ZodString; value: import("zod").ZodString; isArchived: import("zod").ZodBoolean; }, "strip", import("zod").ZodTypeAny, { value: string; label: string; isArchived: boolean; }, { value: string; label: string; isArchived: boolean; }>, "many">>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }>, "many">>; next_cursor: import("zod").ZodOptional<import("zod").ZodString>; more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>; sync_token: import("zod").ZodOptional<import("zod").ZodString>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_custom_fields"; next_cursor?: string | undefined; sync_token?: string | undefined; more_data_available?: boolean | undefined; custom_fields?: { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_custom_fields"; next_cursor?: string | undefined; sync_token?: string | undefined; more_data_available?: boolean | undefined; custom_fields?: { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }[] | undefined; }>]>; static readonly shortDescription = "Ashby ATS integration for candidate management"; static readonly longDescription = "See bubble documentation for details"; static readonly alias = "ashby-ats"; constructor(params?: T, context?: BubbleContext); protected chooseCredential(): string | undefined; testCredential(): Promise<boolean>; protected performAction(context?: BubbleContext): Promise<Extract<AshbyResult, { operation: T['operation']; }>>; private extractErrorMessage; private makeAshbyRequest; private listCandidates; private getCandidate; private normalizeLinkedInUrl; private extractNameFromLinkedInUrl; private findCandidateByLinkedIn; private createCandidate; private searchCandidates; private addTag; private listTags; private createTag; private listCustomFields; }
858
902
  export declare const AshbyEmailSchema: z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>; export declare const AshbyPhoneSchema: z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>; export declare const AshbyCustomFieldSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>; export declare const AshbyCandidateSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>; export declare const AshbySocialLinkSchema: z.ZodObject<{ url: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; url: string; }, { type: string; url: string; }>; export declare const AshbyTagSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>; export declare const AshbyFileHandleSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>; export declare const AshbySelectableValueSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodString; isArchived: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; label: string; isArchived: boolean; }, { value: string; label: string; isArchived: boolean; }>; export declare const AshbyCustomFieldDefinitionSchema: z.ZodObject<{ id: z.ZodString; isPrivate: z.ZodBoolean; title: z.ZodString; objectType: z.ZodString; isArchived: z.ZodBoolean; fieldType: z.ZodString; selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{ label: z.ZodString; value: z.ZodString; isArchived: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; label: string; isArchived: boolean; }, { value: string; label: string; isArchived: boolean; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }>; export declare const AshbyCandidateListItemSchema: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{ url: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; url: string; }, { type: string; url: string; }>, "many">>; tags: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; position: z.ZodNullable<z.ZodOptional<z.ZodString>>; company: z.ZodNullable<z.ZodOptional<z.ZodString>>; school: z.ZodNullable<z.ZodOptional<z.ZodString>>; applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; resumeFileHandle: z.ZodNullable<z.ZodOptional<z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>>>; fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>, "many">>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }>; export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_candidates">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodEnum<["Hired", "Archived", "Active", "Lead"]>>; job_id: z.ZodOptional<z.ZodString>; created_after: z.ZodOptional<z.ZodNumber>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_candidates"; limit: number; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; job_id?: string | undefined; created_after?: number | undefined; }, { operation: "list_candidates"; status?: "Hired" | "Archived" | "Active" | "Lead" | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; job_id?: string | undefined; created_after?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_candidate">; candidate_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_candidate"; candidate_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "get_candidate"; candidate_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_candidate">; name: z.ZodString; emails: z.ZodOptional<z.ZodArray<z.ZodObject<{ email: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; }, "strip", z.ZodTypeAny, { type: "Personal" | "Work" | "Other"; email: string; }, { type: "Personal" | "Work" | "Other"; email: string; }>, "many">>; phone_number: z.ZodOptional<z.ZodString>; linkedin_url: z.ZodOptional<z.ZodString>; github_url: z.ZodOptional<z.ZodString>; website: z.ZodOptional<z.ZodString>; source_id: z.ZodOptional<z.ZodString>; credited_to_user_id: z.ZodOptional<z.ZodString>; tag: z.ZodOptional<z.ZodString>; allow_duplicate_linkedin: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; operation: "create_candidate"; allow_duplicate_linkedin: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; website?: string | undefined; emails?: { type: "Personal" | "Work" | "Other"; email: string; }[] | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; source_id?: string | undefined; credited_to_user_id?: string | undefined; tag?: string | undefined; }, { name: string; operation: "create_candidate"; credentials?: Partial<Record<CredentialType, string>> | undefined; website?: string | undefined; emails?: { type: "Personal" | "Work" | "Other"; email: string; }[] | undefined; phone_number?: string | undefined; linkedin_url?: string | undefined; github_url?: string | undefined; source_id?: string | undefined; credited_to_user_id?: string | undefined; tag?: string | undefined; allow_duplicate_linkedin?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_candidates">; email: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "search_candidates"; name?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; email?: string | undefined; }, { operation: "search_candidates"; name?: string | undefined; credentials?: Partial<Record<CredentialType, string>> | undefined; email?: string | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_tag">; candidate_id: z.ZodString; tag_id: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "add_tag"; candidate_id: string; tag_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "add_tag"; candidate_id: string; tag_id: string; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_tags">; include_archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_tags"; include_archived: boolean; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { operation: "list_tags"; credentials?: Partial<Record<CredentialType, string>> | undefined; include_archived?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_tag">; title: z.ZodString; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { title: string; operation: "create_tag"; credentials?: Partial<Record<CredentialType, string>> | undefined; }, { title: string; operation: "create_tag"; credentials?: Partial<Record<CredentialType, string>> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_custom_fields">; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; cursor: z.ZodOptional<z.ZodString>; sync_token: z.ZodOptional<z.ZodString>; credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_custom_fields"; limit: number; credentials?: Partial<Record<CredentialType, string>> | undefined; cursor?: string | undefined; sync_token?: string | undefined; }, { operation: "list_custom_fields"; credentials?: Partial<Record<CredentialType, string>> | undefined; limit?: number | undefined; cursor?: string | undefined; sync_token?: string | undefined; }>]>; export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"list_candidates">; success: z.ZodBoolean; candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>, "many">>; socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{ url: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { type: string; url: string; }, { type: string; url: string; }>, "many">>; tags: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; position: z.ZodNullable<z.ZodOptional<z.ZodString>>; company: z.ZodNullable<z.ZodOptional<z.ZodString>>; school: z.ZodNullable<z.ZodOptional<z.ZodString>>; applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; resumeFileHandle: z.ZodNullable<z.ZodOptional<z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>>>; fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; handle: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; handle: string; }, { name: string; id: string; handle: string; }>, "many">>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }, { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }>, "many">>; next_cursor: z.ZodOptional<z.ZodString>; more_data_available: z.ZodOptional<z.ZodBoolean>; sync_token: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_candidates"; next_cursor?: string | undefined; sync_token?: string | undefined; candidates?: { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }[] | undefined; more_data_available?: boolean | undefined; }, { error: string; success: boolean; operation: "list_candidates"; next_cursor?: string | undefined; sync_token?: string | undefined; candidates?: { name: string; id: string; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; emailAddresses?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; phoneNumbers?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }[] | undefined; socialLinks?: { type: string; url: string; }[] | undefined; position?: string | null | undefined; company?: string | null | undefined; school?: string | null | undefined; applicationIds?: string[] | undefined; resumeFileHandle?: { name: string; id: string; handle: string; } | null | undefined; fileHandles?: { name: string; id: string; handle: string; }[] | undefined; }[] | undefined; more_data_available?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_candidate">; success: z.ZodBoolean; candidate: z.ZodOptional<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_candidate">; success: z.ZodBoolean; candidate: z.ZodOptional<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; duplicate: z.ZodOptional<z.ZodBoolean>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; duplicate?: boolean | undefined; }, { error: string; success: boolean; operation: "create_candidate"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; duplicate?: boolean | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"search_candidates">; success: z.ZodBoolean; candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search_candidates"; candidates?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "search_candidates"; candidates?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"add_tag">; success: z.ZodBoolean; candidate: z.ZodOptional<z.ZodObject<{ id: z.ZodString; createdAt: z.ZodOptional<z.ZodString>; updatedAt: z.ZodOptional<z.ZodString>; name: z.ZodString; primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{ value: z.ZodString; type: z.ZodEnum<["Personal", "Work", "Other"]>; isPrimary: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }, { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; }>>>; customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; value: z.ZodUnknown; isPrivate: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }, { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }, { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "add_tag"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }, { error: string; success: boolean; operation: "add_tag"; candidate?: { name: string; id: string; createdAt?: string | undefined; updatedAt?: string | undefined; primaryEmailAddress?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; primaryPhoneNumber?: { value: string; type: "Personal" | "Work" | "Other"; isPrimary: boolean; } | null | undefined; customFields?: { title: string; id: string; value?: unknown; isPrivate?: boolean | undefined; }[] | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_tags">; success: z.ZodBoolean; tags: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_tags"; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_tags"; tags?: { title: string; id: string; isArchived?: boolean | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"create_tag">; success: z.ZodBoolean; tag: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; isArchived: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { title: string; id: string; isArchived?: boolean | undefined; }, { title: string; id: string; isArchived?: boolean | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "create_tag"; tag?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_tag"; tag?: { title: string; id: string; isArchived?: boolean | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_custom_fields">; success: z.ZodBoolean; custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; isPrivate: z.ZodBoolean; title: z.ZodString; objectType: z.ZodString; isArchived: z.ZodBoolean; fieldType: z.ZodString; selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{ label: z.ZodString; value: z.ZodString; isArchived: z.ZodBoolean; }, "strip", z.ZodTypeAny, { value: string; label: string; isArchived: boolean; }, { value: string; label: string; isArchived: boolean; }>, "many">>; }, "strip", z.ZodTypeAny, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }, { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }>, "many">>; next_cursor: z.ZodOptional<z.ZodString>; more_data_available: z.ZodOptional<z.ZodBoolean>; sync_token: z.ZodOptional<z.ZodString>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_custom_fields"; next_cursor?: string | undefined; sync_token?: string | undefined; more_data_available?: boolean | undefined; custom_fields?: { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_custom_fields"; next_cursor?: string | undefined; sync_token?: string | undefined; more_data_available?: boolean | undefined; custom_fields?: { title: string; id: string; isPrivate: boolean; isArchived: boolean; objectType: string; fieldType: string; selectableValues?: { value: string; label: string; isArchived: boolean; }[] | undefined; }[] | undefined; }>]>; export type AshbyParamsInput = z.input<typeof AshbyParamsSchema>; export type AshbyParams = z.output<typeof AshbyParamsSchema>; export type AshbyResult = z.output<typeof AshbyResultSchema>; export type AshbyCandidate = z.output<typeof AshbyCandidateSchema>; export type AshbyEmail = z.output<typeof AshbyEmailSchema>; export type AshbyPhone = z.output<typeof AshbyPhoneSchema>; export type AshbyCustomField = z.output<typeof AshbyCustomFieldSchema>; export type AshbyCandidateListItem = z.output<typeof AshbyCandidateListItemSchema>; export type AshbySocialLink = z.output<typeof AshbySocialLinkSchema>; export type AshbyTag = z.output<typeof AshbyTagSchema>; export type AshbyFileHandle = z.output<typeof AshbyFileHandleSchema>; export type AshbySelectableValue = z.output<typeof AshbySelectableValueSchema>; export type AshbyCustomFieldDefinition = z.output<typeof AshbyCustomFieldDefinitionSchema>; export type AshbyListCandidatesParams = Extract<AshbyParams, { operation: 'list_candidates'; }>; export type AshbyGetCandidateParams = Extract<AshbyParams, { operation: 'get_candidate'; }>; export type AshbyCreateCandidateParams = Extract<AshbyParams, { operation: 'create_candidate'; }>; export type AshbySearchCandidatesParams = Extract<AshbyParams, { operation: 'search_candidates'; }>; export type AshbyAddTagParams = Extract<AshbyParams, { operation: 'add_tag'; }>; export type AshbyListTagsParams = Extract<AshbyParams, { operation: 'list_tags'; }>; export type AshbyCreateTagParams = Extract<AshbyParams, { operation: 'create_tag'; }>; export type AshbyListCustomFieldsParams = Extract<AshbyParams, { operation: 'list_custom_fields'; }>; export declare abstract class BaseBubble<TParams = unknown, TResult extends BubbleOperationResult = BubbleOperationResult> implements IBubble<TResult> { readonly name: string; readonly schema: z.ZodObject<z.ZodRawShape>; readonly resultSchema: z.ZodObject<z.ZodRawShape>; readonly shortDescription: string; readonly longDescription: string; readonly alias?: string; abstract readonly type: 'service' | 'workflow' | 'tool' | 'ui' | 'infra'; protected readonly params: TParams; protected context?: BubbleContext; previousResult: BubbleResult<BubbleOperationResult> | undefined; protected readonly instanceId?: string; constructor(params: unknown, context?: BubbleContext, instanceId?: string); private computeChildContext; saveResult<R extends BubbleOperationResult>(result: BubbleResult<R>): void; clearSavedResult(): void; toJSON(): Record<string, unknown>; action(): Promise<BubbleResult<TResult>>; generateMockResult(): BubbleResult<TResult>; generateMockResultWithSeed(seed: number): BubbleResult<TResult>; protected abstract performAction(context?: BubbleContext): Promise<TResult>; }