import * as ts from 'typescript'; import { DeclarationRef, SourceFileRef } from '../types/ref'; import { SerializedDeclaration } from '../types/serialized-entities'; import { Collector } from '../types/walker'; /** * Serialize a Declaration to a POJO * @param decl Declaration to serialize * @param checker type checker * @param ref reference to the declaration * @param c walker collector */ export default function serializeDeclaration(decl: ts.Declaration, checker: ts.TypeChecker, ref: DeclarationRef | SourceFileRef, related: undefined | ts.Declaration[], c: Collector): SerializedDeclaration; //# sourceMappingURL=declaration.d.ts.map