@ogasphere/theme-manager
Version:
A reusable theme management package for Next.js and Vite applications
9 lines • 377 B
TypeScript
import { NextResponse } from "next/server";
import type { ThemeConfig } from "../core/theme-types";
export type ThemeApiRouteOptions = ThemeConfig;
export declare function createThemeApiRoute(options?: ThemeApiRouteOptions): () => Promise<NextResponse<{
themes: import("..").Theme[];
}> | NextResponse<{
error: string;
}>>;
//# sourceMappingURL=theme-api-route.d.ts.map