import { NextRequest, NextResponse } from 'next/server';
import { EntityType } from '../../types/meta.types';
interface RouteContext {
    params: Promise<{
        id: string;
        [key: string]: string;
    }>;
}
/**
 * Middleware que procesa meta datos en endpoints existentes
 */
export declare function withUnifiedMeta(entityType: EntityType): <T extends {
    id: string;
}>(handler: (req: NextRequest, context: RouteContext) => Promise<NextResponse | T | T[]>) => (req: NextRequest, context: RouteContext) => Promise<any>;
export {};
//# sourceMappingURL=meta.middleware.d.ts.map