import type * as ts from 'typescript' ; import { GenericDeclarationSupported } from './genericDeclarationSupported' ; export interface IGenericDeclaration { addFromTypeReferenceNode ( node , declarationKey ) : void ; addFromDeclarationExtension ( declarationKey , extensionDeclaration , extensionDeclarationKey , extension ) : void ; getExpressionForAllGenerics ( ) : ts . ObjectLiteralExpression [ ] ; }