import { type ClientOverride } from "../session-context.js"; export type SessionListLabels = { heading: string; newChat: string; empty: string; loading: string; loadMore: string; rename: string; archive: string; save: string; cancel: string; }; export type SessionListProps = ClientOverride & { selectedSessionId?: string | null | undefined; onSelect: (sessionId: string) => void; /** Shown as a "New chat" button when provided. */ onNewChat?: (() => void) | undefined; /** Allow inline rename (`updateSession`). Defaults to true. */ rename?: boolean | undefined; /** * Allow archiving (`updateSessionArchive`). Defaults to true; hidden when the * session proxy reports archive disabled (`archive: false`). */ archive?: boolean | undefined; /** Called after the selected chat was archived, so the host can move on. */ onArchived?: ((sessionId: string) => void) | undefined; pageSize?: number | undefined; /** Change the reference to force a refetch (for example after creating a chat). */ refreshKey?: unknown; labels?: Partial | undefined; className?: string | undefined; }; /** * The workspace's root chats for the current user, newest activity first. * Through `createSessionProxyHandler` the list is limited to the chats the * resolved user created (or everything they may read, with `sessionList: * "visible"`); Opengeni enforces visibility either way. */ export declare function SessionList({ client, workspaceId, selectedSessionId, onSelect, onNewChat, rename, archive, onArchived, pageSize, refreshKey, labels: labelOverrides, className, }: SessionListProps): import("react").JSX.Element;