import { Issue } from '../entities/Issue'; import { IssueRepository } from './adapter-interfaces/IssueRepository'; import { Project } from '../entities/Project'; import { StoryObjectMap } from '../entities/StoryObjectMap'; import { ProjectRepository } from './adapter-interfaces/ProjectRepository'; import { Member } from '../entities/Member'; import { DateRepository } from './adapter-interfaces/DateRepository'; import { SpreadsheetRepository } from './adapter-interfaces/SpreadsheetRepository'; import { ActionAnnouncementUseCase } from './ActionAnnouncementUseCase'; import { SetWorkflowManagementIssueToStoryUseCase } from './SetWorkflowManagementIssueToStoryUseCase'; import { ClearPastNextActionDateHourUseCase } from './ClearPastNextActionDateHourUseCase'; import { ClearDependedIssueURLUseCase } from './ClearDependedIssueURLUseCase'; import { SetDependedIssueUrlForOpenTaskPRsUseCase } from './SetDependedIssueUrlForOpenTaskPRsUseCase'; import { StaleTaskPullRequestCloseUseCase } from './StaleTaskPullRequestCloseUseCase'; import { CreateEstimationIssueUseCase } from './CreateEstimationIssueUseCase'; import { ChangeStatusByStoryColorUseCase } from './ChangeStatusByStoryColorUseCase'; import { DependedIssueURLRestoreUseCase } from './DependedIssueURLRestoreUseCase'; import { SetNoStoryIssueToStoryUseCase } from './SetNoStoryIssueToStoryUseCase'; import { CreateNewStoryByLabelUseCase } from './CreateNewStoryByLabelUseCase'; import { AssignNoAssigneeIssueToManagerUseCase } from './AssignNoAssigneeIssueToManagerUseCase'; import { UpdateIssueStatusByLabelUseCase } from './UpdateIssueStatusByLabelUseCase'; import { IssueNoStatusUpdateUseCase } from './IssueNoStatusUpdateUseCase'; import { RotationOrderEntry, StartPreparationUseCase } from './StartPreparationUseCase'; import { AgentDesignationLabelAdoptUseCase } from './AgentDesignationLabelAdoptUseCase'; import { RevertOrphanedPreparationUseCase } from './RevertOrphanedPreparationUseCase'; import { NonPreparationWorkerScopeStopUseCase } from './NonPreparationWorkerScopeStopUseCase'; import { RevertNotReadyReviewQueueIssueUseCase } from './RevertNotReadyReviewQueueIssueUseCase'; import { ProjectRequiredFieldCreateUseCase } from './ProjectRequiredFieldCreateUseCase'; import { SetupTowerDefenceProjectUseCase } from './SetupTowerDefenceProjectUseCase'; import { UpdateRateLimitCacheUseCase } from './UpdateRateLimitCacheUseCase'; import { DailySecurityScanConfig, DailySecurityScanUseCase } from './DailySecurityScanUseCase'; import { QualityCheckAdvanceUseCase } from './QualityCheckAdvanceUseCase'; import { ReopenedDoneIssueRevertUseCase } from './ReopenedDoneIssueRevertUseCase'; import { ClosedStoryIssueReopenUseCase } from './ClosedStoryIssueReopenUseCase'; import { ConflictedIssueRevertUseCase } from './ConflictedIssueRevertUseCase'; import { OwnerRepliedIssueRevertUseCase } from './OwnerRepliedIssueRevertUseCase'; import { ClosedAwaitingOwnerIssueRevertUseCase } from './ClosedAwaitingOwnerIssueRevertUseCase'; import { WorkflowIssueReporterSettings } from './reportSilentRedispatchWorkflowIssue'; import { Sleep } from '../services/commentCreateWithDedupRetry'; export declare class ProjectNotFoundError extends Error { constructor(message: string); } export declare class HandleScheduledEventUseCase { readonly projectRequiredFieldCreateUseCase: ProjectRequiredFieldCreateUseCase; readonly setupTowerDefenceProjectUseCase: SetupTowerDefenceProjectUseCase; readonly actionAnnouncementUseCase: ActionAnnouncementUseCase; readonly setWorkflowManagementIssueToStoryUseCase: SetWorkflowManagementIssueToStoryUseCase; readonly clearPastNextActionUseCase: ClearPastNextActionDateHourUseCase; readonly clearDependedIssueURLUseCase: ClearDependedIssueURLUseCase; readonly setDependedIssueUrlForOpenTaskPRsUseCase: SetDependedIssueUrlForOpenTaskPRsUseCase; readonly staleTaskPullRequestCloseUseCase: StaleTaskPullRequestCloseUseCase; readonly createEstimationIssueUseCase: CreateEstimationIssueUseCase; readonly changeStatusByStoryColorUseCase: ChangeStatusByStoryColorUseCase; readonly dependedIssueURLRestoreUseCase: DependedIssueURLRestoreUseCase; readonly setNoStoryIssueToStoryUseCase: SetNoStoryIssueToStoryUseCase; readonly createNewStoryByLabelUseCase: CreateNewStoryByLabelUseCase; readonly assignNoAssigneeIssueToManagerUseCase: AssignNoAssigneeIssueToManagerUseCase; readonly updateIssueStatusByLabelUseCase: UpdateIssueStatusByLabelUseCase; readonly issueNoStatusUpdateUseCase: IssueNoStatusUpdateUseCase; readonly startPreparationUseCase: StartPreparationUseCase; readonly revertOrphanedPreparationUseCase: RevertOrphanedPreparationUseCase; readonly nonPreparationWorkerScopeStopUseCase: NonPreparationWorkerScopeStopUseCase; readonly conflictedIssueRevertUseCase: ConflictedIssueRevertUseCase; readonly ownerRepliedIssueRevertUseCase: OwnerRepliedIssueRevertUseCase; readonly closedAwaitingOwnerIssueRevertUseCase: ClosedAwaitingOwnerIssueRevertUseCase; readonly revertNotReadyReviewQueueIssueUseCase: RevertNotReadyReviewQueueIssueUseCase; readonly agentDesignationLabelAdoptUseCase: AgentDesignationLabelAdoptUseCase; readonly updateRateLimitCacheUseCase: UpdateRateLimitCacheUseCase | null; readonly dailySecurityScanUseCase: DailySecurityScanUseCase | null; readonly qualityCheckAdvanceUseCase: QualityCheckAdvanceUseCase; readonly reopenedDoneIssueRevertUseCase: ReopenedDoneIssueRevertUseCase; readonly closedStoryIssueReopenUseCase: ClosedStoryIssueReopenUseCase; readonly dateRepository: DateRepository; readonly spreadsheetRepository: SpreadsheetRepository; readonly projectRepository: ProjectRepository; readonly issueRepository: IssueRepository; private readonly sleep; constructor(projectRequiredFieldCreateUseCase: ProjectRequiredFieldCreateUseCase, setupTowerDefenceProjectUseCase: SetupTowerDefenceProjectUseCase, actionAnnouncementUseCase: ActionAnnouncementUseCase, setWorkflowManagementIssueToStoryUseCase: SetWorkflowManagementIssueToStoryUseCase, clearPastNextActionUseCase: ClearPastNextActionDateHourUseCase, clearDependedIssueURLUseCase: ClearDependedIssueURLUseCase, setDependedIssueUrlForOpenTaskPRsUseCase: SetDependedIssueUrlForOpenTaskPRsUseCase, staleTaskPullRequestCloseUseCase: StaleTaskPullRequestCloseUseCase, createEstimationIssueUseCase: CreateEstimationIssueUseCase, changeStatusByStoryColorUseCase: ChangeStatusByStoryColorUseCase, dependedIssueURLRestoreUseCase: DependedIssueURLRestoreUseCase, setNoStoryIssueToStoryUseCase: SetNoStoryIssueToStoryUseCase, createNewStoryByLabelUseCase: CreateNewStoryByLabelUseCase, assignNoAssigneeIssueToManagerUseCase: AssignNoAssigneeIssueToManagerUseCase, updateIssueStatusByLabelUseCase: UpdateIssueStatusByLabelUseCase, issueNoStatusUpdateUseCase: IssueNoStatusUpdateUseCase, startPreparationUseCase: StartPreparationUseCase, revertOrphanedPreparationUseCase: RevertOrphanedPreparationUseCase, nonPreparationWorkerScopeStopUseCase: NonPreparationWorkerScopeStopUseCase, conflictedIssueRevertUseCase: ConflictedIssueRevertUseCase, ownerRepliedIssueRevertUseCase: OwnerRepliedIssueRevertUseCase, closedAwaitingOwnerIssueRevertUseCase: ClosedAwaitingOwnerIssueRevertUseCase, revertNotReadyReviewQueueIssueUseCase: RevertNotReadyReviewQueueIssueUseCase, agentDesignationLabelAdoptUseCase: AgentDesignationLabelAdoptUseCase, updateRateLimitCacheUseCase: UpdateRateLimitCacheUseCase | null, dailySecurityScanUseCase: DailySecurityScanUseCase | null, qualityCheckAdvanceUseCase: QualityCheckAdvanceUseCase, reopenedDoneIssueRevertUseCase: ReopenedDoneIssueRevertUseCase, closedStoryIssueReopenUseCase: ClosedStoryIssueReopenUseCase, dateRepository: DateRepository, spreadsheetRepository: SpreadsheetRepository, projectRepository: ProjectRepository, issueRepository: IssueRepository, sleep?: Sleep); run: (input: { projectName: string; org: string; projectUrl: string; manager: Member["name"]; workingReport: { repo: string; members: Member["name"][]; spreadsheetUrl: string; }; urlOfStoryView: string; disabled: boolean; labelsAsLlmAgentName?: string[] | null; labelsNotRequiringPullRequest?: string[] | null; changeTargetPathAliases?: Record | null; allowedIssueAuthors?: string[] | null; autoAssignManagerAuthors?: string[] | null; agents?: string[] | null; llmModelNameByAgentName?: Record | null; agentDesignationLabelsToKeep?: string[] | null; startPreparation?: { defaultAgentName: string; defaultLlmModelName?: string | null; defaultLlmAgentName?: string | null; configFilePath: string; maximumPreparingIssuesCount: number | null; utilizationPercentageThreshold?: number; allowedIssueAuthors?: string[] | null; preparationProcessCheckCommand?: string; codexHomeCandidates?: string[] | null; awLogDirectoryPath?: string; agentDefinitionsDirectoryPath?: string; awLogStaleThresholdMinutes?: number; awaitingOwnerStatus?: string | null; autoAdvanceQualityCheckEnabled?: boolean; autoRevertReopenedDoneEnabled?: boolean; labelsAsLlmAgentName?: string[] | null; } | null; thresholdForAutoReject?: number; thresholdForDispatchLoop?: number; queryToAddProjectEnabled?: boolean; queryToAddProject?: string | null; dailySecurityScan?: DailySecurityScanConfig | null; developerAgentNames?: string[] | null; workflowIssueReporterSettings?: WorkflowIssueReporterSettings | null; allowedDependencyRepoNameWithOwner?: string | null; afterIssuesFetched?: ((project: Project, issues: Issue[]) => void | Promise) | null; }) => Promise<{ project: Project; issues: Issue[]; cacheUsed: boolean; targetDateTimes: Date[]; storyIssues: StoryObjectMap; rotationOrder: RotationOrderEntry[] | null; storyOptionWriteFailures: string[]; } | null>; private createCommentByUrlWithDedup; private refetchAndWriteStoryOption; runEachUseCases: (input: Parameters[0], project: Project, issues: Issue[], cacheUsed: boolean, targetDateTimes: Date[], storyObjectMap: StoryObjectMap, runSlowSweep: boolean, now: Date) => Promise<{ rotationOrder: RotationOrderEntry[] | null; }>; private runOperationIsolated; runSlowSweepUseCases: (input: Parameters[0], project: Project, issues: Issue[], cacheUsed: boolean, targetDateTimes: Date[], storyObjectMap: StoryObjectMap, now: Date) => Promise; static createTargetDateTimes: (from: Date, to: Date) => Date[]; runSpreadsheetOperation: (operation: "read" | "write", spreadsheetUrl: string, org: string, repo: string, manager: Member["name"], action: () => Promise) => Promise; findTargetDateAndUpdateLastExecutionDateTime: (spreadsheetUrl: string, now: Date, org: string, repo: string, manager: Member["name"]) => Promise; shouldRunSlowSweep: (spreadsheetUrl: string, now: Date, org: string, repo: string, manager: Member["name"]) => Promise; storyIssues: (input: { project: Project; issues: Issue[]; }) => Promise; } //# sourceMappingURL=HandleScheduledEventUseCase.d.ts.map