import { i as FestivalCardDbAdapter, h as FestivalCardConfigSummary, F as FestivalCardConfig } from '../../types-D2WetAPc.js';
import { NextRequest, NextResponse } from 'next/server';

interface FestivalCardRouteConfig {
    db?: FestivalCardDbAdapter;
}
type RouteContext = {
    params: {
        id: string;
    };
} | {
    params: Promise<{
        id: string;
    }>;
};
declare const createListFestivalCardsHandler: (config?: FestivalCardRouteConfig) => (_request: NextRequest) => Promise<NextResponse<{
    success: boolean;
    data: FestivalCardConfigSummary[];
}> | NextResponse<{
    success: boolean;
    error: string;
}>>;
declare const createGetFestivalCardHandler: (config?: FestivalCardRouteConfig) => (_request: NextRequest, context: RouteContext) => Promise<NextResponse<{
    success: boolean;
    data: FestivalCardConfig;
}> | NextResponse<{
    success: boolean;
    error: string;
}>>;
declare const createUpsertFestivalCardHandler: (config?: FestivalCardRouteConfig) => (request: NextRequest, context: RouteContext) => Promise<NextResponse<{
    success: boolean;
    data: FestivalCardConfig;
}> | NextResponse<{
    success: boolean;
    error: string;
}>>;
declare const createDeleteFestivalCardHandler: (config?: FestivalCardRouteConfig) => (_request: NextRequest, context: RouteContext) => Promise<NextResponse<{
    success: boolean;
}>>;

export { type FestivalCardRouteConfig, createDeleteFestivalCardHandler, createGetFestivalCardHandler, createListFestivalCardsHandler, createUpsertFestivalCardHandler };
