export interface SummaryState { originalText: string; summary: string; isLoading: boolean; error: string | null; } export interface SummaryResponse { summary: string; error?: string; }