UNPKG

382 BTypeScriptView Raw
1import { ClassDeclaration } from "ts-morph";
2import { Endpoint } from "../definitions";
3import { ParserError } from "../errors";
4import { LociTable } from "../locations";
5import { TypeTable } from "../types";
6import { Result } from "../util";
7export declare function parseEndpoint(klass: ClassDeclaration, typeTable: TypeTable, lociTable: LociTable): Result<Endpoint, ParserError>;