import type Model from '../Calliope/Model'; import type ModelCollection from '../Calliope/ModelCollection'; /** * Interface typehints the possible hooks and states for factories. */ export default interface FactoryHooks { /** * The factory hook to be called where the value might be changed. * * @param {Model|ModelCollection} modelOrCollection */ afterMaking?: (modelOrCollection: ModelCollection | T) => void; /** * The factory hook to be called where the value might be changed. * * @param {Model|ModelCollection} modelOrCollection */ afterCreating?: (modelOrCollection: ModelCollection | T) => void; /** * The class can be indexed by strings */ [method: string]: CallableFunction | undefined; } //# sourceMappingURL=FactoryHooks.d.ts.map