import { InductModelOpts, IModel, InductModelFactory } from "./types/model-schema"; /** * Creates a factory function which returns a promise that resolves to an instance of the supplied model class. * The returned function is used as an input for Induct's controller factories. * * @param valProps array of property names that can be used by the model to lookup data (ex. user_id) * @param Model Model class that extends Induct's IModel interface * @example * const modelFactory = createModelFactory(['user_id', 'username'], UserModel) */ export declare const createModelFactory: >(valProps: Array, Model: new (params: T, opts: InductModelOpts) => M) => InductModelFactory;