UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

8 lines (7 loc) 359 B
import type { CreateCheckFn, GuardrailResult } from '../types'; export type SecretKeysConfig = { threshold: 'strict' | 'balanced' | 'permissive'; customRegex?: string[]; }; export declare const secretKeysCheck: (data: string, config: SecretKeysConfig) => GuardrailResult; export declare const createSecretKeysCheckFn: CreateCheckFn<SecretKeysConfig>;