/**
 * @fileoverview 思考块组件
 * 只读模式下渲染思考类型的代码块
 */
import React from 'react';
import { CodeNode, ElementProps } from '../../../MarkdownEditor/el';
type ThinkBlockProps = ElementProps<CodeNode>;
/**
 * ThinkBlock Context 类型定义
 */
export interface ThinkBlockContextType {
    /** 受控的展开状态 */
    expanded?: boolean;
    /** 展开状态变更回调 */
    onExpandedChange?: (expanded: boolean) => void;
}
/**
 * ThinkBlock Context
 */
export declare const ThinkBlockContext: React.Context<ThinkBlockContextType | null>;
/**
 * ThinkBlock Provider 组件
 *
 * 用于全局控制所有 ThinkBlock 实例的展开/收起状态
 *
 * @example
 * ```tsx
 * <ThinkBlockProvider expanded={isExpanded} onExpandedChange={setIsExpanded}>
 *   <MarkdownEditor ... />
 * </ThinkBlockProvider>
 * ```
 */
export declare const ThinkBlockProvider: React.FC<ThinkBlockContextType & {
    children: React.ReactNode;
}>;
export declare function ThinkBlock(props: ThinkBlockProps): React.JSX.Element;
export {};
