/** * References are used to store dictionary-like data inside Descriptors. * (Descriptors can be nested, but References cannot.) * @see Descriptor */ export type Reference = ClassReference | EnumeratedReference | IdentifierReference | IndexReference | NameReference | OffsetReference | PropertyReference; interface ReferenceBase { type: Type; } /** Valid values for the `type` field in `Reference` objects. */ export declare enum ReferenceType { Class = "Clss", Enumerated = "Enmr", Identifier = "Idnt", Index = "indx", Name = "name", Offset = "rele", Property = "prop" } export interface ClassReference extends ReferenceBase { name: string; classId: string; } export interface EnumeratedReference extends ReferenceBase { name: string; classId: string; typeId: string; enumValue: string; } export interface IdentifierReference extends ReferenceBase { identifier: string; } export interface IndexReference extends ReferenceBase { index: number; } export interface NameReference extends ReferenceBase { name: string; } export interface OffsetReference extends ReferenceBase { name: string; classId: string; /** 32-bit hexadecimal integer */ offset: number; } export interface PropertyReference extends ReferenceBase { name: string; classId: string; keyId: string; } export {}; //# sourceMappingURL=Reference.d.ts.map