1 | import type { EnumKeys } from "../../utils/index.js";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | export declare enum ReflectionKind {
|
7 | Project = 1,
|
8 | Module = 2,
|
9 | Namespace = 4,
|
10 | Enum = 8,
|
11 | EnumMember = 16,
|
12 | Variable = 32,
|
13 | Function = 64,
|
14 | Class = 128,
|
15 | Interface = 256,
|
16 | Constructor = 512,
|
17 | Property = 1024,
|
18 | Method = 2048,
|
19 | CallSignature = 4096,
|
20 | IndexSignature = 8192,
|
21 | ConstructorSignature = 16384,
|
22 | Parameter = 32768,
|
23 | TypeLiteral = 65536,
|
24 | TypeParameter = 131072,
|
25 | Accessor = 262144,
|
26 | GetSignature = 524288,
|
27 | SetSignature = 1048576,
|
28 | TypeAlias = 2097152,
|
29 | Reference = 4194304,
|
30 | |
31 |
|
32 |
|
33 | Document = 8388608
|
34 | }
|
35 |
|
36 | export declare namespace ReflectionKind {
|
37 | type KindString = EnumKeys<typeof ReflectionKind>;
|
38 |
|
39 | const All: number;
|
40 |
|
41 | const ClassOrInterface: number;
|
42 |
|
43 | const VariableOrProperty: number;
|
44 |
|
45 | const FunctionOrMethod: number;
|
46 |
|
47 | const ClassMember: number;
|
48 |
|
49 | const SomeSignature: number;
|
50 |
|
51 | const SomeModule: number;
|
52 |
|
53 | const SomeType: number;
|
54 |
|
55 | const SomeValue: number;
|
56 |
|
57 | const SomeMember: number;
|
58 |
|
59 | const SomeExport: number;
|
60 |
|
61 | const MayContainDocuments: number;
|
62 |
|
63 | const ExportContainer: number;
|
64 |
|
65 | const Inheritable: number;
|
66 |
|
67 | const ContainsCallSignatures: number;
|
68 |
|
69 | const TypeReferenceTarget: number;
|
70 |
|
71 | const ValueReferenceTarget: number;
|
72 | |
73 |
|
74 |
|
75 |
|
76 | const SignatureContainer: number;
|
77 |
|
78 | const VariableContainer: number;
|
79 |
|
80 | const MethodContainer: number;
|
81 | |
82 |
|
83 |
|
84 | function singularString(kind: ReflectionKind): string;
|
85 | |
86 |
|
87 |
|
88 | function pluralString(kind: ReflectionKind): string;
|
89 | function classString(kind: ReflectionKind): string;
|
90 | }
|