import type { SeoMeta } from './runtime.router.types';
/**
 * Constructs the SEO API URL for a given route.
 * Uses the PURE_ENV_API_BASE_URL environment variable to build the full URL.
 *
 * @param {string} route - The application route to fetch SEO metadata for
 * @returns {string} The full API URL with encoded route parameter
 * @throws {Error} If PURE_ENV_API_BASE_URL is not configured
 *
 * @example
 * constructSeoApiUrl('/about')
 * // Returns: 'https://api.example.com/seo-meta?route=%2Fabout'
 *
 * @example
 * constructSeoApiUrl('/products/123')
 * // Returns: 'https://api.example.com/seo-meta?route=%2Fproducts%2F123'
 */
export declare function constructSeoApiUrl(route: string): string;
/**
 * Fetches SEO metadata for a specific route from the API Gateway endpoint.
 * Handles errors gracefully and returns null on failure.
 *
 * This function is designed to work in browser environments only.
 * It should not be called during serverless rendering.
 *
 * @param {string} route - The application route to fetch SEO metadata for
 * @returns {Promise<SeoMeta | null>} SEO metadata or null if unavailable
 *
 * @example
 * const seoMeta = await fetchSeoMetadataFromApi('/about');
 * if (seoMeta) {
 *   console.log(seoMeta.title); // "About Us"
 * }
 *
 * @example
 * // Handles errors gracefully
 * const seoMeta = await fetchSeoMetadataFromApi('/non-existent');
 * // Returns null and logs warning
 */
export declare function fetchSeoMetadataFromApi(route: string): Promise<SeoMeta | null>;
