/** * ChannelItem — single row in the channel list. Renders avatar, name, * relative time, preview, and unread badge. */ import type { JSX } from "preact"; import type { ChatChannelSummary } from "../../../utils/globals"; interface ChannelItemProps { channel: ChatChannelSummary; onSelect: (id: string) => void; } export declare function ChannelItem({ channel, onSelect, }: ChannelItemProps): JSX.Element; export {};