import { Citation } from '../../../../../@types';
type CitationRefreshProviderProps = {
    /**
     * CitationField(s)
     */
    children: React.ReactNode;
    /**
     *  array of unqiue ids of citations currently being referenced in the editor
     */
    citationIds: number[];
    /**
     * API call for fetching citations. Triggered internally when citationIds changes.
     */
    getCitationsByIds: (ids: number[]) => Promise<Citation[]>;
    /**
     * Id of the citation that had a title changed. Used internally to determine whether or
     * not to trigger an API refresh of the citation list.
     */
    titleChangedId: number | undefined;
};
export declare function CitationRefreshProvider({ children, citationIds, getCitationsByIds, titleChangedId, }: CitationRefreshProviderProps): import("react/jsx-runtime").JSX.Element;
export declare const useCitationRefreshContext: () => {
    /**
     * Array of ALL UNIQUE citations being referenced in the editor.
     * (Not to be confused with table of citations in the bubble menu -- this is only the citations actually in the editor itself)
     */
    citations: Citation[];
};
export {};
