import { Failure, ProjectPlan, SchedulableIssue, Schedule, SchedulingOptions } from './api-types'; /** * Computes and returns a schedule for the given issues. * * @param issues issues that need to be scheduled * @param options scheduling options * @return promise that will be resolved with the schedule or rejected with a {@link Failure} containing a * human-readable failure description if the problem instance is invalid (for example, has a cyclic dependency * graph) */ export declare function scheduleUnresolved(issues: SchedulableIssue[], options: SchedulingOptions): Promise; /** * Appends a schedule for issues with remaining effort or wait time to a project plan. * * This function does not modify any of its arguments. It returns an entirely new instance that shares no mutable data * with `projectPlan`. * * This function merges any issue activity in `projectPlan` that extends into an activity in `schedule` for the same * issue and by the same contributor. It removes all issue activities in `projectPlan` that start after the first * activity in `schedule` for the same issue and contributor. * * @param projectPlan the project plan, typically containing only past issue activities * @param schedule the (future) schedule for issues with remaining effort or wait time * @param divisionTimestamp Timestamp taken as end for the project plan and as beginning for the future schedule. Any * project-plan activities starting after this timestamp, and any schedule activities ending before this timestamp * are omitted. * @return a new project plan that contains the issue activities of both `projectPlan` and `schedule` */ export declare function appendSchedule(projectPlan: ProjectPlan, schedule: Schedule, divisionTimestamp: number): ProjectPlan | Failure; //# sourceMappingURL=scheduling.d.ts.map