import { BaseCommand } from "../base-command.js"; export default class Install extends BaseCommand { static description: string; static examples: string[]; /** * AR: اسم المنتج، **موضعيًّا لا بعَلَم** (٠٢٦). ‎fantastic install estraha‎ هي الجملة التي * تُقال في مكالمة دعمٍ وتُكتب في دليل؛ و‎--product estraha‎ جملةٌ يكتبها من يقرأ مساعدة. * * واختياريّ: جهازٌ واحدٌ يُثبَّت اليوم، ومن كتب ‎install --from file.zip‎ في سكربتٍ قديم يجب * أن يبقى سكربته يعمل حرفيًّا. * EN: The product name, **positional rather than a flag** (026). `fantastic install estraha` is * the sentence said in a support call and written in a manual; `--product estraha` is one * written by someone reading a help page. * * Optional: one product is installed today, and whoever wrote `install --from file.zip` in an * old script must find it working verbatim. */ static args: { product: import("@oclif/core/interfaces").Arg>; }; static flags: { from: import("@oclif/core/interfaces").OptionFlag; code: import("@oclif/core/interfaces").OptionFlag; root: import("@oclif/core/interfaces").OptionFlag; port: import("@oclif/core/interfaces").OptionFlag; "live-port": import("@oclif/core/interfaces").OptionFlag; yes: import("@oclif/core/interfaces").BooleanFlag; boot: import("@oclif/core/interfaces").BooleanFlag; sha256: import("@oclif/core/interfaces").OptionFlag; }; run(): Promise; /** * AR: يقتني الحزمة من المنصّة المركزية، ويعيد مسار الملفّ المنزَّل (٠٢٦/US1). * * **الترتيب هو الأمان، لا التنظيم** — نفس قاعدة ‎update.ts‎: * ١ — الكود. بلا نداءٍ شبكيّ إن لم يوجد كود أصلًا. * ٢ — ‎/latest‎: الإصدار والبصمة والحجم واشتراط الواجهة. **البصمة قبل البايتات.** * ٣ — فحص التوافق. **قبل التنزيل**: نصف غيغابايت لا يُركَّب لا يجوز أن يُنزَّل أصلًا. * ٤ — التنزيل باستئناف. * ٥ — مطابقة البصمة. وما لا يطابق لا يُركَّب، ويُحذف إن كان الحجم صحيحًا (تبديلٌ أو تلف). * * وكلّ فشلٍ هنا يقع **قبل أن يُكتب بايتٌ واحد في مجلد التثبيت**. * EN: Acquires the bundle from the central platform and returns the downloaded file's path * (026/US1). * * **The order is the safety, not the tidiness** — `update.ts`'s rule: * 1 — the code. No network call at all if there is none. * 2 — `/latest`: version, digest, size and the CLI requirement. **The digest before the bytes.** * 3 — the compatibility check. **Before downloading**: half a gigabyte that cannot be installed * must never be downloaded. * 4 — the download, with resumption. * 5 — the digest comparison. What does not match is not installed, and is deleted when the size * was right (substitution or corruption). * * Every failure here happens **before a single byte is written into the install directory**. */ /** كود التفعيل حين اقتُنيت الحزمة من المركز. غائبٌ في مسار ‎--from‎ المعزول، وذلك صحيح. */ private activationCode?; private acquire; /** بيانات المالك إن طبعتها النواة في هذا الإقلاع. الصياغة نفسها في ‎setup‎: افتراضية تُغيَّر. */ private showCredentials; } //# sourceMappingURL=install.d.ts.map