import { Issue } from "./issue"; import { User } from "./user"; interface Comment { readonly self: string; readonly id: string; readonly author: User; readonly body: string; readonly updateAuthor: User; readonly created: string; readonly updated: string; readonly jsdPublic?: boolean; } interface CommentEvent { readonly timestamp: number; readonly comment: Comment; readonly issue: Issue; readonly eventType?: string; readonly queryParams?: Record; } export interface IssueCommentCreatedEvent extends CommentEvent { readonly webhookEvent: "comment_created"; } export interface IssueCommentUpdatedEvent extends CommentEvent { readonly webhookEvent: "comment_updated"; } export interface IssueCommentDeletedEvent extends CommentEvent { readonly webhookEvent: "comment_deleted"; } export {}; //# sourceMappingURL=comment.d.ts.map