export function stealNarutoWork(queue, input = {}) {
    const item = queue.shift() || null;
    return {
        schema: 'sks.naruto-work-stealing.v1',
        stolen: Boolean(item),
        work_item_id: item?.id || null,
        from_queue: input.fromQueue || 'pending',
        to_slot: input.toSlot || 'idle-slot'
    };
}
//# sourceMappingURL=naruto-work-stealing.js.map