. */ declare(strict_types=1); namespace FireflyIII\Repositories\Telemetry; use Illuminate\Pagination\LengthAwarePaginator; /** * Interface TelemetryRepositoryInterface */ interface TelemetryRepositoryInterface { /** * Return the number of stored telemetry records. * * @return int */ public function count(): int; /** * Return paginated result of telemetry records. * * @param int $pageSize * * @return LengthAwarePaginator */ public function paginated( int $pageSize): LengthAwarePaginator; /** * Delete all records. */ public function deleteAll(): void; /** * */ public function deleteSubmitted(): void; }