. */ namespace SP\Domain\Export\Ports; use SP\Domain\Common\Services\ServiceException; use SP\Domain\Export\Services\VerifyResult; use SP\Domain\Import\Services\ImportException; use SP\Infrastructure\File\FileException; /** * Class XmlVerifyService * * Verifies a sysPass exported file format * * @package SP\Domain\Export\Services */ interface XmlVerifyService { /** * @throws FileException * @throws ImportException * @throws ServiceException */ public function verify(string $xmlFile, ?string $password = null): VerifyResult; }