import { AddDeclOptions, AstModuleOptions, ElementType, FileType } from "./types"; declare function generateAstFromSourceFile(sourceFile: string): import("@babel/parser").ParseResult; declare function addComponentToDefaultExport({ ast, name }: { ast: any; name: any; }): any; declare function addComponentToNamedExport({ ast, name }: { ast: any; name: any; }): any; declare function addElementToVarDecl(options: AstModuleOptions, declarationName?: string): object; declare function addImportDeclaration(options: AstModuleOptions): object; declare function codeFromAST(ast: any): string; declare function writeSchemaFile(baseFolder: string, name: string, data: string): void; declare function writeGriddoFile(baseFolder: string, name: string, data: string): void; declare function writeStorybookFile(baseFolder: string, name: string, data: string): void; declare function writeStylesFile(baseFolder: string, name: string, data: string): void; declare function addDecl({ type, ast, name, alias }: AddDeclOptions): any; declare function addTypeReference({ ast, name }: { ast: any; name: any; }): any; declare function checkIfElementExists({ type, name }: { type: any; name: any; }): boolean; declare function readTemplate(baseFolder: string, type: ElementType, filetype: FileType): string; declare function isGriddoProject(): boolean; export { generateAstFromSourceFile, addComponentToNamedExport, addElementToVarDecl, addComponentToDefaultExport, addImportDeclaration, codeFromAST, writeGriddoFile, writeSchemaFile, addDecl, addTypeReference, checkIfElementExists, readTemplate, writeStorybookFile, writeStylesFile, isGriddoProject };