import { z } from 'zod'; import { ToolBubble } from '../../types/tool-bubble-class.js'; import type { BubbleContext } from '../../types/bubble.js'; declare const ListCapabilitiesToolParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type ListCapabilitiesToolParamsInput = z.input; type ListCapabilitiesToolParams = z.output; type ListCapabilitiesToolResult = z.output; declare const ListCapabilitiesToolResultSchema: z.ZodObject<{ capabilities: z.ZodArray; requiredCredentials: z.ZodArray; optionalCredentials: z.ZodOptional>; inputs: z.ZodArray, "many">; tools: z.ZodArray, "many">; delegationHint: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; name: string; tools: { description: string; name: string; }[]; id: string; inputs: { description: string; name: string; }[]; requiredCredentials: string[]; category?: string | undefined; optionalCredentials?: string[] | undefined; delegationHint?: string | undefined; }, { description: string; name: string; tools: { description: string; name: string; }[]; id: string; inputs: { description: string; name: string; }[]; requiredCredentials: string[]; category?: string | undefined; optionalCredentials?: string[] | undefined; delegationHint?: string | undefined; }>, "many">; totalCount: z.ZodNumber; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; capabilities: { description: string; name: string; tools: { description: string; name: string; }[]; id: string; inputs: { description: string; name: string; }[]; requiredCredentials: string[]; category?: string | undefined; optionalCredentials?: string[] | undefined; delegationHint?: string | undefined; }[]; totalCount: number; }, { error: string; success: boolean; capabilities: { description: string; name: string; tools: { description: string; name: string; }[]; id: string; inputs: { description: string; name: string; }[]; requiredCredentials: string[]; category?: string | undefined; optionalCredentials?: string[] | undefined; delegationHint?: string | undefined; }[]; totalCount: number; }>; export declare class ListCapabilitiesTool extends ToolBubble { static readonly bubbleName = "list-capabilities-tool"; static readonly schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; static readonly resultSchema: z.ZodObject<{ capabilities: z.ZodArray; requiredCredentials: z.ZodArray; optionalCredentials: z.ZodOptional>; inputs: z.ZodArray, "many">; tools: z.ZodArray, "many">; delegationHint: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; name: string; tools: { description: string; name: string; }[]; id: string; inputs: { description: string; name: string; }[]; requiredCredentials: string[]; category?: string | undefined; optionalCredentials?: string[] | undefined; delegationHint?: string | undefined; }, { description: string; name: string; tools: { description: string; name: string; }[]; id: string; inputs: { description: string; name: string; }[]; requiredCredentials: string[]; category?: string | undefined; optionalCredentials?: string[] | undefined; delegationHint?: string | undefined; }>, "many">; totalCount: z.ZodNumber; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; capabilities: { description: string; name: string; tools: { description: string; name: string; }[]; id: string; inputs: { description: string; name: string; }[]; requiredCredentials: string[]; category?: string | undefined; optionalCredentials?: string[] | undefined; delegationHint?: string | undefined; }[]; totalCount: number; }, { error: string; success: boolean; capabilities: { description: string; name: string; tools: { description: string; name: string; }[]; id: string; inputs: { description: string; name: string; }[]; requiredCredentials: string[]; category?: string | undefined; optionalCredentials?: string[] | undefined; delegationHint?: string | undefined; }[]; totalCount: number; }>; static readonly shortDescription = "Lists all available capabilities that can be attached to AI agents"; static readonly longDescription = "\n A tool that lists all registered capabilities \u2014 pre-built skill packs for AIAgentBubble.\n\n Capabilities bundle tools, system prompts, credential requirements, and user inputs\n into a declarative config that can be attached to AI agents.\n\n Returns information about each capability including:\n - ID, name, description, and category\n - Required and optional credentials\n - User-configurable inputs\n - Tools provided by the capability\n - Delegation hint for when to use\n\n Use cases:\n - Discovering available capabilities before building AI agent workflows\n - Checking if a pre-built capability exists instead of manually wiring tools\n - Understanding what credentials and inputs a capability needs\n "; static readonly alias = "list-caps"; static readonly type = "tool"; constructor(params?: ListCapabilitiesToolParamsInput, context?: BubbleContext); performAction(context?: BubbleContext): Promise; } export {}; //# sourceMappingURL=list-capabilities-tool.d.ts.map