import { FastifyReply, FastifyRequest } from 'fastify';
import { Model } from 'mongoose';
import { FastifyMongooseRestOptions } from '../types';
export declare function Create<T>(basePath: string, model: Model<T>, options: FastifyMongooseRestOptions): {
    method: 'POST';
    url: string;
    schema: {
        summary: string;
        tags?: string[];
        body: object;
        response: object;
    };
    handler: (request: FastifyRequest, reply: FastifyReply) => Promise<any>;
};
