import express from 'express';
import http from 'http';
interface ApiServerOptions {
    agentDir: string;
    sessionDbUrl?: string;
    allowOrigins?: string[];
    web: boolean;
    traceToCloud?: boolean;
    port?: number;
}
/**
 * Creates an Express app that serves as an API server for agents
 *
 * @param options Configuration options for the server
 * @returns The configured Express app and server
 */
export declare function createApiServer(options: ApiServerOptions): {
    app: express.Application;
    server: http.Server;
};
export {};
