export interface ConversationParticipant { server_user_id: string; nickname: string; avatar_file_id: string | null; /** The owl look, so a row draws the same face the member list does. */ avatar_worn: string | null; } export interface DirectConversation { conversation_id: string; /** Two people, or more than two. Groups get their own section. */ kind: "dm" | "group"; /** What a group was named. Null means read it off `members`. */ name: string | null; /** An upload. Null means draw one from the name. */ icon_file_id: string | null; created_at: string; last_message_at: string | null; /** Everybody but you. */ members: ConversationParticipant[]; /** The first of `members`. The whole story on a one-to-one. */ other: ConversationParticipant; } export declare function conversationTitle(conversation: DirectConversation): string;