/** * Shared utility functions for the Clawhatch scanner. */ /** * Read at most `maxBytes` from a file without loading the entire file into memory. * Prevents OOM on huge session logs (which can be hundreds of MB). * * If the file is smaller than maxBytes, reads it entirely. * Otherwise, streams up to maxBytes and returns a truncated string. */ export declare function readFileCapped(filePath: string, maxBytes: number): Promise; //# sourceMappingURL=utils.d.ts.map