import type { ApplicationType } from '../../lib/types/application/application.js';
import type { Entity } from '../../lib/types/application/entity.js';
import type CoreGenerator from '../base-core/generator.js';
export declare function cleanupOldFiles(this: CoreGenerator, { application: { packageFolder, srcMainJava, srcTestJava, searchEngineElasticsearch }, entity: { entityClass, entityAbsoluteFolder }, }: {
    application: ApplicationType<Entity>;
    entity: Entity;
}): void;
