import { App } from '../app' ; export interface AppManagerInterface { /**
     * The application manager driver.
     */ driver ? : AppManagerInterface ; /**
     * Find an app by given ID.
     */ findById ( id ) : Promise < App | null > ; /**
     * Find an app by given key.
     */ findByKey ( key ) : Promise < App | null > ; /**
     * Get the app secret by ID.
     */ getAppSecret ( id ) : Promise < string | null > ; }