import * as _ from "lodash"; export default class Vars { static templateSettings: _.TemplateOptions; /** * interpolate `ctx` parameters into `source` string */ static $: (source: string, ctx: any) => string; /** * recursively interpolate `ctx` parameters into `source` */ static $$: (source: any, ctx: any) => any; static resolve_externals: (config: any) => any; static resolve: (template: any, fields: any) => any; static humanize: (txt: string) => any; static capitalize: (text: any) => any; static sanitize(txt: string, subst?: string): string; static findNamed(scope: any, name: any): any; static find(scope: any, name: any): any; static split(s: any): any; static get(o: any, s: any): any; static set(o: any, s: any, v: any): any; static env(prefix: string, config: any, env: any): any; static redact(model: any, fields: []): any; static clean(mess: any): any; static tail(str: string, char: string): string; static load(filename: string): any; /** * compute intersection of two array * * @param a * @param b */ static intersect(a: any, b: any): any; static decycle: (object: any) => any; static toBoolean(value: any): boolean; static typeof(value: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "array"; }