// AUTO-GENERATED: do not modify this file directly.
// If you need to make changes, modify generate-fp.ts (if necessary), then open a terminal in types/lodash/scripts, and do:
// npm run fp

import _ = require("../index");

type Template =
    /**
     * Creates a compiled template function that can interpolate data properties in "interpolate" delimiters,
     * HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate"
     * delimiters. Data properties may be accessed as free variables in the template. If a setting object is
     * provided it takes precedence over _.templateSettings values.
     *
     * Note: In the development build _.template utilizes
     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier
     * debugging.
     *
     * For more information on precompiling templates see
     * [lodash's custom builds documentation](https://lodash.com/custom-builds).
     *
     * For more information on Chrome extension sandboxes see
     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).
     *
     * @param string The template string.
     * @param options The options object.
     * @param options.escape The HTML "escape" delimiter.
     * @param options.evaluate The "evaluate" delimiter.
     * @param options.imports An object to import into the template as free variables.
     * @param options.interpolate The "interpolate" delimiter.
     * @param options.sourceURL The sourceURL of the template's compiled source.
     * @param options.variable The data object variable name.
     * @return Returns the compiled template function.
     */
    (string: string) => _.TemplateExecutor;

declare const template: Template;
export = template;
