///
import * as mongoose from 'mongoose';
import { ChestnutOptions } from '.';
export declare const COULD_NOT_WRITE_TO_SERVER = "COULD_NOT_WRITE_TO_SERVER";
export declare const connectionStringRegex: RegExp;
export declare function modifyCaseOfModelName(modelName: any, options: ChestnutOptions): any;
export interface Store {
connection: mongoose.Connection;
models: {
[name: string]: mongoose.Model;
};
}
export declare function createStoreAsync(options: ChestnutOptions, connectionOptions?: mongoose.ConnectionOptions): Promise;