import type { ColumnPrompt, PromptComposer } from './event-dispatcher.js'; import { type PreparedAttachment, type RawChatAttachment } from './chat-attachment-prep.js'; import type { WorktreeMode } from './worktree-manager.js'; import type { TicketRepositoryContext } from './worktree-manager.js'; interface MentionLike { actor_name?: string; mention_source?: string; role_shortcut?: string; ticket_id?: string; content?: string; } interface ChatHistoryEntry { sender_type?: string; sender_name?: string; sender_id?: string; content?: string; created_at?: string; attachments?: RawChatAttachment[]; type?: string; } interface ChatRoomNewMessage { content?: string; sender_name?: string; sender_id?: string; } export declare const CURRENT_COLUMN_EXECUTION_CONTRACT: string; export declare const WORK_FOLDER_TOKEN = "{{AWB_WORK_FOLDER}}"; export declare function sharedWorktreeInstructions(workFolder: string): string; export declare function perTicketWorktreeInstructions(workFolder: string): string; export declare function worktreeInstructionsFor(mode: WorktreeMode | undefined, workFolder: string): string; export declare function repositoryContextInstructions(context?: TicketRepositoryContext): string; export declare function runWorkspaceInstructions(workFolder: string, kind: 'action' | 'chat'): string; export declare function injectWorkFolder(content: string, workFolder: string): string; export declare function composeTriggerPrompt(ticket: any, _rolePrompt: string, ticketPrompt: string, fallbackTicketId: string, columnPrompt: ColumnPrompt | null, extraInstructions?: string | null): string; export type ChatReplyMode = boolean | 'agent_manager_delivers'; export declare function chatFollowupPolicy(isActionRoom?: boolean): string; export declare function composeChatPrompt(_rolePrompt: string, history: ChatHistoryEntry[], newMessage: string, roomId?: string, usesNativeMcp?: ChatReplyMode, workFolder?: string): string; export declare function composeCommentMentionPrompt(ticket: any, _rolePrompt: string, mention: MentionLike, fallbackTicketId: string): string; export declare function composeChatRoomPrompt(roomId: string, history: ChatHistoryEntry[], newMessage: ChatRoomNewMessage, attachments?: PreparedAttachment[], usesNativeMcp?: ChatReplyMode, historyAttachments?: Map, roomName?: string, isActionRoom?: boolean, workFolder?: string, ordinaryWorkBoards?: Array<{ id: string; name: string; description?: string; }>): string; export declare const promptComposer: PromptComposer; export {};