import { Property, PropertySpec } from './property'; import { DeclarationKind, TypeDeclaration } from './type-declaration'; import { Method, MethodSpec } from './type-member'; /** * A type that has members */ export declare abstract class MemberType extends TypeDeclaration { abstract readonly kind: DeclarationKind; private readonly _properties; private readonly _methods; /** * Lists all direct properties of the interface */ get properties(): ReadonlyArray; /** * Lists all direct methods of the interface */ get methods(): ReadonlyArray; /** * Adds a property to the interface */ addProperty(spec: PropertySpec): Property; addMethod(spec: MethodSpec): Method; }