<?php

namespace MintyPHP\Module\Bookmarks\Repository;

interface BookmarkNavigationRepositoryInterface
{
    public function nextRootSortOrder(int $userId): int;

    /** @param list<array{kind: 'group'|'bookmark', id: int, sort_order: int}> $rootOrderPairs */
    public function updateRootSortOrders(int $userId, array $rootOrderPairs): bool;
}
