//#region src/workers/lib/check-url-resource-status.d.ts type Options = { checkAnchor: boolean; maxRedirects: number; maxRetries: number; timeout: number; NODE_TLS_REJECT_UNAUTHORIZED?: string; }; type FetchError = { type: "fetch"; message: string; }; type ResponseError = { type: "response"; status: number; }; type MaxRedirectError = { type: "max-redirect"; redirects: number; maxRedirects: number; }; type SharedDeclarativeRefreshError = { type: "shared-declarative-refresh"; url: string; from: string; }; type MissingAnchorError = { type: "missing-anchor"; url: string; fragment: string; }; type ErrorResult = { type: "error"; url: string; error: FetchError | ResponseError | MaxRedirectError | SharedDeclarativeRefreshError | MissingAnchorError; }; type SuccessResult = { type: "success"; url: string; }; type Result = ErrorResult | SuccessResult; //#endregion //#region src/workers/check-url-resource-status-worker.d.ts type Params = { urls: string[]; checkUrlsOptions: Options; }; type UrlStatus = { url: string; status: Result | { type: "ignored"; } | { type: "fallback"; urls: string[]; }; }; //#endregion export { Params, UrlStatus };