import z from 'zod'; import type { PackageManager } from './package-manager.js'; export type StatusStepType = 'file' | 'command' | 'info' | 'package-manager' | 'other'; export declare const AddOnSelectOptionSchema: z.ZodObject<{ type: z.ZodLiteral<"select">; label: z.ZodString; description: z.ZodOptional; default: z.ZodString; options: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }>; export declare const AddOnOptionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"select">; label: z.ZodString; description: z.ZodOptional; default: z.ZodString; options: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }>]>; export declare const AddOnOptionsSchema: z.ZodRecord; label: z.ZodString; description: z.ZodOptional; default: z.ZodString; options: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }>]>>; export declare const AddOnBaseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodOptional; version: z.ZodOptional; link: z.ZodOptional; license: z.ZodOptional; warning: z.ZodOptional; tailwind: z.ZodOptional; type: z.ZodEnum<["add-on", "example", "starter", "toolchain", "deployment"]>; supportedPackageManagers: z.ZodOptional, "many">>; category: z.ZodOptional>; exclusive: z.ZodOptional, "many">>; color: z.ZodOptional; priority: z.ZodOptional; partner: z.ZodOptional; placementWeight: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }>>; command: z.ZodOptional>; }, "strip", z.ZodTypeAny, { command: string; args?: string[] | undefined; }, { command: string; args?: string[] | undefined; }>>; routes: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; jsName: z.ZodOptional; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }>, "many">>; packageAdditions: z.ZodOptional>; devDependencies: z.ZodOptional>; engines: z.ZodOptional>; pnpm: z.ZodOptional>; }, "strip", z.ZodTypeAny, { onlyBuiltDependencies?: string[] | undefined; }, { onlyBuiltDependencies?: string[] | undefined; }>>; scripts: z.ZodOptional>; }, "strip", z.ZodTypeAny, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }>>; variables: z.ZodOptional>; shadcnComponents: z.ZodOptional>; dependsOn: z.ZodOptional>; smallLogo: z.ZodOptional; logo: z.ZodOptional; addOnSpecialSteps: z.ZodOptional>; createSpecialSteps: z.ZodOptional>; postInitSpecialSteps: z.ZodOptional>; options: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; default: z.ZodString; options: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }>]>>>; envVars: z.ZodOptional; required: z.ZodOptional; default: z.ZodOptional; secret: z.ZodOptional; file: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }>, "many">>; default: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; }, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; }>; export declare const StarterSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodOptional; version: z.ZodOptional; link: z.ZodOptional; license: z.ZodOptional; warning: z.ZodOptional; tailwind: z.ZodOptional; type: z.ZodEnum<["add-on", "example", "starter", "toolchain", "deployment"]>; supportedPackageManagers: z.ZodOptional, "many">>; category: z.ZodOptional>; exclusive: z.ZodOptional, "many">>; color: z.ZodOptional; priority: z.ZodOptional; partner: z.ZodOptional; placementWeight: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }>>; command: z.ZodOptional>; }, "strip", z.ZodTypeAny, { command: string; args?: string[] | undefined; }, { command: string; args?: string[] | undefined; }>>; routes: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; jsName: z.ZodOptional; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }>, "many">>; packageAdditions: z.ZodOptional>; devDependencies: z.ZodOptional>; engines: z.ZodOptional>; pnpm: z.ZodOptional>; }, "strip", z.ZodTypeAny, { onlyBuiltDependencies?: string[] | undefined; }, { onlyBuiltDependencies?: string[] | undefined; }>>; scripts: z.ZodOptional>; }, "strip", z.ZodTypeAny, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }>>; variables: z.ZodOptional>; shadcnComponents: z.ZodOptional>; dependsOn: z.ZodOptional>; smallLogo: z.ZodOptional; logo: z.ZodOptional; addOnSpecialSteps: z.ZodOptional>; createSpecialSteps: z.ZodOptional>; postInitSpecialSteps: z.ZodOptional>; options: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; default: z.ZodString; options: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }>]>>>; envVars: z.ZodOptional; required: z.ZodOptional; default: z.ZodOptional; secret: z.ZodOptional; file: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }>, "many">>; default: z.ZodOptional; } & { framework: z.ZodString; mode: z.ZodString; typescript: z.ZodBoolean; banner: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; framework: string; mode: string; typescript: boolean; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; banner?: string | undefined; }, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; framework: string; mode: string; typescript: boolean; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; banner?: string | undefined; }>; export declare const StarterCompiledSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodOptional; version: z.ZodOptional; link: z.ZodOptional; license: z.ZodOptional; warning: z.ZodOptional; tailwind: z.ZodOptional; type: z.ZodEnum<["add-on", "example", "starter", "toolchain", "deployment"]>; supportedPackageManagers: z.ZodOptional, "many">>; category: z.ZodOptional>; exclusive: z.ZodOptional, "many">>; color: z.ZodOptional; priority: z.ZodOptional; partner: z.ZodOptional; placementWeight: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }>>; command: z.ZodOptional>; }, "strip", z.ZodTypeAny, { command: string; args?: string[] | undefined; }, { command: string; args?: string[] | undefined; }>>; routes: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; jsName: z.ZodOptional; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }>, "many">>; packageAdditions: z.ZodOptional>; devDependencies: z.ZodOptional>; engines: z.ZodOptional>; pnpm: z.ZodOptional>; }, "strip", z.ZodTypeAny, { onlyBuiltDependencies?: string[] | undefined; }, { onlyBuiltDependencies?: string[] | undefined; }>>; scripts: z.ZodOptional>; }, "strip", z.ZodTypeAny, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }>>; variables: z.ZodOptional>; shadcnComponents: z.ZodOptional>; dependsOn: z.ZodOptional>; smallLogo: z.ZodOptional; logo: z.ZodOptional; addOnSpecialSteps: z.ZodOptional>; createSpecialSteps: z.ZodOptional>; postInitSpecialSteps: z.ZodOptional>; options: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; default: z.ZodString; options: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }>]>>>; envVars: z.ZodOptional; required: z.ZodOptional; default: z.ZodOptional; secret: z.ZodOptional; file: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }>, "many">>; default: z.ZodOptional; } & { framework: z.ZodString; mode: z.ZodString; typescript: z.ZodBoolean; banner: z.ZodOptional; } & { files: z.ZodRecord; deletedFiles: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; framework: string; mode: string; typescript: boolean; files: Record; deletedFiles: string[]; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; banner?: string | undefined; }, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; framework: string; mode: string; typescript: boolean; files: Record; deletedFiles: string[]; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; banner?: string | undefined; }>; export declare const IntegrationSchema: z.ZodObject<{ type: z.ZodOptional; path: z.ZodOptional; jsName: z.ZodOptional; import: z.ZodOptional; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }, { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }>; export declare const AddOnInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodOptional; version: z.ZodOptional; link: z.ZodOptional; license: z.ZodOptional; warning: z.ZodOptional; tailwind: z.ZodOptional; type: z.ZodEnum<["add-on", "example", "starter", "toolchain", "deployment"]>; supportedPackageManagers: z.ZodOptional, "many">>; category: z.ZodOptional>; exclusive: z.ZodOptional, "many">>; color: z.ZodOptional; priority: z.ZodOptional; partner: z.ZodOptional; placementWeight: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }>>; command: z.ZodOptional>; }, "strip", z.ZodTypeAny, { command: string; args?: string[] | undefined; }, { command: string; args?: string[] | undefined; }>>; routes: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; jsName: z.ZodOptional; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }>, "many">>; packageAdditions: z.ZodOptional>; devDependencies: z.ZodOptional>; engines: z.ZodOptional>; pnpm: z.ZodOptional>; }, "strip", z.ZodTypeAny, { onlyBuiltDependencies?: string[] | undefined; }, { onlyBuiltDependencies?: string[] | undefined; }>>; scripts: z.ZodOptional>; }, "strip", z.ZodTypeAny, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }>>; variables: z.ZodOptional>; shadcnComponents: z.ZodOptional>; dependsOn: z.ZodOptional>; smallLogo: z.ZodOptional; logo: z.ZodOptional; addOnSpecialSteps: z.ZodOptional>; createSpecialSteps: z.ZodOptional>; postInitSpecialSteps: z.ZodOptional>; options: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; default: z.ZodString; options: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }>]>>>; envVars: z.ZodOptional; required: z.ZodOptional; default: z.ZodOptional; secret: z.ZodOptional; file: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }>, "many">>; default: z.ZodOptional; } & { modes: z.ZodArray; integrations: z.ZodOptional; path: z.ZodOptional; jsName: z.ZodOptional; import: z.ZodOptional; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }, { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }>, "many">>; phase: z.ZodEnum<["setup", "add-on", "example"]>; readme: z.ZodOptional; readmeIsEjs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; modes: string[]; phase: "add-on" | "example" | "setup"; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; integrations?: { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }[] | undefined; readme?: string | undefined; readmeIsEjs?: boolean | undefined; }, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; modes: string[]; phase: "add-on" | "example" | "setup"; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; integrations?: { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }[] | undefined; readme?: string | undefined; readmeIsEjs?: boolean | undefined; }>; export declare const AddOnCompiledSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodOptional; version: z.ZodOptional; link: z.ZodOptional; license: z.ZodOptional; warning: z.ZodOptional; tailwind: z.ZodOptional; type: z.ZodEnum<["add-on", "example", "starter", "toolchain", "deployment"]>; supportedPackageManagers: z.ZodOptional, "many">>; category: z.ZodOptional>; exclusive: z.ZodOptional, "many">>; color: z.ZodOptional; priority: z.ZodOptional; partner: z.ZodOptional; placementWeight: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }, { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; }>>; command: z.ZodOptional>; }, "strip", z.ZodTypeAny, { command: string; args?: string[] | undefined; }, { command: string; args?: string[] | undefined; }>>; routes: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; jsName: z.ZodOptional; icon: z.ZodOptional; }, "strip", z.ZodTypeAny, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }, { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }>, "many">>; packageAdditions: z.ZodOptional>; devDependencies: z.ZodOptional>; engines: z.ZodOptional>; pnpm: z.ZodOptional>; }, "strip", z.ZodTypeAny, { onlyBuiltDependencies?: string[] | undefined; }, { onlyBuiltDependencies?: string[] | undefined; }>>; scripts: z.ZodOptional>; }, "strip", z.ZodTypeAny, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }, { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; }>>; variables: z.ZodOptional>; shadcnComponents: z.ZodOptional>; dependsOn: z.ZodOptional>; smallLogo: z.ZodOptional; logo: z.ZodOptional; addOnSpecialSteps: z.ZodOptional>; createSpecialSteps: z.ZodOptional>; postInitSpecialSteps: z.ZodOptional>; options: z.ZodOptional; label: z.ZodString; description: z.ZodOptional; default: z.ZodString; options: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }, { type: "select"; options: { value: string; label: string; }[]; label: string; default: string; description?: string | undefined; }>]>>>; envVars: z.ZodOptional; required: z.ZodOptional; default: z.ZodOptional; secret: z.ZodOptional; file: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }, { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }>, "many">>; default: z.ZodOptional; } & { modes: z.ZodArray; integrations: z.ZodOptional; path: z.ZodOptional; jsName: z.ZodOptional; import: z.ZodOptional; code: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }, { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }>, "many">>; phase: z.ZodEnum<["setup", "add-on", "example"]>; readme: z.ZodOptional; readmeIsEjs: z.ZodOptional; } & { files: z.ZodRecord; deletedFiles: z.ZodArray; packageTemplate: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; files: Record; deletedFiles: string[]; modes: string[]; phase: "add-on" | "example" | "setup"; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; integrations?: { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }[] | undefined; readme?: string | undefined; readmeIsEjs?: boolean | undefined; packageTemplate?: string | undefined; }, { type: "add-on" | "example" | "starter" | "toolchain" | "deployment"; description: string; id: string; name: string; files: Record; deletedFiles: string[]; modes: string[]; phase: "add-on" | "example" | "setup"; supportedPackageManagers?: ("npm" | "yarn" | "pnpm" | "bun" | "deno")[] | undefined; command?: { command: string; args?: string[] | undefined; } | undefined; options?: Record | undefined; default?: boolean | undefined; author?: string | undefined; version?: string | undefined; link?: string | undefined; license?: string | undefined; warning?: string | undefined; tailwind?: boolean | undefined; category?: "other" | "tanstack" | "database" | "orm" | "auth" | "deploy" | "styling" | "monitoring" | "cms" | "api" | "analytics" | "i18n" | "tooling" | undefined; exclusive?: ("database" | "orm" | "auth" | "deploy" | "linter")[] | undefined; color?: string | undefined; priority?: number | undefined; partner?: { id: string; tier: "gold" | "silver" | "bronze"; placementWeight?: number | undefined; } | undefined; routes?: { path?: string | undefined; name?: string | undefined; url?: string | undefined; jsName?: string | undefined; icon?: string | undefined; }[] | undefined; packageAdditions?: { pnpm?: { onlyBuiltDependencies?: string[] | undefined; } | undefined; dependencies?: Record | undefined; devDependencies?: Record | undefined; engines?: Record | undefined; scripts?: Record | undefined; } | undefined; variables?: unknown[] | undefined; shadcnComponents?: string[] | undefined; dependsOn?: string[] | undefined; smallLogo?: string | undefined; logo?: string | undefined; addOnSpecialSteps?: string[] | undefined; createSpecialSteps?: string[] | undefined; postInitSpecialSteps?: string[] | undefined; envVars?: { name: string; file?: ".env" | ".env.local" | undefined; description?: string | undefined; default?: string | undefined; required?: boolean | undefined; secret?: boolean | undefined; }[] | undefined; integrations?: { type?: string | undefined; code?: string | undefined; path?: string | undefined; jsName?: string | undefined; import?: string | undefined; }[] | undefined; readme?: string | undefined; readmeIsEjs?: boolean | undefined; packageTemplate?: string | undefined; }>; export type AddOnSelectOption = z.infer; export type AddOnOption = z.infer; export type AddOnOptions = z.infer; export type Integration = z.infer; export type AddOnBase = z.infer; export type StarterInfo = z.infer; export type StarterCompiled = z.infer; export type AddOnInfo = z.infer; export type AddOnCompiled = z.infer; export interface AddOnSelection { id: string; enabled: boolean; options: Record; } export type FileBundleHandler = { getFiles: () => Promise>; getFileContents: (path: string) => Promise; getDeletedFiles: () => Promise>; }; export type AddOn = AddOnCompiled & FileBundleHandler; export type Starter = StarterCompiled & FileBundleHandler; export type FrameworkDefinition = { id: string; name: string; description: string; version: string; base: Record; addOns: Array; basePackageJSON: Record; optionalPackages: Record; supportedModes: Record; }; export type Framework = Omit & FileBundleHandler & { getAddOns: () => Array; }; export interface Options { projectName: string; targetDir: string; framework: Framework; mode: string; typescript: boolean; tailwind: boolean; packageManager: PackageManager; git: boolean; install?: boolean; intent: boolean; chosenAddOns: Array; addOnOptions: Record>; starter?: Starter | undefined; projectPreset?: 'default' | 'blank'; routerOnly?: boolean; includeExamples?: boolean; envVarValues?: Record; } export type SerializedOptions = Omit & { chosenAddOns: Array; starter?: string | undefined; framework: string; }; type ProjectEnvironment = { startRun: () => void; finishRun: () => void; getErrors: () => Array; }; type FileEnvironment = { appendFile: (path: string, contents: string) => Promise; copyFile: (from: string, to: string) => Promise; writeFile: (path: string, contents: string) => Promise; writeFileBase64: (path: string, base64Contents: string) => Promise; execute: (command: string, args: Array, cwd: string, options?: { inherit?: boolean; }) => Promise<{ stdout: string; }>; deleteFile: (path: string) => Promise; exists: (path: string) => boolean; isDirectory: (path: string) => boolean; readFile: (path: string) => Promise; readdir: (path: string) => Promise>; rimraf: (path: string) => Promise; }; export type StatusEvent = { id: string; type: StatusStepType; message: string; }; export type StopEvent = { id: string; }; type UIEnvironment = { appName: string; startStep: (info: { id: string; type: StatusStepType; message: string; }) => void; finishStep: (id: string, finalMessage: string) => void; intro: (message: string) => void; outro: (message: string) => void; info: (title?: string, message?: string) => void; error: (title?: string, message?: string) => void; warn: (title?: string, message?: string) => void; spinner: () => { start: (message: string) => void; stop: (message: string) => void; }; confirm: (message: string) => Promise; }; export type Environment = ProjectEnvironment & FileEnvironment & UIEnvironment; export interface LineAttribution { line: number; sourceId: string; sourceName: string; type: 'original' | 'injected'; } export interface FileProvenance { source: 'framework' | 'add-on' | 'starter'; sourceId: string; sourceName: string; } export interface AttributedFile { content: string; provenance: FileProvenance; lineAttributions: Array; } export interface DependencyAttribution { name: string; version: string; type: 'dependency' | 'devDependency'; sourceId: string; sourceName: string; } export type IntegrationWithSource = Integration & { _sourceId: string; _sourceName: string; }; export {};