/** * Utility functions for validation */ /** * Validate that a string is a valid URL * @throws Error if URL is invalid */ export declare function validateUrl(urlString: string, paramName?: string): void; /** * Parse CLI argument that may be in format --option=value or --option value * @param args Full argument array * @param currentIndex Current index in args array * @param optionName Name of the option (for error messages) * @returns Tuple of [value, newIndex] * @throws Error if value is missing */ export declare function parseCliArgument(args: string[], currentIndex: number, optionName: string): [string, number]; /** * Format error message from unknown error type */ export declare function formatError(error: unknown): string; //# sourceMappingURL=utils.d.ts.map