import { type CrawlOptions } from './crawler.js';
import type { CheckOptions, InternalCheckOptions } from './options.js';
/**
 * Convenience method to perform a scan.
 * @param options CheckOptions to be passed on
 */
export declare function check(options: CheckOptions): Promise<import("./types.js").CrawlResult>;
/**
 * Checks to see if a given source is HTML.
 * @param {object} response Page response.
 * @returns {boolean}
 */
export declare function isHtml(response: Response): boolean;
/**
 * When running a local static web server for the user, translate paths from
 * the Url generated back to something closer to a local filesystem path.
 * @example
 *    http://localhost:0000/test/route/README.md => test/route/README.md
 * @param url The url that was checked
 * @param options Original CheckOptions passed into the client
 */
export declare function mapUrl<T extends string | undefined>(url: T, options?: InternalCheckOptions): T;
export declare function createFetchOptions(options: CrawlOptions): RequestInit;
