import { INestApplication } from '@nestjs/common';
/**
 * Get or create NestJS application (singleton)
 * Uses full NestJS application instead of just application context
 * to support TypeORM and Bull which require ModuleRef
 * @returns NestJS application
 */
export declare function getNestApp(): Promise<INestApplication>;
/**
 * Close NestJS application context and cleanup
 */
export declare function closeNestApp(): Promise<void>;
/**
 * Get service from NestJS DI container
 * Convenience helper for type-safe service retrieval
 */
export declare function getService<T>(serviceClass: new (...args: any[]) => T): Promise<T>;
