UNPKG

741 BTypeScriptView Raw
1import type { SomeType } from "..";
2import { Reflection, type TraverseCallback } from "./abstract";
3import type { SignatureReflection } from "./signature";
4import type { Serializer, JSONOutput, Deserializer } from "../../serialization";
5/**
6 * @category Reflections
7 */
8export declare class ParameterReflection extends Reflection {
9 readonly variant = "param";
10 parent?: SignatureReflection;
11 defaultValue?: string;
12 type?: SomeType;
13 traverse(callback: TraverseCallback): void;
14 /**
15 * Return a string representation of this reflection.
16 */
17 toString(): string;
18 toObject(serializer: Serializer): JSONOutput.ParameterReflection;
19 fromObject(de: Deserializer, obj: JSONOutput.ParameterReflection): void;
20}