import React, { ReactNode } from 'react';
interface CitationState {
    history: Record<string, Record<string, string>>;
    globalCitations: string[];
}
type CitationAction = {
    type: 'SAVE_CITATIONS';
    requestId: string;
    reasoningMap: Record<string, string>;
    rawCitations: string[];
} | {
    type: 'RESET';
};
export declare const CitationProvider: ({ children }: {
    children: ReactNode;
}) => React.JSX.Element;
export declare const useCitations: () => {
    state: CitationState;
    dispatch: React.Dispatch<CitationAction>;
    getLatestReasoning: (fieldName: string) => string;
};
export {};
//# sourceMappingURL=CitationsContext.d.ts.map