import type { Locale } from '@i18n-micro/types';
import type { H3Event } from 'h3';
export interface LocaleInfo {
    current: string;
    default: string;
    fallback: string;
    available: string[];
    locale: Locale | null;
    isDefault: boolean;
    isFallback: boolean;
}
export declare const useLocaleServerMiddleware: (event: H3Event, defaultLocale?: string, currentLocale?: string) => LocaleInfo;
