import React from 'react';
import type { AttachmentFile } from '../AttachmentButton/types';
import type { MarkdownInputFieldProps } from '../types/MarkdownInputFieldProps';
/**
 * 状态管理 Hook
 * 管理 MarkdownInputField 组件的基础状态
 */
export declare const useMarkdownInputFieldState: (props: Pick<MarkdownInputFieldProps, 'value' | 'onChange' | 'attachment'>) => {
    isHover: boolean;
    setHover: React.Dispatch<React.SetStateAction<boolean>>;
    isLoading: boolean;
    setIsLoading: React.Dispatch<React.SetStateAction<boolean>>;
    isEnlarged: boolean;
    setIsEnlarged: React.Dispatch<React.SetStateAction<boolean>>;
    value: string;
    setValue: (updater: string | ((origin: string) => string), ignoreDestroy?: boolean | undefined) => void;
    fileMap: Map<string, AttachmentFile> | undefined;
    setFileMap: (updater: Map<string, AttachmentFile> | ((origin: Map<string, AttachmentFile> | undefined) => Map<string, AttachmentFile> | undefined) | undefined, ignoreDestroy?: boolean | undefined) => void;
};
