import { default as React, ReactNode } from 'react';
import { DocumentStyling } from '../types';

interface EditorContextType {
    collapsedHeadings: Set<string>;
    setCollapsedHeadings: (updater: (prev: Set<string>) => Set<string>) => void;
    isHeadingCollapsed: (id: string) => boolean;
    expandMultipleHeadings: (ids: string[]) => void;
    documentStyling?: DocumentStyling;
}
export declare const EditorContext: React.Context<EditorContextType | null>;
export declare const useEditorContext: () => EditorContextType;
export declare const EditorProvider: React.FC<{
    children: ReactNode;
    documentStyling?: DocumentStyling;
}>;
export {};
