/** * Helper function used to iterate trough models prototype chain and collect data for all parents * * @export * @template T * @template U * @param {U} obj Given model * @param {(state: T, item: U) => T} reduceFn Function used to collect the data * @param {T} initialValue Initial reducer data * @returns {T} Collected data */ export declare function reducePrototypeChain(obj: U, reduceFn: (state: T, item: U) => T, initialValue: T): T;