type Domains = {
    [K in string]: K;
};
/**
 * Currently cache is not used and we store valid domains in validDomain.ts
 * This function can be used to get the latest valid domains
 * Get TLDs, fetching if necessary and using cache efficiently
 * @returns A promise resolving to an object of valid TLDs
 */
declare function getTlds(): Promise<Domains>;
/**
 * Validates a URL with efficient TLD checking
 * @param urlString The URL string to validate
 * @returns boolean indicating URL validity
 */
declare function isValidUrl(urlString: string | null | undefined): boolean;
/**
 * Processes a URL - validates it and returns either the valid URL or the original string
 * @param input The input string to process
 * @returns Promise resolving to the processed string
 */
declare function processUrl(input: string): Promise<string>;
export { isValidUrl, processUrl, getTlds };
//# sourceMappingURL=isValidUrl.d.ts.map