import type { AgentExecution } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/api_pb";
import { ConversationStore, type StreamState } from "./conversation-store";
export { ConversationStore, type StreamState } from "./conversation-store";
export { structuralShare } from "./structural-share";
/**
 * Internal context for the conversation store. Not exported from the
 * public SDK barrel — used only within SDK hooks and components.
 */
export declare const ConversationStoreContext: import("react").Context<ConversationStore | null>;
/**
 * Access the conversation store from context.
 * Throws if called outside a `ConversationStoreContext.Provider`.
 */
export declare function useConversationStore(): ConversationStore;
/**
 * Create or reuse a `ConversationStore` instance. The store is
 * created once and preserved across re-renders via ref.
 */
export declare function useConversationStoreRef(): ConversationStore;
/**
 * Subscribe to the execution snapshot from the conversation store.
 * Returns a stable reference when the execution is unchanged
 * (structural sharing ensures this).
 */
export declare function useStoreExecution(store: ConversationStore): AgentExecution | null;
/**
 * Subscribe to the stream lifecycle state from the conversation store.
 * Returns a stable reference when the state is unchanged.
 */
export declare function useStoreStreamState(store: ConversationStore): StreamState;
//# sourceMappingURL=index.d.ts.map