import { CodegenFile, CodegenStep } from '@aphro/codegen-api'; import { SchemaEdge, SchemaNode } from '@aphro/schema-api'; export default class GenTypescriptModel extends CodegenStep { static accepts(schema: SchemaNode | SchemaEdge): boolean; private readonly schema; private edges; constructor(opts: { nodeOrEdge: SchemaNode | SchemaEdge; edges: { [key: string]: SchemaEdge; }; dest: string; }); gen(): Promise; private getMutationsConvenienceCode; private getMutationsConvenienceTypeDeclCode; private hasMutations; private getUpdateMethodCode; private getCreateMethodCode; private getDeleteMethodCode; private getDataShapeCode; private collectImports; private getMutationsImports; private getNestedTypeImports; private getFieldTypeImports; private getFieldImports; private getEdgeImports; private getFieldCode; private getEdgeCode; private getOneToOneGenCode; private getFromMethodInvocation; private getQueryAllMethodCode; private getGenMethodCode; private getGenxMethodCode; }