import { 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. Takes a type parameter of a schema class. * * @param valProps array of property names that can be used by the model to lookup data (ex. user_id). * Used to check if a valid lookup field is supplied. * @example * const modelFactory = createModelFactory(['user_id', 'username']) */ export declare const inductModelFactory: (valProps: (keyof T)[]) => InductModelFactory;