import { NextFetchEvent, NextRequest, NextResponse } from "next/server";

//#region src/proxy/intlayerProxy.d.ts

/**
 * Proxy that handles the internationalization layer
 *
 * Usage:
 *
 * ```ts
 * // ./src/proxy.ts
 *
 * export { intlayerProxy as proxy } from '@intlayer/next/proxy';
 *
 * // applies this proxy only to files in the app directory
 * export const config = {
 *   matcher: '/((?!api|static|.*\\..*|_next).*)',
 * };
 * ```
 *
 * Main proxy function for handling internationalization.
 *
 * @param request - The incoming Next.js request object.
 * @param event - The Next.js fetch event (optional).
 * @param response - The Next.js response object (optional).
 * @returns - The response to be returned to the client.
 */
declare const intlayerProxy: (request: NextRequest, _event?: NextFetchEvent, _response?: NextResponse) => NextResponse;
//#endregion
export { intlayerProxy };
//# sourceMappingURL=intlayerProxy.d.ts.map