import { type PrismicManager } from "@prismicio/manager"; import { type ProjectContext } from "./project.js"; export type Framework = { /** * Framework's human readable name. */ name: string; /** * Framework 's id sent to Segment from Slice Machine */ telemetryID: "next" | "nuxt-2" | "nuxt" | "sveltekit-1" | "sveltekit-2"; /** * Package name of the adapter responsible for this framework */ adapterName: string; /** * A package name/semver range map defining framework compatibility * requirements. * * Project should match all entries to be considered compatible. */ compatibility: Record; }; /** * Frameworks we support, orders shouldn't matter much but is respected (the * higher it is the more priority it has in case multiple matches) */ export declare const FRAMEWORKS: Record; export declare const detectFramework: (cwd: string) => Promise; type InitFrameworkArgs = { manager: PrismicManager; projectContext: ProjectContext; }; export declare function initFramework(args: InitFrameworkArgs): Promise; export declare const FRAMEWORK_PLUGINS: { "@prismicio/adapter-next": import("@prismicio/plugin-kit").Plugin; "@prismicio/adapter-nuxt": import("@prismicio/plugin-kit").Plugin; "@prismicio/adapter-nuxt2": import("@prismicio/plugin-kit").Plugin; "@prismicio/adapter-sveltekit": import("@prismicio/plugin-kit").Plugin; }; export {};