import { ModelList } from './Model'; /** * Interface describing a full database. */ export default interface Database { readonly models: T; /** * Return a promised resolved when database is started. The promise can also * fail if an error occurred in database initialization. */ waitForStarted(): Promise; }