import type { User } from '@n8n/db'; import z from 'zod'; import type { CredentialsService } from '../../../credentials/credentials.service'; import type { AiGatewayService } from '../../../services/ai-gateway.service'; import type { Telemetry } from '../../../telemetry'; import type { N8nConnectCoverage, ToolDefinition } from '../mcp.types'; declare const inputSchema: { limit: z.ZodOptional; query: z.ZodOptional; type: z.ZodOptional; projectId: z.ZodOptional; onlySharedWithMe: z.ZodOptional; }; declare const outputSchema: { data: z.ZodArray; scopes: z.ZodArray; isManaged: z.ZodBoolean; isGlobal: z.ZodBoolean; homeProject: z.ZodNullable>; }, "strip", z.ZodTypeAny, { id: string; name: string; type: string; description: string | null; scopes: string[]; isManaged: boolean; isGlobal: boolean; homeProject: { id: string; name: string; type: string; } | null; }, { id: string; name: string; type: string; description: string | null; scopes: string[]; isManaged: boolean; isGlobal: boolean; homeProject: { id: string; name: string; type: string; } | null; }>, "many">; count: z.ZodNumber; gatewayCredits: z.ZodOptional; nodes: z.ZodArray; }, "strip", z.ZodTypeAny, { credentialTypes: string[]; nodes: string[]; }, { credentialTypes: string[]; nodes: string[]; }>>; error: z.ZodOptional; }; export type ListCredentialsParams = { limit?: number; query?: string; type?: string; projectId?: string; onlySharedWithMe?: boolean; }; export type ListCredentialsItem = z.infer[number]; export type ListCredentialsResult = { data: ListCredentialsItem[]; count: number; gatewayCredits?: N8nConnectCoverage; error?: string; }; export declare const createListCredentialsTool: (user: User, credentialsService: CredentialsService, telemetry: Telemetry, aiGatewayService: AiGatewayService) => ToolDefinition; export declare function listCredentials(user: User, credentialsService: CredentialsService, { limit, query, type, projectId, onlySharedWithMe }: ListCredentialsParams): Promise; export {};