1 | import type { SomeType } from "../types.js";
|
2 | import { Reflection, type TraverseCallback } from "./abstract.js";
|
3 | import type { DeclarationReflection } from "./declaration.js";
|
4 | import type { Serializer, JSONOutput, Deserializer } from "../../serialization/index.js";
|
5 | import type { SignatureReflection } from "./signature.js";
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare const VarianceModifier: {
|
11 | readonly in: "in";
|
12 | readonly out: "out";
|
13 | readonly inOut: "in out";
|
14 | };
|
15 | export type VarianceModifier = (typeof VarianceModifier)[keyof typeof VarianceModifier];
|
16 |
|
17 |
|
18 |
|
19 | export declare class TypeParameterReflection extends Reflection {
|
20 | readonly variant = "typeParam";
|
21 | parent?: DeclarationReflection | SignatureReflection;
|
22 | type?: SomeType;
|
23 | default?: SomeType;
|
24 | varianceModifier?: VarianceModifier;
|
25 | constructor(name: string, parent: Reflection, varianceModifier: VarianceModifier | undefined);
|
26 | toObject(serializer: Serializer): JSONOutput.TypeParameterReflection;
|
27 | fromObject(de: Deserializer, obj: JSONOutput.TypeParameterReflection): void;
|
28 | traverse(_callback: TraverseCallback): void;
|
29 | }
|