export interface DomainError { type: DomainErrorType; subType?: DomainErrorSubType; value?: any; } export declare type DomainSuccess = {}; export declare type Unit = "Unit"; declare type DomainErrorType = "ValidationError" | "UserError" | "GitError" | "BackendError" | "UnknownError"; declare type DomainErrorSubType = ValidationErrorSubType | UserErrorSubType | GitErrorSubType | BackendErrorSubType; declare type ValidationErrorSubType = "NotIssueNumberError" | "NotHttpAddress" | "NotIncludingPattern" | "NotBranchName" | "NotHttpsGithubAddress" | "NotSshGithubAddress" | "NotNumberError"; declare type UserErrorSubType = "UserCancel"; declare type GitErrorSubType = "GitErrorNoRemoteBranch" | "GitErrorFailedToPull" | "GitErrorMergeConflict" | "NotExistingBranch" | "NoCurrentBranch" | "NoLocalFeatureBranch" | "NoBranchNameInIssueRecord" | "ErrorMessageFound" | "NotMatchedPullOutput"; declare type BackendErrorSubType = "IssueRecordNotFound"; export {};