import Schematic from './Schematic'; import { Options, Parser, SchemaStructure } from './types'; export default class Transpiler { options: Options; constructor(options: Options); /** * Default parser that handles JSON and JS files. */ defaultParser(filePath: string): SchemaStructure; /** * Load parser for the current extension. */ loadParser(ext: string): Parser; /** * Transpile either a file or a folder by rendering each schematic file. */ transpile(targets: string[]): Promise; /** * Transpile a folder by looping over all JS and JSON files and rendering them. */ transpileFolder(folderPath: string): string; /** * Transpile a file by rendering the schematic at the defined path. */ transpileFile(filePath: string): string; /** * Extract a list of file paths based on references defined within the schematic. */ extractSchematics(filePath: string): Schematic[]; /** * Generate the output by locating a schematic for every defined file path. */ generate(filePaths: string[]): string; /** * Generate the output by combining all schematics into a single output. */ generateOutput(schematics: Schematic[]): string; } //# sourceMappingURL=Transpiler.d.ts.map