import { Class } from '@midway3-components/core'; import { Controller, MidwayWebRouterService } from '@midwayjs/core'; import type { RESTfulControllerInterface } from '../controller/restfulController'; type RouterOptions = Exclude[1], undefined> & { paramName?: string; }; type ControllerOptions = { prefix: string; routerOptions?: RouterOptions; }; type RESTfulControllerClass = Class; export declare function RESTfulController(prefix: string, routerOptions?: RouterOptions): (target: T) => void; export declare function getRESTfulDefinition(target: RESTfulControllerClass): ControllerOptions | undefined; export declare function registerRESTfulControllers(routerService: MidwayWebRouterService): void; export {}; //# sourceMappingURL=restfulController.d.ts.map