export interface StorefrontSetupContext { projectName: string; serverPort: number; storefrontPort: number; revalidationSecret: string; } export interface StorefrontStarter { id: string; name: string; description: string; frameworkName: string; documentationUrl: string; repository: string; ref: string; envFile: string; packageScripts: (context: StorefrontSetupContext) => Record; environment: (context: StorefrontSetupContext) => Record; } interface StorefrontPackageJson extends Record { scripts?: Record; } export declare const STOREFRONT_STARTERS: readonly [{ readonly id: "tanstack"; readonly name: "TanStack Start"; readonly description: "Vite-powered routing with TanStack Router and Paraglide internationalization"; readonly frameworkName: "TanStack Start"; readonly documentationUrl: "https://tanstack.com/start/latest/docs/framework/react/overview"; readonly repository: "vendurehq/tanstack-starter-vendure"; readonly ref: "main"; readonly envFile: ".env"; readonly packageScripts: ({ storefrontPort }: StorefrontSetupContext) => { dev: string; start: string; }; readonly environment: ({ projectName, serverPort, storefrontPort, revalidationSecret }: StorefrontSetupContext) => { VENDURE_SHOP_API_URL: string; VENDURE_CHANNEL_TOKEN: string; SITE_URL: string; SITE_NAME: string; REVALIDATION_SECRET: string; }; }, { readonly id: "nextjs"; readonly name: "Next.js"; readonly description: "App Router storefront with next-intl internationalization"; readonly frameworkName: "Next.js"; readonly documentationUrl: "https://nextjs.org/docs"; readonly repository: "vendurehq/nextjs-starter-vendure"; readonly ref: "main"; readonly envFile: ".env.local"; readonly packageScripts: ({ storefrontPort }: StorefrontSetupContext) => { dev: string; }; readonly environment: ({ projectName, serverPort, storefrontPort, revalidationSecret }: StorefrontSetupContext) => { VENDURE_SHOP_API_URL: string; VENDURE_CHANNEL_TOKEN: string; NEXT_PUBLIC_SITE_URL: string; NEXT_PUBLIC_SITE_NAME: string; REVALIDATION_SECRET: string; }; }]; export type StorefrontId = (typeof STOREFRONT_STARTERS)[number]['id']; export declare function resolveCiStorefront(options: { storefront?: StorefrontId; withStorefront?: boolean; }): StorefrontId | undefined; export declare function parseStorefrontId(value: string): StorefrontId; export declare function getStorefrontStarter(id: StorefrontId): StorefrontStarter; export declare function configureStorefrontPackageJson(packageJson: StorefrontPackageJson, storefront: StorefrontStarter, context: StorefrontSetupContext): StorefrontPackageJson; export declare function renderStorefrontEnvironment(storefront: StorefrontStarter, context: StorefrontSetupContext): string; export {};