import { IScope } from './scope'; import { DeclarationKind, TypeDeclaration, TypeSpec } from './type-declaration'; export interface EnumMemberSpec { readonly name: string; readonly value?: string | number; readonly docs?: string; } export interface EnumSpec extends TypeSpec { readonly members?: EnumMemberSpec[]; readonly const?: boolean; } export declare class EnumType extends TypeDeclaration { scope: IScope; readonly spec: EnumSpec; readonly kind = DeclarationKind.Enum; private readonly _members; get modifiers(): Array; get members(): ReadonlyArray; constructor(scope: IScope, spec: EnumSpec); addMember(spec: EnumMemberSpec): void; }