*/ public function streamAll( PageSize $pageSize = new PageSize(), ?EmployeeSorter $sorter = null, ): StreamOf; /** @return StreamOf */ public function streamAllSince( \DateTimeInterface $since, PageSize $pageSize = new PageSize(), \SortDirection $sortDirection = \SortDirection::Descending, ): StreamOf; /** * @param SiteId[]|SiteId $sites * @return StreamOf */ public function streamAllOfSitesSince( array | SiteId $sites, \DateTimeInterface $since, PageSize $pageSize = new PageSize(), \SortDirection $sortDirection = \SortDirection::Descending, ): StreamOf; /** * @param SiteId[]|SiteId $sites * @return StreamOf */ public function streamAllOfSites( array | SiteId $sites, PageSize $pageSize = new PageSize(), ?EmployeeSorter $sorter = null, ): StreamOf; /** @return PageOf|ApiError */ public function getAllSince( Pagination $pagination, \DateTimeInterface $since, \SortDirection $sortDirection = \SortDirection::Descending, ): PageOf | ApiError; /** @return PageOf|ApiError */ public function getAll( Pagination $pagination, ?EmployeeSorter $sorter = null, ): PageOf | ApiError; /** * @param SiteId[]|SiteId $sites * @return PageOf|ApiError */ public function getAllOfSitesSince( Pagination $pagination, array | SiteId $sites, \DateTimeInterface $since, \SortDirection $sortDirection = \SortDirection::Descending, ): PageOf | ApiError; /** * @param SiteId[]|SiteId $sites * @return PageOf|ApiError */ public function getAllOfSites( Pagination $pagination, array | SiteId $sites, ?EmployeeSorter $sorter = null, ): PageOf | ApiError; public function findBy(ArcadiaEmployeeId $id): Employee | null | ApiError; }