/** * Wraps words of given text to match given char width, using given indentation * * @param {string} text * @param {number} width * @param {string} indent * @return {string} */ export declare function wrap(text: string, width?: number, indent?: string): string; /** * Checks if a git command available. If no - throws an error * * @throws Error */ export declare function checkGit(): void; /** * Load @imqueue templates from templates git repository * * @return {Promise} */ export declare function loadTemplates(ref?: string): Promise; /** * Updates local copy of templates repo from remote source * * @return {Promise} */ export declare function updateTemplates(ref?: string): Promise; /** * Loads a custom template from a given git repository into a local cache. The * cache directory is namespaced by a hash of the URL so two different repos * that share a basename (e.g. two `template.git`) never collide. When a cached * copy exists it is reused; the "fetch again?" prompt is only offered in an * interactive session (a non-TTY run silently reuses the cache rather than * hanging or crashing at pipeline time). * * @param {string} url * @param {boolean} [interactive] - whether the re-fetch prompt may be shown * @return {Promise} */ export declare function loadTemplate(url: string, interactive?: boolean): Promise;