/**
 * Returns full path to config file
 * For example - /home/user/config_folder/rdplibconfig.json - for NodeJS
 * /rdplibconfig.json - for a browser
 * @param {string} env Value of env variable RDPLIB_ENV
 * @param {string} dir Folder contains configuration files
 * @param {string} ext Config file extension (json,....)
 */
export declare function getConfigFilePath(env?: string, dir?: string, ext?: string): string;
/**
 * Returns JSON with replaced string templates to appropriate values
 * If there are multiple references from template-to-template
 * file will be parsed recursively until all possible templates will be resolved
 * In case a template can't be resolved or does not exist - it leaves as is as string
 * @param {string} jsonAsString Source to be analyzed for replacing
 * @param {RegExp} search Regex to search for in the source file
 */
export declare function replaceConfigTemplates(jsonAsString: string, search?: RegExp): object;
