/** * Verify that sitemap page URLs do not rewrite to different paths (except localisation). * Fetches each page URL and checks the x-nextjs-rewritten-path response header. */ interface RewriteCheckError { url: string; requestedPath: string; rewrittenPath: string; } interface RewriteCheckResult { ok: boolean; errors: RewriteCheckError[]; } /** * For each page URL, fetch with HEAD and check x-nextjs-rewritten-path. * If the header is present and the rewritten path is not equivalent to the requested path * (after normalisation and optional locale stripping), record an error. */ export declare function checkRewrites(pageUrls: string[], fetchInit: RequestInit): Promise; export {}; //# sourceMappingURL=check-rewrites.d.ts.map