import type { Block } from 'comment-parser'; import * as E from 'fp-ts/Either'; import type { Schema } from './ir'; import type { Project } from './project'; export declare type Parameter = { type: 'path' | 'query' | 'header'; name: string; schema: Schema; explode?: boolean; required: boolean; }; export declare type Route = { path: string; method: string; parameters: Parameter[]; body?: Schema; response: Record; comment?: Block; }; export declare function resolveStringProperty(project: Project, schema: Schema | undefined, name: string): E.Either; export declare function parseRoute(project: Project, schema: Schema): E.Either; //# sourceMappingURL=route.d.ts.map