import type { OpenACPCore, Session } from '@openacp/plugin-sdk'; export interface SpawnAssistantResult { session: Session; /** The system prompt to prepend to the first real user message. */ pendingSystemPrompt: string; } /** * Spawns an assistant session for the Discord adapter. * Creates a session with the default agent, sets the threadId to the given Discord thread/channel. * The system prompt is deferred — it will be prepended to the first real user message * so no unsolicited AI response is sent on startup. */ export declare function spawnAssistant(core: OpenACPCore, threadId: string): Promise; /** * Build a welcome message summarising active sessions and available agents. */ export declare function buildWelcomeMessage(core: OpenACPCore): string; /** * Build the system prompt for the Discord assistant session. * Includes current state, available agents, and action playbook. */ export declare function buildAssistantSystemPrompt(core: OpenACPCore): string; /** * Enqueue a prompt to the assistant session. */ export declare function handleAssistantMessage(session: Session | null, text: string): Promise;