import { ExecutorOrCreator, PostId, UserId, TagId, ProjectId, VisibleOption } from 'teambition-types'; import { FileSchema } from './File'; export declare type PostModeOptions = 'md' | 'html'; export interface PostSchema { _id: PostId; _projectId: ProjectId; _creatorId: UserId; attachments: FileSchema[]; attachmentsCount?: number; commentsCount?: number; content: string; created: string; creator: ExecutorOrCreator; html: string; involveMembers: UserId[]; isArchived: boolean; isFavorite: boolean; lastCommentedAt: string | null; pin: boolean; postMode: PostModeOptions; source: string; tagIds: TagId[]; title: string; updated: string; visible: VisibleOption; likesCount: number; objectlinksCount: number; objectType: 'post'; shareStatus: number; }