import type { Context, Message, Tool } from "@earendil-works/pi-ai"; export declare function activeTools(context: Context): Tool[]; export declare function activeSystemPrompt(context: Context): string; export declare function messageToText(message: Message): string; export declare function contextToBridgePrompt(context: Context, options?: { includeSystemPrompt?: boolean; extraInstructions?: string; }): string; export declare function contextToBridgePromptWithHistory(context: Context, options?: { includeSystemPrompt?: boolean; extraInstructions?: string; }): { message: string; history: { role: "user" | "assistant"; content: string; }[]; }; export declare function flattenTools(tools: Tool[] | undefined): Array>;