type AutoRunOption = { id: string; /** 执行的命令 */ cmd?: string[] | ((now: string) => string[]); /** 命令执行的根目录 */ dir?: string; /** 最小同步时间间隔。单位为秒。默认为 30 */ minSyncInterval?: number; }; export declare const autoRunCmds: (option: AutoRunOption) => void; export declare function autoCommit(option: AutoRunOption): void; export {};