/** * Narrative Response Formatting * * Formats Frame search results as natural language prose instead of JSON. */ import type { Frame } from "./frames/types.js"; import type { NaturalQuery } from "./natural-query.js"; export interface NarrativeItem { summary: string; date: string; frameId: string; keywords: string[]; } export interface NarrativeGroup { timeGroup: string; items: NarrativeItem[]; } export interface NarrativeResponse { summary: string; groupedResults: NarrativeGroup[]; followUp: string; } /** * Format frames as narrative prose */ export declare function formatAsNarrative(frames: Frame[], query: NaturalQuery): string; /** * Build a narrative response object */ export declare function buildNarrativeResponse(frames: Frame[], query: NaturalQuery): NarrativeResponse;