import { type Operation } from "effection";
import type { Middleware } from "./types.js";
export declare function useParams<T extends object>(): Operation<T>;
export declare function GET<T>(handler: Middleware<Request, T>): Middleware<Request, T>;
export declare function POST<T>(handler: Middleware<Request, T>): Middleware<Request, T>;
export declare function PUT<T>(handler: Middleware<Request, T>): Middleware<Request, T>;
export declare function PATCH<T>(handler: Middleware<Request, T>): Middleware<Request, T>;
export declare function DELETE<T>(handler: Middleware<Request, T>): Middleware<Request, T>;
export declare function route<T>(path: string, ...middlewares: Middleware<Request, T>[]): Middleware<Request, T>;
//# sourceMappingURL=route.d.ts.map