import type { FastifyReply, FastifySchema } from '../../../../../../../third-party/fastify.js';
import type { HTTPMethod } from '../../common/http-methods';
import type { Request } from '../../common/request';
export interface RouteHandler<TBody = unknown, TQuerystring = unknown, TResponse = unknown, TParams = unknown, THeaders = unknown> {
    url: string;
    method: HTTPMethod;
    schema: Record<string, unknown> | FastifySchema;
    execute(request: Request<TBody, TQuerystring, TParams, THeaders>, reply: FastifyReply): Promise<TResponse> | TResponse;
}
//# sourceMappingURL=route-handler.d.ts.map