import { SchemaOptions, Schema } from 'mongoose'; import { GetSchemaType } from './types'; declare type CreateSchema = (definition?: T, options?: O) => Schema & { definition: { [P in keyof GetSchemaType]: GetSchemaType[P]; }; options: O; }; export declare const createSchema: CreateSchema; export {};