osr-mono/packages/osr-commons/variables.d.ts
2025-01-29 17:48:22 +01:00

13 lines
622 B
TypeScript

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