import React, { PropsWithChildren, ReactNode } from 'react'; export interface Note { type: 'footnote' | 'option'; value: ReactNode; id?: string; index?: number; rendered: ReactNode; } interface FootnotesContextValue { getNote: (value: string) => Note | undefined; notes?: Note[]; setHasDisplay: (value: boolean) => void; hasDisplay?: boolean; options?: Note[]; isRoot: boolean; collectionId?: string; } export declare const FootnotesContext: React.Context; export declare const FootnotesProvider: ({ notes: thisNotes, isArticle, collectionId, ...props }: PropsWithChildren<{ notes: Note[]; isArticle: boolean; collectionId?: string; }>) => import("react/jsx-runtime").JSX.Element; export declare const FootnotesConsumer: React.Consumer; export declare const useFootnotes: () => FootnotesContextValue; export {};