import type { Message, Tool } from "@earendil-works/pi-ai";
export declare function getAgentPrompt(automationEnabled: boolean): string;
export declare function buildSystemPrompt({ pageUrl, pageTitle, pageContent, automationEnabled, }: {
    pageUrl: string;
    pageTitle: string | null;
    pageContent: string;
    automationEnabled: boolean;
}): string;
export declare function flattenAgentForCli({ systemPrompt, messages, }: {
    systemPrompt: string;
    messages: Message[];
}): string;
export declare function normalizeMessages(raw: unknown): Message[];
export declare function resolveToolList(automationEnabled: boolean, tools: string[], definitions: Record<string, Tool>): Tool[];
