/** * Try to read and parse a JSON file. Returns null when the file does not * exist or cannot be parsed. Never throws. */ export declare function tryReadJson(filePath: string): unknown | null; /** * List all state files in `stateDir` that start with `prefix` and end with * `.json`. Returns an empty array when the directory does not exist. */ export declare function listStateFiles(stateDir: string, prefix: string): string[]; /** * List all NDJSON state files in `stateDir` that start with `prefix` and end * with `.ndjson`. Returns an empty array when the directory does not exist. */ export declare function listNDJSONFiles(stateDir: string, prefix: string): string[]; //# sourceMappingURL=monitor-reader-utils.d.ts.map