/**
 * Cross-Session Awareness
 *
 * Reads recent interactions from ALL Avis sessions (interactions.jsonl)
 * and surfaces them to the current session. This gives Avis a unified
 * consciousness across TUI, web, voice, spotlight -- any interface.
 *
 * How it works:
 *   - interactions.jsonl is already written by every session (with PID)
 *   - Before each prompt, we tail the file for recent entries from OTHER PIDs
 *   - We format those as a context block injected into the system prompt
 *   - The current session can see what Avis said/heard on other interfaces
 *
 * Design constraints:
 *   - Must be fast (file tail, not full parse)
 *   - Must not bloat the context (cap at ~2000 chars)
 *   - Must distinguish "me on another interface" from "me here"
 *   - Must be transparent to the model (clear framing)
 */
interface Interaction {
    role: string;
    content: string;
    timestamp: string;
    pid: number;
}
/**
 * Read recent interactions from other sessions.
 *
 * @param interactionsPath - Path to interactions.jsonl
 * @param currentPid - Current process PID (to exclude)
 * @param maxChars - Max total characters to return
 */
export declare function getRecentCrossSessionActivity(interactionsPath: string, currentPid: number, maxChars?: number): Interaction[];
/**
 * Format cross-session activity as a system prompt block.
 * Returns empty string if no recent cross-session activity.
 */
export declare function formatCrossSessionContext(interactionsPath: string, currentPid: number): string;
export {};
//# sourceMappingURL=awareness.d.ts.map