import React from 'react';
import { type IDiscussionForm, type CachedText, type IMentions } from '../../../discussion';
interface Props {
    /** Whether the modal is open on page load */
    showModal?: boolean;
    /** Functions used inside the modal */
    functions: {
        /** Function to call when the modal is closed */
        onClose?: () => void;
        /** Function to save the entered text */
        cacheText?: React.Dispatch<React.SetStateAction<CachedText>>;
    };
    /** Props for the DiscussionForm component */
    form: IDiscussionForm;
    /** Saved text to pre-populate the form with */
    cachedText?: {
        /** The title text */
        title?: string;
        /** The body text */
        body?: string;
        /** The cached mention data */
        mentions?: IMentions;
    };
    /** Additional classes */
    className?: string;
}
declare const DiscussionFormModal: ({ showModal, functions: modalFunctions, form, cachedText, className, }: Props) => import("react/jsx-runtime").JSX.Element;
export default DiscussionFormModal;
