import type { IsURLOptions } from "validator"; import { ProvidersManifest, ProviderModule, ProviderModuleManifest } from "../types/index.ts"; import { Provider } from "../index.ts"; /** * Checks if the given string is a valid URL. * @param url * @param options * @returns */ export declare function isValidURL(url: string, options?: IsURLOptions): boolean; /** * Validates the provider manifest and returns an object containing any errors or warnings found during validation. */ export declare function validateProvidersManifest(manifest: ProvidersManifest): { valid: boolean; manifest: ProvidersManifest; errors: string[]; warnings: string[]; }; export declare function validateProviderModule(module: ProviderModule): { errors: string[]; warnings: string[]; }; /** * Validates all provider modules in the registry and returns an object containing any errors or warnings * found during validation. This function iterates through each provider module in the registry, validates it * using the validateProviderModule function, and aggregates any errors or warnings into a single result object. * @returns An object with the following properties: */ export declare function validateProviderModules(registry: Map): { valid: boolean; validModules: Map; errors: [string, string[]][]; warnings: [string, string[]][]; }; export declare function validateManifestConfiguration(provider: Provider, manifest: ProviderModuleManifest): void;