import { ObjectType, WarthogModel } from '../model'; import { GeneratorContext } from './SourcesGenerator'; import { AbstractRenderer } from './AbstractRenderer'; export declare class ModelRenderer extends AbstractRenderer { private objType; constructor(model: WarthogModel, objType: ObjectType, context?: GeneratorContext); withInterfaceProp(): GeneratorContext; withInterfaces(): GeneratorContext; withSubclasses(): GeneratorContext; withInterfaceRelationOptions(): GeneratorContext; withEnums(): GeneratorContext; withFields(): GeneratorContext; withDescription(): GeneratorContext; withHasProps(): GeneratorContext; withImportProps(): GeneratorContext; withFieldResolvers(): GeneratorContext; /** * Provides variant names for the fields that have union type, we need variant names for the union * in order to fetch the data for variant relations and it is used by service.mst template * @returns GeneratorContext */ withVariantNames(): GeneratorContext; transform(): GeneratorContext; }