import type { ThemeConfigJson } from '@json-to-office/shared-docx'; export declare class ThemeFileError extends Error { path?: string | undefined; _cause?: Error | undefined; constructor(message: string, path?: string | undefined, _cause?: Error | undefined); } export declare class ThemeLoader { private parser; private readonly MAX_FILE_SIZE; private readonly ALLOWED_EXTENSIONS; loadFromFile(filePath: string): Promise; loadFromUrl(_url: string): Promise; private validateFilePath; private readFileWithLimits; validateFile(filePath: string): { valid: boolean; error?: string; }; getFileInfo(filePath: string): Promise<{ exists: boolean; size?: number; isFile?: boolean; error?: string; }>; } //# sourceMappingURL=loader.d.ts.map