UNPKG

website-validator

Version:
8 lines (7 loc) 378 B
import { DeepReadonly } from "ts-essentials"; import { Assertion, LinkLocation, FileFetchResult, ValidationResultType } from "./index.js"; export declare const checkLink: (baseUrl: string, indexName: string) => (link: { url: string; asserts: readonly Assertion[]; location: LinkLocation; }, target: DeepReadonly<FileFetchResult>) => Promise<ValidationResultType[]>;