n8n
Version:
n8n Workflow Automation Tool
12 lines (11 loc) • 535 B
TypeScript
import { type ICredentialType, type ICredentialTypes } from 'n8n-workflow';
import { LoadNodesAndCredentials } from './LoadNodesAndCredentials';
export declare class CredentialTypes implements ICredentialTypes {
private loadNodesAndCredentials;
constructor(loadNodesAndCredentials: LoadNodesAndCredentials);
recognizes(type: string): boolean;
getByName(credentialType: string): ICredentialType;
getSupportedNodes(type: string): string[];
getParentTypes(typeName: string): string[];
private getCredential;
}