import * as React from 'react'; import { CommentEditor } from '../CommentEditor'; import { ICommentItem, ICommentUser } from '../model'; interface ICommentItemProps { userDefault: ICommentUser; data: ICommentItem; listRoles: string[]; admin: boolean; onOpenReply?: Function; onChangeEditor?: Function; onChangeDeleleComment?: Function; onChangeReaction?: Function; callApiUploadFile: Function; callApiUser: Function; callApiGetListUserTag: Function; linkModuleAccount: string; linkModuleHR: string; } interface ICommentItemStates { editComment: boolean; showActionEdit: boolean; showDropdownEdit: boolean; isOpenModalDelete: boolean; isOpenPopupImage: boolean; } export declare class CommentItem extends React.Component { ref_CommentEditor: CommentEditor; ref_listAction: HTMLElement; ref_comment: HTMLElement; timeOutSetFocus: any; constructor(props: any); componentDidMount(): void; componentWillUnmount(): void; private setPositionReactionDetail; private onEscPress; private onChangeEdit; private onChangeUpdateItem; private onChangeDeleleComment; private onChangeReaction; private handleVisibleChange; private onClosePopover; private onOpenPopupImage; private renderModalActionDelete; private renderModalActionDeleteControlState; private renderActionEdit; private renderActionEditMobile; private renderActionComment; private renderComment; render(): JSX.Element; } export {};