import { s as Plugin } from "../core-O3WLuY_I.js";

//#region src/plugins/last-modified.d.ts
type VersionControlFn = (filePath: string) => Promise<Date | null | undefined>;
interface LastModifiedPluginOptions {
  /**
   * Version control to obtain the last modified time.
   *
   * - `git`: Requires `git` to be installed.
   *
   *    If you are using Vercel, please set `VERCEL_DEEP_CLONE` environment variable to `true`.
   *
   * - A function: return the last modified time for given file path.
   *
   * @defaultValue 'git'
   */
  versionControl?: 'git' | VersionControlFn;
  /**
   * Filter the collections to include by names
   */
  filter?: (collection: string) => boolean;
}
/**
 * Injects `lastModified` property to page exports.
 */
declare function lastModified(options?: LastModifiedPluginOptions): Plugin;
//#endregion
export { LastModifiedPluginOptions, lastModified as default };
//# sourceMappingURL=last-modified.d.ts.map