// Generated by dts-bundle v0.7.3 // Dependencies for this module: // ../../../react import * as React from 'react'; global { interface Window { social: any; } } export interface IPublishingLikesAndCommentsProps { user: IUser; top?: number; itemId: string; item?: IAItem; webpartId?: string; tenant: string; component: string; instance: string; token: string; environment?: 'Development' | 'Test' | 'Production'; source: 'Home' | 'Mobile' | 'SharePoint'; imageUploadUrl: string; likesEnabled: boolean; commentsEnabled: boolean; likesOnCommentsEnabled?: boolean; color?: string; style?: React.CSSProperties; padding: number; likes?: ILike[]; commentCount?: number; isMobile: boolean; dataAutomationIdPrefix?: string; newCommentPopupIsShowing: (isShowing: boolean) => void; likesUpdated: (likes: ILike[]) => void; commentsUpdated: (comments: number) => void; commentClicked?: () => void; commentCanceled?: () => void; isWriting: () => void; } export interface IPublishingLikesAndCommentsState { showSpinner: boolean; showAllComments: boolean; likes: ILike[]; comments: IComment[]; showLikeButtonLoader: boolean; allCommentsCount: number; reply: IReply; isMobile: boolean; } export class IAPublishingLikesAndComments extends React.Component { constructor(props: IPublishingLikesAndCommentsProps); componentDidMount(): void; componentWillReceiveProps(props: IPublishingLikesAndCommentsProps): void; render(): JSX.Element; } export interface IComment { id: string; user: IUser; itemId: string; content: string; created: Date; likes: ILike[]; source: string; mentions?: IUser[]; reply?: IReply; isDeleted?: boolean; isEdited?: boolean; } export interface IUser { displayName?: string; userPrincipalName?: string; jobTitle?: string; image?: string; id?: string; userName?: string; title?: string; name?: string; email?: string; photo?: string; loginName?: string; } export interface IReply { user: IUser; commentId: string; } export interface ILike { id?: any; user?: IUser; type?: string; } export interface IAItem { id: number; type: "Message" | "News" | "Notification"; title: string; topStory?: boolean; rollupImage?: string; pageImage?: string; imageGalleryData?: string; teaser?: string; creationDate?: Date; startDate?: Date; author: IUser; content: string; categories?: any[]; likes?: ILike[]; comments?: IComment[]; listId?: string; site?: string; hideLikes?: boolean; hideComments?: boolean; videoUrl?: string; instance?: string; }