/**
 * Cleanup dependencies.
 * It will run the CleanUpService to clean all registered dependencies.
 *
 * HTTP Server will be automatically cleaned up if it is registered in the CleanUpService.
 *
 * It will wait for:
 * - EventBus cleanup;
 * - LoggerService flush and cleanup.
 *
 * You may not need to cleanup classes above when using this.
 *
 * @deprecated Use GracefulShutdownService instead. It will be removed in the next major version.
 * @returns {Promise<number>}
 * @since 7.3.0
 * @author Caique Araujo <caique@piggly.com.br>
 */
export declare const cleanupDependencies: () => Promise<number>;
