import { type FC, type ReactElement } from 'react';
import type { ChatExportResult } from 'cody-ai/src/jsonrpc/agent-protocol';
export type { ChatExportResult };
interface ChildInput {
    chats: ChatExportResult[];
    loading: boolean;
    error: Error | null;
    selectChat: (chat: ChatExportResult) => unknown;
    createNewChat: (force?: boolean) => void;
    deleteChat: (chat: ChatExportResult) => void;
    isSelectedChat: (chat: ChatExportResult) => boolean;
}
interface CodyWebHistoryProps {
    children: (input: ChildInput) => ReactElement;
}
export declare const CodyWebHistory: FC<CodyWebHistoryProps>;
export declare function getChatTitle(chat: ChatExportResult): string;
//# sourceMappingURL=CodyWebHistory.d.ts.map