/**
 * Messaging adapters — thin client-side wrappers for Telegram and Slack slash commands.
 *
 * Parses /run, /pipeline, /status commands and dispatches to AgentsClient or
 * PipelinesClient. Mirrors the server-side shape of agent-trigger-shared.ts
 * (sprint-524:quick-3) but calls REST clients instead of direct DB/execute().
 *
 * Supported commands:
 *   /run <agentId> <task description…>   → AgentsClient.execute()
 *   /pipeline <name>                     → PipelinesClient.run()
 *   /status <runId>                      → PipelinesClient.status()
 *
 * Sprint: command-center:sprint-524:quick-9
 */
import type { AgentsClient } from "./agents.js";
import type { PipelinesClient } from "./pipelines.js";
export interface TelegramTriggerContext {
    chatId: string;
    from?: {
        username?: string;
    };
}
export interface SlackTriggerContext {
    userId: string;
    channelId: string;
}
export interface MessagingTriggerResult {
    replyText: string;
    runId?: string;
}
/**
 * Handle a Telegram message command on behalf of a bound user.
 *
 * @param agents      - AgentsClient instance (already authenticated)
 * @param pipelines   - PipelinesClient instance (already authenticated)
 * @param ctx         - Telegram context (chatId, optional username)
 * @param command     - Command verb, with or without leading "/" (e.g. "run" or "/run")
 * @param args        - Remaining tokens after the command
 */
export declare function triggerFromTelegram(agents: AgentsClient, pipelines: PipelinesClient, ctx: TelegramTriggerContext, command: string, args: string[]): Promise<MessagingTriggerResult>;
/**
 * Handle a Slack slash command on behalf of a bound user.
 *
 * @param agents      - AgentsClient instance (already authenticated)
 * @param pipelines   - PipelinesClient instance (already authenticated)
 * @param ctx         - Slack context (userId, channelId)
 * @param command     - Command verb, with or without leading "/" (e.g. "run" or "/run")
 * @param args        - Remaining tokens after the command
 */
export declare function triggerFromSlack(agents: AgentsClient, pipelines: PipelinesClient, ctx: SlackTriggerContext, command: string, args: string[]): Promise<MessagingTriggerResult>;
//# sourceMappingURL=messaging-adapters.d.ts.map