import React, { ReactNode } from 'react';
import { AlertProps } from '../../base/Alert/Alert.types';
export declare type FeedbackMessage = AlertProps & {
    id: string;
};
interface EditorFeedbackContextType {
    feedbackMessages: FeedbackMessage[];
    addFeedbackMessage: (message: FeedbackMessage) => void;
    removeFeedbackMessage: (id: string) => void;
    clearAllFeedbackMessages: () => void;
    setFeedbackMessages: React.Dispatch<React.SetStateAction<FeedbackMessage[]>>;
}
export declare const useEditorFeedback: () => EditorFeedbackContextType;
export declare const EditorFeedbackProvider: React.FC<{
    children: ReactNode;
}>;
export {};
