/** * Validates that all URLs share the same hostname * @param urls - Array of URLs to validate * @returns The common hostname if all URLs share the same host * @throws {Error} if URLs have different hostnames * @example * ```ts * validateSameHost(['https://example.com/', 'https://example.com/page']) // 'example.com' * validateSameHost(['https://a.com/', 'https://b.com/']) // throws Error * ``` */ export declare function validateSameHost(urls: string[]): string;