UNPKG

@posthog/wizard

Version:

The PostHog wizard helps you to configure your project

10 lines (9 loc) 503 B
import type { WizardOptions } from '../utils/types'; export declare function getNextJsVersionBucket(version: string | undefined): string; export declare enum NextJsRouter { APP_ROUTER = "app-router", PAGES_ROUTER = "pages-router" } export declare const IGNORE_PATTERNS: string[]; export declare function getNextJsRouter({ installDir, }: Pick<WizardOptions, 'installDir'>): Promise<NextJsRouter>; export declare const getNextJsRouterName: (router: NextJsRouter) => "app router" | "pages router";