/** * Stale Transcript Scanner * * Scans transcript directories for .jsonl files that haven't been * modified recently (considered "stale" and ready for upload). */ /** * Result of scanning for stale transcripts */ export type StaleScanResult = { /** Files ready for upload (stale but not yet expired) */ staleFiles: Array; /** Files that have been idle too long and should be deleted */ expiredFiles: Array; }; /** * Find stale and expired transcript files in a directory * * Recursively scans the given directory for .jsonl files: * - Files older than staleThresholdMs but younger than expireThresholdMs are "stale" (ready for upload) * - Files older than expireThresholdMs are "expired" (should be deleted) * * @param args - Configuration arguments * @param args.transcriptDir - Directory to scan for transcripts * @param args.staleThresholdMs - Age in ms after which a file is considered stale (ready for upload) * @param args.expireThresholdMs - Age in ms after which a file should be deleted * * @returns Object containing arrays of stale and expired file paths */ export declare const findStaleTranscripts: (args: { transcriptDir: string; staleThresholdMs: number; expireThresholdMs: number; }) => Promise; //# sourceMappingURL=staleScanner.d.ts.map