/**
 * Metona IR — 统一导出
 *
 * 所有 Metona IR 类型的单入口导出。
 * 项目内部只从此文件导入类型，确保类型一致性。
 */

// ===== 请求类型 =====
export type {
  MetonaRequest,
  MetonaRequestMeta,
  MetonaSystemPrompt,
  MetonaGenerationParams,
  MetonaConstraints,
  MetonaMessage,
  MetonaImageContent,
  MetonaToolDef,
  MetonaToolParams,
  MetonaParamField,
  MetonaToolCall,
  MetonaToolResult,
} from './metona-request';

export { MetonaToolCategory, MetonaRiskLevel } from './metona-request';

// ===== 响应类型 =====
export type {
  MetonaResponse,
  MetonaResponseMeta,
  MetonaTokenUsage,
  MetonaStreamEvent,
  MetonaThinking,
  MetonaError,
} from './metona-response';

export {
  MetonaFinishReason,
  MetonaStreamEventType,
  MetonaErrorCode,
} from './metona-response';

// ===== 上下文与记忆 =====
export type { MetonaContext, MetonaMemoryItem } from './metona-context';

// ===== 适配器接口 =====
export type { IMetonaProviderAdapter, AdapterConfig } from './metona-adapter';
