. */ namespace SP\Domain\Export; use SP\Core\Exceptions\CheckException; use SP\Infrastructure\File\FileException; /** * Clase XmlExport para realizar la exportación de las cuentas de sysPass a formato XML * * @package SP */ interface XmlExportServiceInterface { /** * Realiza la exportación de las cuentas a XML * * @param string $exportPath * @param string|null $pass La clave de exportación * * @throws \SP\Domain\Common\Services\ServiceException * @throws \SP\Infrastructure\File\FileException */ public function doExport(string $exportPath, ?string $pass = null): void; /** * @throws CheckException * @throws FileException */ public function createArchive(): void; public function getExportFile(): string; public function isEncrypted(): bool; }