import type { ToolDefinition } from '../agent/types.js'; export interface IntegrationOptions { discord?: { enabled: boolean; token?: string; guilds?: Record; }>; }; slack?: { enabled: boolean; token?: string; workspaces?: string[]; }; telegram?: { enabled: boolean; token?: string; allowedChats?: string[]; }; cronJobs?: Array<{ id: string; cronExpr: string; prompt: string; enabled: boolean; }>; heartbeat?: { enabled: boolean; interval: number; quietStart: number; quietEnd: number; notifyChannelId?: string; }; skills?: Array<{ id: string; path: string; enabled: boolean; }>; role?: string; multi_agent?: { enabled: boolean; agents?: Record; }; } export declare const PHASE_7_TOOL: ToolDefinition; /** * Tool to save integration tokens (Discord, Slack, Telegram) to config.yaml */ export declare const SAVE_INTEGRATION_TOKEN_TOOL: ToolDefinition; /** * Handler for save_integration_token tool */ export declare function handleSaveIntegrationToken(input: { platform: 'discord' | 'slack' | 'telegram'; token: string; guild_id?: string; chat_id?: string; }): Promise<{ success: boolean; message: string; error?: string; }>; /** * Handler for saving multi-agent configuration */ export declare function handleSaveMultiAgent(input: { enabled: boolean; agents?: Record; }): Promise<{ success: boolean; message: string; error?: string; }>; export declare function generateIntegrationGuide(options: IntegrationOptions): string; export declare function parseQuietHours(quietHours: string): { start: number; end: number; } | null; //# sourceMappingURL=phase-7-integrations.d.ts.map