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 ListAirtableTablesToolParamsSchema: z.ZodObject<{ baseId: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { baseId: string; credentials?: Partial> | undefined; }, { baseId: string; credentials?: Partial> | undefined; }>; type ListAirtableTablesToolParamsInput = z.input; type ListAirtableTablesToolParams = z.output; declare const ListAirtableTablesToolResultSchema: z.ZodObject<{ baseId: z.ZodOptional; baseName: z.ZodOptional; tables: z.ZodOptional; fields: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; description?: string | undefined; fields?: { type: string; name: string; id: string; }[] | undefined; }, { name: string; id: string; description?: string | undefined; fields?: { type: string; name: string; id: string; }[] | undefined; }>, "many">>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; tables?: { name: string; id: string; description?: string | undefined; fields?: { type: string; name: string; id: string; }[] | undefined; }[] | undefined; baseId?: string | undefined; baseName?: string | undefined; }, { error: string; success: boolean; tables?: { name: string; id: string; description?: string | undefined; fields?: { type: string; name: string; id: string; }[] | undefined; }[] | undefined; baseId?: string | undefined; baseName?: string | undefined; }>; type ListAirtableTablesToolResult = z.output; /** * Tool to list tables in an Airtable base. * Used by AI to help users configure Airtable triggers for specific tables. */ export declare class ListAirtableTablesTool extends ToolBubble { static readonly type: "tool"; static readonly bubbleName = "list-airtable-tables-tool"; static readonly schema: z.ZodObject<{ baseId: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { baseId: string; credentials?: Partial> | undefined; }, { baseId: string; credentials?: Partial> | undefined; }>; static readonly resultSchema: z.ZodObject<{ baseId: z.ZodOptional; baseName: z.ZodOptional; tables: z.ZodOptional; fields: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { name: string; id: string; description?: string | undefined; fields?: { type: string; name: string; id: string; }[] | undefined; }, { name: string; id: string; description?: string | undefined; fields?: { type: string; name: string; id: string; }[] | undefined; }>, "many">>; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; tables?: { name: string; id: string; description?: string | undefined; fields?: { type: string; name: string; id: string; }[] | undefined; }[] | undefined; baseId?: string | undefined; baseName?: string | undefined; }, { error: string; success: boolean; tables?: { name: string; id: string; description?: string | undefined; fields?: { type: string; name: string; id: string; }[] | undefined; }[] | undefined; baseId?: string | undefined; baseName?: string | undefined; }>; static readonly shortDescription = "Lists tables in an Airtable base for trigger configuration"; static readonly longDescription = "\n A tool that retrieves all tables in a specific Airtable base.\n\n Use this tool when:\n - User wants to set up an Airtable trigger for a specific table\n - User mentions a table name and you need to find its ID\n - You need to show the user what tables are available in their base\n\n Returns:\n - List of tables with their IDs, names, descriptions, and field information\n\n Requires:\n - AIRTABLE_OAUTH credential to be connected\n - A valid baseId (use list-airtable-bases-tool first)\n "; static readonly alias = "airtable-tables"; constructor(params: ListAirtableTablesToolParamsInput, context?: BubbleContext); performAction(context?: BubbleContext): Promise; } export {}; //# sourceMappingURL=list-airtable-tables-tool.d.ts.map