//#region src/services/project/projectScreenshot.service.d.ts
/**
 * Takes a screenshot of the given URL and uploads it to R2.
 * Returns the public image URL, or null on failure.
 */
declare const takeAndUploadProjectScreenshot: (applicationUrl: string, projectId: string) => Promise<string | null>;
/**
 * Refreshes the screenshot for a project's applicationURL if it changed.
 * Returns the new imageUrl, or the existing one if unchanged / no URL.
 */
declare const refreshProjectScreenshotIfChanged: ({
  newApplicationUrl,
  previousApplicationUrl,
  existingImageUrl,
  projectId
}: {
  newApplicationUrl?: string;
  previousApplicationUrl?: string;
  existingImageUrl?: string;
  projectId: string;
}) => Promise<string | undefined>;
//#endregion
export { refreshProjectScreenshotIfChanged, takeAndUploadProjectScreenshot };
//# sourceMappingURL=projectScreenshot.service.d.ts.map