reports/frontend/node_modules/es-toolkit/dist/compat/string/template.d.ts
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

30 lines
No EOL
762 B
TypeScript

import { escape } from "./escape.js";
//#region src/compat/string/template.d.ts
declare const templateSettings: {
escape: RegExp;
evaluate: RegExp;
interpolate: RegExp;
variable: string;
imports: {
_: {
escape: typeof escape;
template: typeof template;
};
};
};
interface TemplateOptions {
escape?: RegExp | null | undefined;
evaluate?: RegExp | null | undefined;
interpolate?: RegExp | null | undefined;
variable?: string | undefined;
imports?: Record<string, any> | undefined;
sourceURL?: string;
}
interface TemplateExecutor {
(data?: object): string;
source: string;
}
declare function template(string?: string, options?: TemplateOptions): TemplateExecutor;
//#endregion
export { template, templateSettings };