import { DocometInspectableObjectClass } from '../docomet-inspectable.js'; /** * Stat * @see {@link DocometError} * @see {@link DocometPath} */ export declare class DocometStat extends DocometInspectableObjectClass { /** * Last modified time of file * @param path Path of file to get last modified time * @returns Last modified time of file, or `undefined` if it cannot be retrieved */ static getMtime(path: string): Date | undefined; /** * Determines if file needs to be updated * @param olderPath Path to older file * @param newerPath Path to newer file * @returns `true` if update is needed, otherwise `false` */ static needsUpdate(olderPath: string, newerPath: string): boolean; /** * Checks last modified time of file * @param olderPath Path to older file * @param newerPath Path to newer file */ static checkMtime(olderPath: string, newerPath: string): void; }