mono/packages/commons/dist/variables.d.cts
2025-01-28 13:42:27 +01:00

15 lines
669 B
TypeScript

declare const DATE_VARS: () => {
YYYY: number;
MM: number;
DD: number;
HH: number;
SS: number;
};
declare const _substitute: (template: any, map: Record<string, any>, keep?: boolean, alt?: boolean) => any;
declare const substitute: (alt: boolean, template: string, vars?: Record<string, any>, keep?: boolean) => any;
declare const DEFAULT_VARS: (vars: any) => any;
declare const resolveVariables: (_path: string, alt?: boolean, vars?: Record<string, string>) => any;
declare const resolve: (_path: string, alt?: boolean, vars?: Record<string, string>) => any;
export { DATE_VARS, DEFAULT_VARS, _substitute, resolve, resolveVariables, substitute };