import express from 'express';
import * as http from 'http';
/**
 * Creates a web server for agents
 *
 * @param params Configuration parameters
 * @param params.agentDir Directory containing agent modules
 * @param params.port Port to run the server on
 * @param params.allowOrigins Allowed origins for CORS
 * @param params.sessionDbUrl Optional database URL for session storage
 * @returns Object containing Express app and HTTP server
 */
export declare function createWebServer(params: {
    agentDir: string;
    port: number;
    allowOrigins: string[];
    sessionDbUrl?: string;
}): {
    app: express.Express;
    server: http.Server;
};
/**
 * Starts a web server for agents
 *
 * @param params Configuration parameters
 * @param params.agentDir Directory containing agent modules
 * @param params.port Port to run the server on
 * @param params.allowOrigins Allowed origins for CORS
 * @param params.sessionDbUrl Optional database URL for session storage
 */
export declare function startWebServer(params: {
    agentDir: string;
    port: number;
    allowOrigins: string[];
    sessionDbUrl?: string;
}): void;
