import type { UnknownObject } from '../../../types/common-types.js'; import type { HandlerContext } from '../../handlers/types.js'; import type { ProviderProfileCollection } from '../../../providers/profile/provider-profile.js'; import type { ServerStatusV2 } from './types.js'; export declare function initializeHttpServer(server: any): Promise; export declare function restartRuntimeFromDisk(server: any): Promise<{ reloadedAt: number; configPath: string; warnings?: string[]; }>; export declare function startHttpServer(server: any): Promise; export declare function stopHttpServer(server: any): Promise; export declare function getHttpServerStatus(server: any): ServerStatusV2; export declare function getHttpServerConfig(server: any): { host: string; port: number; }; export declare function isHttpServerInitialized(server: any): boolean; export declare function isHttpServerRunning(server: any): boolean; export declare function handleHttpServerError(server: any, error: Error, context: string): Promise; export declare function initializeWithUserConfig(server: any, userConfig: UnknownObject, context?: { providerProfiles?: ProviderProfileCollection; }): Promise; export declare function reloadHttpServerRuntime(server: any, userConfig: UnknownObject, context?: { providerProfiles?: ProviderProfileCollection; }): Promise; export declare function buildHttpHandlerContext(server: any): HandlerContext;