import { CLICommand } from '../index'; import { ContentFrontmatterFormat } from '@tinacms/schema-tools'; export interface Framework { name: 'next' | 'hugo' | 'jekyll' | 'other'; reactive: boolean; } export type ReactiveFramework = 'next'; export type GeneratedFileType = 'next-api-handler' | 'config' | 'database' | 'templates' | 'reactive-example' | 'sample-content' | 'users-json'; export type GeneratedFile = { fullPathJS: string; fullPathTS: string; fullPathOverride?: string; generatedFileType: GeneratedFileType; name: string; parentPath: string; typescriptExists: boolean; javascriptExists: boolean; resolve: (typescript: boolean) => { exists: boolean; path: string; parentPath: string; }; }; export type InitEnvironment = { hasTinaDeps: boolean; forestryConfigExists: boolean; frontMatterFormat: ContentFrontmatterFormat; gitIgnoreExists: boolean; gitIgnoreNodeModulesExists: boolean; gitIgnoreTinaEnvExists: boolean; gitIgnoreEnvExists: boolean; packageJSONExists: boolean; sampleContentExists: boolean; sampleContentPath: string; generatedFiles?: { [key in GeneratedFileType]: GeneratedFile; }; usingSrc: boolean; tinaConfigExists: boolean; }; export type InitParams = { rootPath: string; pathToForestryConfig: string; noTelemetry: boolean; isBackendInit: boolean; baseDir?: string; debug?: boolean; tinaVersion?: string; }; export declare const command: CLICommand;