import http from 'http';
import { IClientAppOpts } from '@opensumi/ide-core-browser';
import { IServerAppOpts } from '@opensumi/ide-core-node';
interface IDEServerParams {
    serverAppOpts?: Partial<IServerAppOpts>;
    clientAppOpts?: Partial<IClientAppOpts>;
}
interface ServerParams {
    port: number;
    isDev: boolean;
    workspaceDir?: string;
    extensionCandidate?: string[];
    extHostPath?: string;
    watchServerPort?: string;
}
export declare function startServer(serverParams: ServerParams, ideAppOpts: IDEServerParams): Promise<http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>>;
export {};
