/** Load platform-specific tools only for sessions originating from that platform. */ export declare function shouldLoadSlack(channel: string | undefined): boolean; export declare function shouldLoadFeishu(channel: string | undefined): boolean; export declare function shouldLoadWeb(channel: string | undefined): boolean; export declare function shouldLoadThreadControl(threadId: string | undefined): boolean; type PiTextContent = { type: 'text'; text: string; }; /** Map an MCP content item into PI text without silently dropping unsupported payloads. */ export declare function mapMcpContent(item: { type: string; text?: string; data?: string; mimeType?: string; resource?: { uri?: string; text?: string; blob?: string; mimeType?: string; }; [key: string]: unknown; }): PiTextContent; export {};