/** * Fill the string template with arguments. * @param {string} template The string template. Parameters are marked by * a colon. So '/resource/:id/action' has one * parameter that is 'id'. * @param {dict} args Values for the parameters. * @return {string} The string result by filling in the arguments to * the paramter slots. Parameters without arguments * will be left in their original state. E.g. * '/resource/:id/action/:extra' with argument of * {id: 1} will return '/resource/1/action/:extra'. */ export declare function fillString(template: string, args: { [key: string]: any; }): string; /** * Get the parameter names in the template string. * @param {string} template The template string format is the same as * fillString function. * @return {string[]} The parameter names with the colon stripped off. */ export declare function getStringParams(template: string): string[]; export declare function buildQueryString(params: { [key: string]: any; }): string;