export declare type ServiceConfig = { [x: string]: unknown; rootDir: string; name?: string; version?: string; port?: number; routes?: string[]; script?: string; scriptWaitTimeout?: number; watch?: boolean; ttl?: number; env?: Record; }; export declare type NextMicroConfig = { port?: number; autoload?: boolean; autostart?: boolean; services?: ServiceConfig[]; ignore?: string[]; }; export declare type ConcreteNextMicroConfig = { port: number; autoload: boolean; autostart: boolean; services: ServiceConfig[]; ignore: string[]; }; export declare const loadConfig: () => Promise;