export declare function readRawConfig(path: string): Promise; export declare function writeRawConfigAtomic(path: string, raw: any[]): Promise; export declare function findEntryIndex(raw: any[], larkAppId: string): number; export declare function requireConfigPath(): string; /** * 在跨进程锁内对某个 bot 条目做 read-modify-write。`mutate` 拿到最新磁盘快照决定 * 写什么;返回 `{ write:false }` 表示不写。沿用 oncall-store 原有语义。 */ export declare function rmwBotEntry(larkAppId: string, mutate: (entry: any, raw: any[]) => { write: boolean; result: T; } | T): Promise<{ ok: true; result: T; } | { ok: false; reason: string; }>; //# sourceMappingURL=config-store.d.ts.map