import { ChatMessage } from '../types/streamChat';
export declare const useSummary: (api: string, headers?: any) => {
    onSubmit: (body: any) => Promise<void>;
    loading: boolean;
    summary: string;
    messages: ChatMessage[];
};
