* SPDX-License-Identifier: AGPL-3.0-or-later */ namespace KTXM\DocumentsManager\Stream; /** * Implemented by a stream event that declares, up front, how many data frames * are expected to follow. When such an event leads a stream generator, the * envelope writer folds its value into the `control:start` frame's `total` * (the progress denominator) instead of emitting it as a `data` frame. */ interface ExpectedTotal { public function expectedTotal(): int; }