/**
 * Pattern Usages Route Handlers Factory
 *
 * Creates compiled route handlers for pattern usages API.
 * Use this factory in your app's route file:
 *
 * @example
 * // app/api/v1/patterns/[id]/usages/route.ts
 * import { createPatternUsagesHandlers } from '@nextsparkjs/core/lib/api/routes'
 * export const { GET, OPTIONS } = createPatternUsagesHandlers()
 */
import { NextRequest, NextResponse } from 'next/server';
/**
 * Creates GET and OPTIONS handlers for pattern usages endpoint
 *
 * GET /api/v1/patterns/[id]/usages - Get detailed usage information for a pattern
 *
 * Query Parameters:
 * - entityType: Filter by entity type (e.g., 'pages', 'posts')
 * - limit: Number of results per page (default: 50)
 * - page: Page number (default: 1)
 *
 * Response includes:
 * - usages: Array of usage records with entity info
 * - counts: Array of counts by entity type
 * - total: Total number of usages
 */
export declare function createPatternUsagesHandlers(): {
    GET: (request: NextRequest, args_0: {
        params: Promise<{
            id: string;
        }>;
    }) => Promise<NextResponse>;
    OPTIONS: () => Promise<NextResponse<unknown>>;
};
//# sourceMappingURL=patterns-usages.d.ts.map