import { type ServerOptions } from './ws-server';
export type Options = ServerOptions & {
    environment?: Record<string, any>;
    agentIdPrefix?: string;
    debug?: boolean;
    shutdownMode?: 'lazy' | 'stdin';
    idleTimeout?: number;
    printStdout?: boolean;
    isProcess?: boolean;
};
export declare function makeCoreServer({ environment: defaultEnvironment, agentIdPrefix, debug, shutdownMode, idleTimeout, // 15min
printStdout, isProcess, ...handlerOptions }?: Options): Promise<{
    port: number;
    close?: () => void;
}>;
