import { Manipulator } from './Manipulator'; import { Scope } from 'ts-morph'; export declare class GeneratorService { private config; generateController({ name, module, crud }: { name: string; module: string; crud?: boolean; }): Promise; pathTo(module: string, ...segments: string[]): string; manipulatorFor(module: string, ...segments: string[]): Manipulator; generateAction(options: ActionOptions): Promise; generateEntity(options: EntityOptions): Promise; createField(manipulator: Manipulator, field: string): { name: string; scope: Scope; type: any; decorators: { name: string; arguments: string[]; }[]; }; createProperty(manipulator: Manipulator, name: string, options?: any): { name: string; scope: Scope; type: any; decorators: { name: string; arguments: string[]; }[]; }; addRoute(module: string, routeOptions: { route: string; method: string; controller: string; controllerClassName?: string; action?: string; }, helper?: { specifier: string; name: string; }): Promise; getAstManipulator(file: string, create?: boolean): Manipulator; generateModule({ name }: { name: string; }): Promise; private prepare; } export declare type EntityOptions = { module?: string; name: string; field: string[]; relation: string[]; }; export declare type ActionOptions = { controller: string; route: string; action: string; method: string; module?: string; };