import * as ts from 'typescript'; import { RttiContext } from './rtti-context'; export interface TypeEncoderImpl { ctx: RttiContext; referToType(type: ts.Type, typeNode?: ts.TypeNode): ts.Expression; referToTypeNode(typeNode: ts.TypeNode): ts.Expression; } export interface TypeLiteralOptions { hoistImportsInCommonJS?: boolean; } export declare function typeLiteral(encoder: TypeEncoderImpl, type: ts.Type, typeNode?: ts.TypeNode, options?: TypeLiteralOptions): ts.Expression; export declare function structuredTypeLiteral(encoder: TypeEncoderImpl, type: ts.Type, typeNode: ts.TypeNode, name?: string): ts.Expression; //# sourceMappingURL=type-literal.d.ts.map