import type { User } from '@n8n/db'; import z from 'zod'; import type { CredentialsService } from '../../../credentials/credentials.service'; import type { Telemetry } from '../../../telemetry'; import type { ToolDefinition } from '../mcp.types'; declare const inputSchema: { limit: z.ZodOptional; query: z.ZodOptional; type: z.ZodOptional; projectId: z.ZodOptional; onlySharedWithMe: z.ZodOptional; }; export type ListCredentialsParams = { limit?: number; query?: string; type?: string; projectId?: string; onlySharedWithMe?: boolean; }; export type ListCredentialsItem = { id: string; name: string; type: string; scopes: string[]; isManaged: boolean; isGlobal: boolean; homeProject: { id: string; name: string; type: string; } | null; }; export type ListCredentialsResult = { data: ListCredentialsItem[]; count: number; error?: string; }; export declare const createListCredentialsTool: (user: User, credentialsService: CredentialsService, telemetry: Telemetry) => ToolDefinition; export declare function listCredentials(user: User, credentialsService: CredentialsService, { limit, query, type, projectId, onlySharedWithMe }: ListCredentialsParams): Promise; export {};