// APP事件类型 export interface AppEvents { 'user:login': { userId: string; name: string } 'user:logout': { userId: string } 'order:created': { orderId: string; amount: number } }