UNPKG

photo-watermark-cli

Version:

A modern TypeScript CLI tool to add timestamp watermarks to photos with intelligent size scaling

22 lines 617 B
import type { WatermarkConfig } from '../types'; export declare const DEFAULT_CONFIG: WatermarkConfig; /** * 加载配置文件 * @returns 配置对象 */ export declare function loadConfig(): Promise<WatermarkConfig>; /** * 保存配置文件 * @param config - 要保存的配置 */ export declare function saveConfig(config: Partial<WatermarkConfig>): Promise<void>; /** * 重置配置为默认值 */ export declare function resetConfig(): Promise<void>; /** * 获取配置文件路径 * @returns 配置文件路径 */ export declare function getConfigPath(): string; //# sourceMappingURL=config.d.ts.map