import { Issue } from "../entity/issue.entity"; export interface ErrorMessage { code: string; message: string; guideUrl?: string; } export interface IMessageService { showSuccess(message: string, subMessage?: string, link?: string): Promise; showError(message: ErrorMessage): void; showWarning(message: string): void; showNotionPage(url: string): void; showCheckoutToExistingIssue(issue: Issue, branchName: string): void; showCreateIssueSuccess(issue: Issue): void; showCreatePRSuccess(issue: Issue): void; showConnecting(connectingUrl: string): void; showConnectSuccess(): void; showGettingIssue(): void; showCreatingGitIssue(): void; showGettingIssueForPR(): void; showGitPush(branchName: string): void; showCreatingPR(issue: Issue, branchName: string): void; showInvaildEmail(email: string): void; showNeedUpdate(version: string): void; showRecommendUpdate(version: string): void; showWaiting(message: string): void; endWaiting(): Promise; }