import { DDtrace, DDTracePlugin } from './plugin/ddTrace'; import { INestApplication } from "@nestjs/common"; import { DocumentBuilder } from "@nestjs/swagger"; import { NestExpressApplication } from "@nestjs/platform-express"; import './orm/LoggerPatch'; import { NestApplicationOptions } from '@nestjs/common/interfaces/nest-application-options.interface'; declare type StarterHook = (app: NestExpressApplication, ddTracePlugin?: DDTracePlugin) => Promise; export interface ApplicationOptions extends NestApplicationOptions { swagger?: DocumentBuilder | boolean; ddTrace?: DDtrace | boolean; } export declare class Starter { static startServer(module: any, prepare?: StarterHook, options?: ApplicationOptions): Promise; static setupSecurityAndCompression(app: INestApplication): void; static setupSwagger(app: INestApplication, options?: any): void; } export {};