export declare function findOrNotFound(query: any, Model: any, id: any): Promise;