import { z } from 'zod'; import { ToolBubble } from '../../types/tool-bubble-class.js'; import type { BubbleContext } from '../../types/bubble.js'; import { CredentialType } from '@bubblelab/shared-schemas'; declare const GetBubbleDetailsToolParamsSchema: z.ZodObject<{ bubbleName: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; config: z.ZodOptional; includeInputSchema: z.ZodOptional; }, "strip", z.ZodTypeAny, { includeLongDescription?: boolean | undefined; includeInputSchema?: boolean | undefined; }, { includeLongDescription?: boolean | undefined; includeInputSchema?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { bubbleName: string; credentials?: Partial> | undefined; config?: { includeLongDescription?: boolean | undefined; includeInputSchema?: boolean | undefined; } | undefined; }, { bubbleName: string; credentials?: Partial> | undefined; config?: { includeLongDescription?: boolean | undefined; includeInputSchema?: boolean | undefined; } | undefined; }>; type GetBubbleDetailsToolParamsInput = z.input; type GetBubbleDetailsToolParams = z.output; type GetBubbleDetailsToolResult = z.output; declare const GetBubbleDetailsToolResultSchema: z.ZodObject<{ name: z.ZodString; alias: z.ZodOptional; longDescription: z.ZodOptional; inputSchema: z.ZodOptional; outputSchema: z.ZodString; usageExample: z.ZodString; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; error: string; success: boolean; outputSchema: string; usageExample: string; alias?: string | undefined; longDescription?: string | undefined; inputSchema?: string | undefined; }, { name: string; error: string; success: boolean; outputSchema: string; usageExample: string; alias?: string | undefined; longDescription?: string | undefined; inputSchema?: string | undefined; }>; export declare class GetBubbleDetailsTool extends ToolBubble { static readonly type: "tool"; static readonly bubbleName = "get-bubble-details-tool"; static readonly schema: z.ZodObject<{ bubbleName: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; config: z.ZodOptional; includeInputSchema: z.ZodOptional; }, "strip", z.ZodTypeAny, { includeLongDescription?: boolean | undefined; includeInputSchema?: boolean | undefined; }, { includeLongDescription?: boolean | undefined; includeInputSchema?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { bubbleName: string; credentials?: Partial> | undefined; config?: { includeLongDescription?: boolean | undefined; includeInputSchema?: boolean | undefined; } | undefined; }, { bubbleName: string; credentials?: Partial> | undefined; config?: { includeLongDescription?: boolean | undefined; includeInputSchema?: boolean | undefined; } | undefined; }>; static readonly resultSchema: z.ZodObject<{ name: z.ZodString; alias: z.ZodOptional; longDescription: z.ZodOptional; inputSchema: z.ZodOptional; outputSchema: z.ZodString; usageExample: z.ZodString; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; error: string; success: boolean; outputSchema: string; usageExample: string; alias?: string | undefined; longDescription?: string | undefined; inputSchema?: string | undefined; }, { name: string; error: string; success: boolean; outputSchema: string; usageExample: string; alias?: string | undefined; longDescription?: string | undefined; inputSchema?: string | undefined; }>; static readonly shortDescription = "Provides detailed information about a specific bubble, including schema, parameters, and documentation"; static readonly longDescription = "\n A tool bubble that retrieves comprehensive information about any registered bubble in the system.\n \n Returns detailed information including:\n - Complete schema with parameter types and descriptions\n - Result schema for expected outputs\n - Credential requirements\n - AI-formatted documentation\n - Usage examples\n \n Use cases:\n - AI agent understanding of specific bubble capabilities\n - Parameter validation before bubble instantiation\n - Documentation generation and help systems\n - Dynamic form generation for bubble configuration\n "; static readonly alias = "details"; private factory; constructor(params: GetBubbleDetailsToolParamsInput, context?: BubbleContext); performAction(context?: BubbleContext): Promise; private generateOutputSchemaString; private generateTypeInfo; private generateUsageExample; private isDiscriminatedUnion; private generateOperationExamples; private generateSingleExample; private formatOperationComment; private getResultSchemaOption; private getFirstResultSchemaOption; /** * Extracts the description from a Zod schema type */ private getParameterDescription; private generateExampleParams; private generateExampleValue; /** * Checks if a key represents a credential parameter that should be omitted from examples */ private isCredentialKey; private toCamelCase; private toPascalCase; } export {}; //# sourceMappingURL=get-bubble-details-tool.d.ts.map