type Route = Record; export declare class Compiler { readonly inputDir: string; readonly outputFile: string; /** * This variable uses to write into file and do not overwrite it * * IF TRUE * your file will overwrited * * IF FALSE * compiler overwrited next value: `// FOUTER__OVERWRITE_THIS \\` * and paste next: * ``` * * // FOUTER__COMPILED__OVERWRITE_THIS \\ * * ...some compiled code... * * // FOUTER__COMPILED__OVERWRITE_THIS \\ * * ``` */ readonly replace: boolean; private readonly _file_manager; constructor(inputDir: string, outputFile: string, /** * This variable uses to write into file and do not overwrite it * * IF TRUE * your file will overwrited * * IF FALSE * compiler overwrited next value: `// FOUTER__OVERWRITE_THIS \\` * and paste next: * ``` * * // FOUTER__COMPILED__OVERWRITE_THIS \\ * * ...some compiled code... * * // FOUTER__COMPILED__OVERWRITE_THIS \\ * * ``` */ replace?: boolean); execute(write?: boolean): { parent: string; method: string; path: string; return: string; arguments: { [key: string]: { [key: string]: string; } | string; }; }[]; write(wrap?: boolean): (data: string) => { file: string; raw: string; }; resolvePartial(name: string, maybePartial: string): readonly [string, string]; resolveRoute(route: Route): { [k: string]: { [x: string]: string | { [key: string]: string | { [key: string]: string; }; }; method: string; path: string; parent: string; arguments: { [key: string]: string | { [key: string]: string; }; }; }; }; private Write; private ResolveRoutes; private ResolveArgumentData; private ResolveArguments; private ResolveFile; private ReadFiles; } export default Compiler; //# sourceMappingURL=compiler.d.ts.map