import { Report, Check, Step } from './types'; declare class Provider { name: any; utilities: any; vars: any; report: any; evaluation: any; value: any; constructor(name: string); /** * @internal * Compiled string with variables and environment variables * * @remarks * Using lodash template * * @param str Parsed string with template parameters * @param vars Variables object * @return Compiled string with variables injected */ static compile(str: string, vars?: {}): string; /** * @internal * List files in a folder * * @param path Path to folder * @param filterRegex Regex match to filter files list * @return List of files */ static listChecks(path: string, filterRegex?: string[]): string[]; /** * @internal * Read check file * * @param path Path to check file [json/yml/yaml] * @return Check object */ static readCheck(path: string): any; static evaluateReports(reports: any, { failOn, failOnValue }: { failOn?: string; failOnValue?: string; }): 1 | 0; /** * @internal * Set vars to expose them to the check {@link compile} * * @param path Path to check file [json/yml/yaml] * @return Check object */ setVars(vars: any): void; evaluate(): void; evaluateUtility(utility: any, value: any, utilityProps?: never[]): any; getPath(data: any, path: any, parser: any): any; evaluateValue(value: any, step: any): any; evaluateStep(data: any, step: Step, check: Check): any; evaluateCondition(condition: string, value: any, checkValue: any): any; evaluateChecks(data: any, checks: Check[]): Report; } export default Provider;