export interface BbsProps { title?: string; avatar?: string; border?: boolean; time?: string; view?: string | number; good?: string | number; author?: string; tags?: string[]; } export interface BbsSlot { title?: () => any; avatar?: () => any; body?: () => any; } export interface CommentProps { id: string | number; parentId?: string | number; author?: string; avatar?: string; remark?: string; time?: string; good?: string | number; comments?: CommentProps[]; } export interface CommentSlot { author?: () => any; avatar?: () => any; } export interface CommentEmits { (e: 'comment-change', value: string): void; (e: 'comment-reply', payload: { content: string; parentId?: string | number; }): void; }