import { type Locales } from '@intlayer/config';
import { type LanguageContent } from '@intlayer/core';
import type { NextFunction, RequestHandler, Request, Response } from 'express';
export declare const translateFunction: (_req: Request, res: Response, _next?: NextFunction) => <T extends string>(content: LanguageContent<T> | string, locale?: Locales) => T;
/**
 * Detect locale used by the user and load it into res locale storage
 *
 * @returns
 */
export declare const intlayer: () => RequestHandler;
export declare const t: <Content = string>(content: LanguageContent<Content>, locale?: Locales) => Content;
export { LanguageContent };
//# sourceMappingURL=index.d.ts.map