@grouparoo/core
Version:
The Grouparoo Core
12 lines (11 loc) • 662 B
TypeScript
import { AnyConfigurationObject } from "../classes/codeConfig";
export declare namespace MustacheUtils {
interface MustacheArgs {
[key: string]: any;
}
function strictlyRender(string: string, data: MustacheArgs, errorPrefix?: string, allowNull?: boolean): string;
function render(string: string, data: MustacheArgs): string;
function validateMustacheVariables(string: string, data: MustacheArgs, errorPrefix?: string, allowNull?: boolean): void;
function getMustacheVariables(string: string): string[];
function getMustacheVariablesAsPropertyIds(string: string, configObjects?: AnyConfigurationObject[]): Promise<string[]>;
}