arda-site-scan
Version:
A standalone CLI tool for comprehensive website analysis including screenshots, SEO, and accessibility testing using Playwright
13 lines • 639 B
TypeScript
export declare function validateUrl(input: string): boolean | string;
export declare function sanitizePageName(url: string): string;
/**
* Build candidate URLs to try, in the required order.
* If the input already includes protocol, returns it as the sole candidate.
*/
export declare function buildCandidateUrls(input: string): string[];
/**
* Attempt to resolve the best working URL by probing candidates in order.
* If input already includes protocol, it is returned as-is without probing.
*/
export declare function resolveUrlByProbing(input: string, timeoutMs?: number): Promise<string>;
//# sourceMappingURL=validation.d.ts.map