import type { ClineCoreOptions } from "../ClineCore";
import { FileSessionService } from "./file-session-service";
import { RpcCoreSessionService } from "./rpc-session-service";
import type { SessionManager } from "./session-manager";
import { CoreSessionService } from "./session-service";
export type SessionBackend = RpcCoreSessionService | CoreSessionService | FileSessionService;
export type SessionHost = SessionManager;
export declare function resolveSessionBackend(options: ClineCoreOptions): Promise<SessionBackend>;
/**
 * NOTE Internal only - replaced with ClineCore.create() for public API.
 * Creates a SessionHost instance based on the provided options.
 * This will attempt to connect to an RPC session service if configured, and fall back to a local session service if not.
 */
export declare function createSessionHost(options: ClineCoreOptions): Promise<SessionHost>;
//# sourceMappingURL=session-host.d.ts.map