UNPKG

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