import { IAuditJob } from "../../models/auditJob.model.js";
import { IAuditPage } from "../../models/auditPage.model.js";
import * as mongoose$1 from "mongoose";

//#region src/services/audit/recursiveAudit.service.d.ts
/**
 * Fetches sitemap.xml for the given URL and extracts all <loc> entries.
 * Falls back to [targetUrl] if no sitemap is found.
 */
declare const discoverUrlsFromSitemap: (targetUrl: string) => Promise<string[]>;
declare const startRecursiveAuditJob: (targetUrl: string, userId?: string, urls?: string[]) => Promise<string>;
declare const cancelAuditJob: (jobId: string) => Promise<boolean>;
declare const pauseAuditJob: (jobId: string) => Promise<boolean>;
declare const resumeAuditJob: (jobId: string) => Promise<boolean>;
declare const processAuditJobs: () => Promise<void>;
declare const getAuditJobStatus: (jobId: string) => Promise<{
  job: mongoose$1.Document<unknown, {}, IAuditJob, {}, mongoose$1.DefaultSchemaOptions> & IAuditJob & Required<{
    _id: mongoose$1.Types.ObjectId;
  }> & {
    __v: number;
  } & {
    id: string;
  };
  pages: (mongoose$1.Document<unknown, {}, IAuditPage, {}, mongoose$1.DefaultSchemaOptions> & IAuditPage & Required<{
    _id: mongoose$1.Types.ObjectId;
  }> & {
    __v: number;
  } & {
    id: string;
  })[];
}>;
//#endregion
export { cancelAuditJob, discoverUrlsFromSitemap, getAuditJobStatus, pauseAuditJob, processAuditJobs, resumeAuditJob, startRecursiveAuditJob };
//# sourceMappingURL=recursiveAudit.service.d.ts.map