import * as CliTable from 'cli-table3'; import { Kernel } from '@tngraphql/console'; import { MigrationsBaseCommand } from './MigrationsBaseCommand'; import { ApplicationContract } from '../../Contracts/ApplicationContract'; import { DatabaseContract } from "@tngraphql/lucid/build/src/Contracts/Database/DatabaseContract"; interface DBInterface extends DatabaseContract { } /** * The command is meant to migrate the database by execute migrations * in `up` direction. */ export declare class StatusCommand extends MigrationsBaseCommand { private db; static commandName: string; static description: string; connection: string; json: boolean; /** * This command loads the application, since we need the runtime * to find the migration directories for a given connection */ static settings: { loadApp: boolean; }; constructor(app: ApplicationContract, kernel: Kernel, db: DBInterface); /** * Colorizes the status string */ private colorizeStatus; /** * Handle command */ handle(): Promise; outputTable(list: any): CliTable.Table; /** * Log message */ log(message: any): void; } export {};