export declare function mapApiResult(data: T, models?: { [key in K]: { new (...args: any): T[K]; }; }): T;