import { type ReactNode } from 'react';
import { createAIConnection } from '../../ai/client/connection';
import { createAIMessageStore } from '../../ai/client/messageStore';
type AIStreamContextValue = {
    connection: ReturnType<typeof createAIConnection>;
    store: ReturnType<typeof createAIMessageStore>;
};
export declare const AIStreamProvider: ({ children, path }: {
    children: ReactNode;
    path: string;
}) => import("react/jsx-runtime").JSX.Element;
export declare const useAIStreamContext: () => AIStreamContextValue | null;
export {};
