import type { useEditContext } from "../../client/editContext";
import { type AgentSessionSocketMessage } from "./useAgentSessionSync";
type EditContext = ReturnType<typeof useEditContext>;
export declare function useAgentSessionSocketSource(editContext: EditContext): {
    editContextRef: import("react").RefObject<import("../../..").EditContextType | undefined>;
    subscribeSessionSocketMessages: (handler: (message: AgentSessionSocketMessage) => void) => () => void;
};
export {};
