import type { Application } from 'express-serve-static-core';
import type { AnyServiceLocals, InternalLocals, ServiceExpress, ServiceLocals } from '../types.js';
import type { ConfigurationSchema } from '../config/schema.js';
export declare function startInternalApp<SLocals extends AnyServiceLocals = ServiceLocals<ConfigurationSchema>>(mainApp: ServiceExpress<SLocals>, port: number): Promise<Application<InternalLocals<SLocals>>>;
