import type { AppRegistryMeta } from '../../AppRegistry';
import { MessageSquare, List } from 'lucide-react';
import { SessionList } from './SessionList';
import { ChatDetailPanel } from './ChatDetailPanel';

export { SessionBar } from './SessionBar';
export { SessionList };
export { ChatDetailPanel };
export type { SelectedSession } from './ChatDetailPanel';

export const appRegistryMetas: AppRegistryMeta[] = [
  {
    key: 'chat-session-list',
    name: 'Sessions',
    icon: List,
    component: SessionList,
    availableOnPanel: false,
  },
  {
    key: 'chat-detail',
    name: 'Chat',
    icon: MessageSquare,
    component: ChatDetailPanel,
    availableOnPanel: false,
  },
];
