/** * BaseAgent - すべてのMIYABI AIエージェントの基底クラス * * 識学理論に基づく設計: * - 責任の明確化 * - 権限の委譲 * - 結果の評価 */ import type { AgentConfig, AgentResult, AgentStatus } from '../types/agent.js'; export declare abstract class BaseAgent { protected config: AgentConfig; protected status: AgentStatus; protected startTime?: number; protected endTime?: number; constructor(config: AgentConfig); /** * エージェントを実行 */ execute(input: T): Promise; /** * エージェント固有の処理(サブクラスで実装) */ protected abstract run(input: unknown): Promise>; /** * 実行時間を取得 */ protected getDuration(): number; /** * 現在のステータスを取得 */ getStatus(): AgentStatus; /** * ログ出力(共通フォーマット) */ protected log(level: 'info' | 'warn' | 'error', message: string, data?: unknown): void; } //# sourceMappingURL=BaseAgent.d.ts.map