import { MethodContext, MethodAst, ParserAstContext, PropertyContext, PropertyAst } from 'ims-decorator'; export interface IHttpMethod { /** 路径 */ path?: string; /** 名字 */ name?: string; /** 简介 */ desc?: string; /** 权限 */ roles?: string[]; } export declare class HttpMethodContext extends MethodContext { path: string; constructor(ast: MethodAst, context: ParserAstContext); } export declare class HttpPropertyContext extends PropertyContext { path: string; constructor(ast: PropertyAst, context: ParserAstContext); }