resuml 1.3.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts DELETED
@@ -1,55 +0,0 @@
1
- #!/usr/bin/env node
2
- import { Command } from 'commander';
3
- import { R as ResumeSchema } from './loadResume-BFCirLAW.js';
4
- export { l as loadResumeFiles, p as processResumeData } from './loadResume-BFCirLAW.js';
5
-
6
- /**
7
- * Load a theme module by name
8
- * @param themeName The name of the theme to load
9
- * @param options Optional settings (autoInstall: boolean)
10
- * @returns The loaded theme module
11
- */
12
- declare function loadTheme(themeName: string, options?: {
13
- autoInstall?: boolean;
14
- }): Promise<any>;
15
-
16
- interface ThemeConfig {
17
- sections?: {
18
- order?: string[];
19
- exclude?: string[];
20
- };
21
- layout?: {
22
- style?: string;
23
- };
24
- styling?: Record<string, string | number>;
25
- labels?: Record<string, string>;
26
- }
27
- /**
28
- * Render a resume using the specified theme
29
- * @param themeName Name of the theme to use
30
- * @param resumeData Resume data to render
31
- * @param themeConfig Theme configuration
32
- * @param inlineCss Optional CSS to include in the HTML
33
- * @param language Language code for localization
34
- * @returns Object containing the rendered HTML
35
- */
36
- declare function renderTheme(themeName: string, resumeData: ResumeSchema, themeConfig?: ThemeConfig, inlineCss?: string, language?: string): Promise<{
37
- htmlOutput: string;
38
- }>;
39
- /**
40
- * Injects CSS into HTML content
41
- * @param html HTML content
42
- * @param css CSS to inject
43
- * @returns HTML with injected CSS
44
- */
45
- declare function injectCss(html: string, css?: string): string;
46
-
47
- declare const themeRender_injectCss: typeof injectCss;
48
- declare const themeRender_renderTheme: typeof renderTheme;
49
- declare namespace themeRender {
50
- export { themeRender_injectCss as injectCss, themeRender_renderTheme as renderTheme };
51
- }
52
-
53
- declare const program: Command;
54
-
55
- export { loadTheme, program, themeRender };