import { BaseCommand } from '@tngraphql/console'; import { KernelContract } from '@tngraphql/console/dist/Contracts'; import { Application } from '../../Foundation'; import { MigratedFileNode, MigratorContract } from '@tngraphql/lucid/build/src/Contracts/MigratorContract'; /** * Base class to execute migrations and print logs */ export declare abstract class MigrationsBaseCommand extends BaseCommand { application: Application; kernel: KernelContract; constructor(application: Application, kernel: KernelContract); /** * Returns beautified log message string */ protected getLogMessage(file: MigratedFileNode): string; /** * Prints the preview message that gives more context to the * user about their migrations source and the last time * it was compiled. */ protected printPreviewMessage(): void; /** * Runs the migrations using the migrator */ protected runMigrations(migrator: MigratorContract): Promise; }