@jasondark/proompt
Version:
CLI tool for running AI prompts with structure and repeatability
33 lines • 1.65 kB
TypeScript
/**
* Get the modification time of a file
* @param filePath The path to the file
* @returns The modification time as a Date, or null if file doesn't exist
*/
export declare const getFileModificationTime: (filePath: string) => Date | null;
/**
* Check if any of the specified documentation files were modified after a given time
* @param startTime The time to compare against
* @param outputFileNames Array of output file names to check (e.g., ['CLAUDE.md', 'GEMINI.md'])
* @returns Object with results for each file
*/
export declare const checkDocumentationFilesModified: (startTime: Date, outputFileNames: string[]) => Record<string, {
exists: boolean;
modified: boolean;
modTime: Date | null;
}>;
/**
* Check if any documentation files were actually created or modified
* @param startTime The time before the LLM CLI was launched
* @param outputFileNames Array of output file names to check
* @returns True if any files were created or modified after startTime
*/
export declare const anyDocumentationFilesModified: (startTime: Date, outputFileNames: string[]) => boolean;
/**
* Check if documentation files were modified in specific directories
* @param startTime The time to compare against
* @param outputFileNames Array of output file names to check (e.g., ['CLAUDE.md', 'GEMINI.md'])
* @param directories Array of directory paths to check in
* @returns True if any files were created or modified after startTime in any directory
*/
export declare const anyDocumentationFilesModifiedInDirs: (startTime: Date, outputFileNames: string[], directories: string[]) => boolean;
//# sourceMappingURL=file-tracker.d.ts.map