import type { ServerDefinition } from '../config.js';
import { type Runtime } from '../runtime.js';
import { type LogContext } from './log-context.js';
import type { DaemonRequest, DaemonResponse } from './protocol.js';
import { type ServerActivity } from './request-utils.js';
interface DaemonHostOptions {
    readonly socketPath: string;
    readonly metadataPath: string;
    readonly configPath: string;
    readonly configExplicit?: boolean;
    readonly rootDir?: string;
    readonly logPath?: string;
    readonly logServers?: Set<string>;
    readonly logAllServers?: boolean;
}
export declare function runDaemonHost(options: DaemonHostOptions): Promise<void>;
export declare function __testProcessRequest(rawPayload: string, runtime: Runtime, managedServers: Map<string, ServerDefinition>, activity: Map<string, ServerActivity>, metadata: {
    configPath: string;
    configLayers: Array<{
        path: string;
        mtimeMs: number | null;
    }>;
    configMtimeMs: number | null;
    socketPath: string;
    startedAt: number;
    logPath: string | null;
}, logContext: LogContext, preParsedRequest?: DaemonRequest): Promise<{
    response: DaemonResponse;
    shouldShutdown: boolean;
}>;
export {};
//# sourceMappingURL=host.d.ts.map