import { TPost, TPostInput } from '@cromwell/core';
import React from 'react';
export declare const PostContext: React.Context<{
    settingsOpen: boolean;
    setSettingsOpen?: (value: boolean) => void;
    getEditorDataRef?: React.MutableRefObject<(() => Promise<{
        content: string;
        delta: string;
    }>) | null>;
    dataRef?: React.MutableRefObject<TPost>;
    hasChangesRef?: React.MutableRefObject<boolean>;
    getInput?: () => Promise<TPostInput>;
}>;
export declare const PostContextProvider: (props: {
    children: React.ReactNode;
}) => JSX.Element;
