import { App } from './../app' ; export interface AppManagerDriver { param { string } id param { any } socket param { any } data return { Promise < App | null > } findById ( id , socket , data ) : Promise < App | null > ; param { string } key param { any } socket param { any } data return { Promise < App | null > } findByKey ( key , socket , data ) : Promise < App | null > ; }