export type UrlRewriteExpression = { pattern: RegExp; replacement: string; }; export type CheckOptions = { concurrency?: number; port?: number; path: string | string[]; recurse?: boolean; timeout?: number; markdown?: boolean; linksToSkip?: string[] | ((link: string) => Promise); serverRoot?: string; directoryListing?: boolean; retry?: boolean; retryErrors?: boolean; retryErrorsCount?: number; retryErrorsJitter?: number; urlRewriteExpressions?: UrlRewriteExpression[]; userAgent?: string; }; export type InternalCheckOptions = { syntheticServerRoot?: string; staticHttpServerHost?: string; } & CheckOptions; export declare const DEFAULT_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36"; /** * Validate the provided flags all work with each other. * @param options CheckOptions passed in from the CLI (or API) */ export declare function processOptions(options_: CheckOptions): Promise;