import type { AssistantMessage } from "@earendil-works/pi-ai";
export declare function buildAgentPromptHash(automationEnabled: boolean): string;
export declare function streamAgentResponse({ env, pageUrl, pageTitle, pageContent, messages, modelOverride, tools, automationEnabled, onChunk, onAssistant, signal, }: {
    env: Record<string, string | undefined>;
    pageUrl: string;
    pageTitle: string | null;
    pageContent: string;
    messages: unknown;
    modelOverride: string | null;
    tools: string[];
    automationEnabled: boolean;
    onChunk: (text: string) => void;
    onAssistant: (assistant: AssistantMessage) => void;
    signal?: AbortSignal;
}): Promise<void>;
export declare function completeAgentResponse({ env, pageUrl, pageTitle, pageContent, messages, modelOverride, tools, automationEnabled, signal, }: {
    env: Record<string, string | undefined>;
    pageUrl: string;
    pageTitle: string | null;
    pageContent: string;
    messages: unknown;
    modelOverride: string | null;
    tools: string[];
    automationEnabled: boolean;
    signal?: AbortSignal;
}): Promise<AssistantMessage>;
