import type { AbstractIntlMessages } from 'use-intl';
import getConfig from './getConfig';
export declare function getMessagesFromConfig(config: Awaited<ReturnType<typeof getConfig>>): AbstractIntlMessages;
export default function getMessages(opts?: {
    locale?: string;
}): Promise<AbstractIntlMessages>;
