/**
 * Server-side translation loader.
 * In `premerged` mode, layers/fallback/root+page are merged at build time and this loader
 * reads a single Nitro asset. In `source` mode, compact source files are merged at runtime.
 */
import type { Translations } from '@i18n-micro/types';
/**
 * Load translations for a given locale and page.
 * Returns merged translations and a pre-serialized JSON string for the API route.
 */
export declare function loadTranslationsFromServer(locale: string, routeName: string): Promise<{
    data: Translations;
    json: string;
}>;
