declare module '@rhangai/nest-testing/types' { import type { INestApplicationContext, Type } from '@nestjs/common'; import type { TestingModuleBuilder } from '@nestjs/testing'; type TestManagerServices>> = { readonly [K in keyof TServices]: TServices[K] extends Type ? U : any; }; type TestManagerOptions = { http?: boolean; imports?: any[]; }; type TestManagerPlugin = { config?: () => TestManagerOptions; build?: (builder: TestingModuleBuilder) => void | Promise; global?: (t: TestManager) => TestManagerSetupParam; setup?: ( t: TestManager ) => TestManagerSetupParam | Promise>; afterEach?: () => void | Promise; afterAll?: () => void | Promise; }; interface TestManager> = never> { readonly app: INestApplicationContext; readonly httpServer: any; readonly services: TestManagerServices; addPlugin(plugin: TestManagerPlugin): void; } type TestManagerSetupParam> = never> = { -readonly [K in keyof TestManager]?: TestManager[K]; }; }