import type { WorkItem } from '../../../domain/generated/output.js';
import type { IPmProjectRepository } from '../../ports/output/repositories/pm-project-repository.interface.js';
import type { IWorkItemRepository } from '../../ports/output/repositories/work-item-repository.interface.js';
import type { IWorkItemStateRepository } from '../../ports/output/repositories/work-item-state-repository.interface.js';
import type { IActivityLogRepository } from '../../ports/output/repositories/activity-log-repository.interface.js';
export interface CreateWorkItemInput {
    projectId: string;
    title: string;
    description?: string;
    stateId?: string;
    priority?: string;
    parentId?: string;
    startDate?: Date;
    dueDate?: Date;
    estimateValue?: string;
}
export type CreateWorkItemResult = {
    ok: true;
    workItem: WorkItem;
} | {
    ok: false;
    error: string;
};
export declare class CreateWorkItemUseCase {
    private readonly projectRepo;
    private readonly workItemRepo;
    private readonly stateRepo;
    private readonly activityRepo;
    constructor(projectRepo: IPmProjectRepository, workItemRepo: IWorkItemRepository, stateRepo: IWorkItemStateRepository, activityRepo: IActivityLogRepository);
    execute(input: CreateWorkItemInput): Promise<CreateWorkItemResult>;
    private getAncestorDepth;
}
//# sourceMappingURL=create-work-item.use-case.d.ts.map