import type { ProjectId, TaskId } from "@awp/contracts";
import type { MutationContext } from "@awp/contracts";
import type { Clock, IdGenerator } from "./ports/runtime.js";
import type { UnitOfWork } from "./ports/repositories.js";
export interface ReorderQueueCommand {
    readonly projectId: ProjectId;
    readonly taskId: TaskId;
    readonly desiredPosition: number;
    readonly currentOrder: readonly TaskId[];
    readonly context: MutationContext;
}
export declare class ReorderQueueHandler {
    private readonly uow;
    private readonly ids;
    private readonly clock;
    constructor(uow: UnitOfWork, ids: IdGenerator, clock: Clock);
    execute(command: ReorderQueueCommand): Promise<readonly TaskId[]>;
}
//# sourceMappingURL=commands.d.ts.map