import { default as React } from 'react'; import { ImagineUIMessage } from '@imagine/ai-service/shared-types'; interface MessageHistoryContextValue { messages: Array; total: number; hasMore: boolean; isLoading: boolean; isError: boolean; error: Error | null; fetchNextPage: () => Promise; isFetchingNextPage: boolean; hasNextPage: boolean; refetch: () => Promise; isFinished: boolean; } interface MessageHistoryProviderProps { projectId: string; children: React.ReactNode; skipFetchingHistory?: boolean; disableMessageHistory?: boolean; } export declare function MessageHistoryProvider({ projectId, children, skipFetchingHistory, disableMessageHistory, }: MessageHistoryProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useMessageHistory(): MessageHistoryContextValue; export {}; //# sourceMappingURL=message-history-provider.d.ts.map