1 | import * as ts from 'typescript';
|
2 | import { PluginOptions } from '../merge-options';
|
3 | type ClassMetadata = Record<string, ts.ObjectLiteralExpression>;
|
4 | export declare class ModelClassVisitor {
|
5 | private importsToAdd;
|
6 | private readonly _typeImports;
|
7 | private readonly _collectedMetadata;
|
8 | get typeImports(): Record<string, string>;
|
9 | get collectedMetadata(): Array<[
|
10 | ts.CallExpression,
|
11 | Record<string, ClassMetadata>
|
12 | ]>;
|
13 | visit(sourceFile: ts.SourceFile, ctx: ts.TransformationContext, program: ts.Program, pluginOptions: PluginOptions): ts.Node;
|
14 | private addDescriptionToClassDecorators;
|
15 | private amendFieldsDecorators;
|
16 | private collectMetadataFromClassMembers;
|
17 | private updateClassDeclaration;
|
18 | private getOptionsFromFieldDecoratorOrUndefined;
|
19 | private getTypeFromFieldDecoratorOrUndefined;
|
20 | private createFieldMetadata;
|
21 | private getTypeUsingTypeChecker;
|
22 | private createEagerImports;
|
23 | private normalizeImportPath;
|
24 | }
|
25 | export {};
|
26 |
|
\ | No newline at end of file |