import type { TurnConfig } from "../agent/types.js";
import type { AgentRpcError } from "../protocol/wire/index.js";
import type { DreamHandlerHost } from "./handlers/dream-handler.js";
export interface DreamHostAdapterDeps {
    getActiveTurn(): AbortController | null;
    setActiveTurn(value: AbortController | null): void;
    getCurrentTransport(): DreamHandlerHost["currentTransport"];
    getCurrentApiKey(): string;
    getCurrentModel(): string;
    getCurrentHooks(): DreamHandlerHost["currentHooks"];
    getMemoryProvider(): DreamHandlerHost["memoryProvider"];
    getMemoryUserId(): string;
    getToolCatalog(): DreamHandlerHost["toolCatalog"];
    getTaskStore(): DreamHandlerHost["taskStore"];
    getVerbose(): boolean;
    log(message: string): void;
    resolveMemoryRoot(): string;
    resolveTranscriptDir(): string;
    resolveAgent(config: TurnConfig): unknown | null;
    sendNotification(method: string, params: Record<string, unknown>): void;
    sendResponse(id: string | number, result?: unknown, error?: AgentRpcError): void;
}
export declare function createDreamHostAdapter(deps: DreamHostAdapterDeps): DreamHandlerHost;
