UNPKG

image-asset-manager

Version:

A comprehensive image asset management tool for frontend projects

45 lines 1.17 kB
import { CLIOptions, OptimizeOptions, Framework } from "../types"; export interface ConfigFile { scan: { include: string[]; exclude: string[]; extensions: string[]; maxDepth: number; followSymlinks: boolean; }; optimize: OptimizeOptions; server: { port: number; host: string; cors: boolean; staticPath?: string; }; generate: { frameworks: Framework[]; outputDir: string; typescript: boolean; componentPrefix: string; }; cache: { enabled: boolean; ttl: number; directory: string; }; watch: { enabled: boolean; debounce: number; ignored: string[]; }; } export declare const DEFAULT_CONFIG: ConfigFile; export declare class ConfigManager { private config; constructor(configPath?: string); private loadConfig; private mergeConfig; getConfig(): ConfigFile; updateConfig(updates: Partial<ConfigFile>): void; toCLIOptions(overrides?: Partial<CLIOptions>): CLIOptions; static generateExampleConfig(): string; } //# sourceMappingURL=index.d.ts.map