import type { Message } from '../types'; import type { PhaseStatus } from './usePhaseUpdates'; import type { AuthedFetch } from './useSession'; export interface SessionHistory { messages: Message[]; phases: PhaseStatus[]; isLoading: boolean; } interface UseSessionHistoryParams { agentId: string | undefined; enabled: boolean; authedFetch: AuthedFetch; } export declare function useSessionHistory({ agentId, enabled, authedFetch, }: UseSessionHistoryParams): SessionHistory; export {};