export declare const BUNDLE_DIRS: { /** ما لا نكتبه ونشحنه: العُقدة وأدوات الوسائط. */ readonly runtime: "runtime"; readonly core: "core"; readonly live: "live"; /** * AR: **المُشرِف وحده، لا الواجهة** (٠٢٦). * * كان هنا ‎cli\‎: الواجهة كاملةً بشجرة اعتمادياتها (٠١٨)، ‎34‎ ميغابايت مقيسة. وقد خرجت إلى * سِجلّ الحزم لأن عمرها مختلفٌ عن عمر المنتج — إصلاح سطرٍ فيها كان يكلّف إعادة تحزيمٍ * وإعادة تثبيت. * * **وبقي المُشرِف لسببٍ واحد لا يقبل بديلًا**: مهمّة الإقلاع في جدولة ويندوز تناديه بمسارٍ * مطلق، وتعمل بلا إنسانٍ أمام الجهاز بعد انقطاع الكهرباء، وبحسابٍ قد يكون ‎SYSTEM‎ أو حساب * فنّيٍّ آخر. وتوجيهها إلى الواجهة العالمية يعني ‎%AppData%\Roaming\npm‎ الخاصّ **بمستخدمٍ * بعينه** — مسارٌ لا يجده حسابٌ آخر، في المسار الذي لا يقرأ أحدٌ فيه رسالة خطأ. * * ويعمل على ‎runtime\‎ المشحون كبقيّة الخدمات، فقاعدة العزل تبقى مفروضةً حيث تخدم مشاهدًا. * EN: **The supervisor alone, not the CLI** (026). * * This used to be `cli\`: the whole CLI with its dependency tree (018), a measured 34 MB. It * moved to a package registry because its life cycle differs from the product's — fixing a * line in it used to cost a repack and a reinstall. * * **The supervisor stayed for one reason that admits no alternative**: the Windows scheduled * task calls it by an absolute path, runs with nobody at the machine after a power cut, and * may run as `SYSTEM` or as another technician's account. Pointing it at the global CLI means * `%AppData%\Roaming\npm` belonging to **one particular user** — a path another account cannot * find, on the path where nobody is present to read an error. * * It runs on the shipped `runtime\` like every service, so the isolation rule stays enforced * wherever a viewer is served. */ readonly supervisor: "supervisor"; /** * AR: الشيمة وحدها. **مجلد لا يحوي إلّا ‎fantastic.cmd‎ لأنه وحده ما يُعرَض على PATH** — ووضعها في * جذر التثبيت كان سيفرض عرض الجذر كلّه، وفيه ‎data\‎ و‎logs\‎ (القرار D-018-04). * EN: The shim alone. **A directory holding nothing but `fantastic.cmd`, because it alone goes on * PATH** — putting the shim in the install root would have meant exposing the whole root, which * contains data\ and logs\ (decision D-018-04). */ readonly bin: "bin"; /** الواجهة ملفات ثابتة تقدّمها النواة عبر ‎PORTAL_DIST‎. */ readonly interfaceRoot: "interface"; readonly interfaceClient: string; /** مِلك العميل. لا تلمسه عملية تلقائية. */ readonly data: "data"; readonly logs: "logs"; readonly run: "run"; readonly updates: "updates"; }; export declare const MANIFEST_FILE: string; /** * AR: أسماء ثابتة داخل ‎runtime/‎: ملفّ التشغيل يعتمد عليها حرفيًا. * * **قيم ويندوز، مأخوذة من جدول المنصّات لا مكتوبة هنا** (‎platform.ts‎). بقي الثابت مُصدَّرًا * لأن ‎bundle-format‎ واجهةٌ منشورة: أدوات إصدارٍ لم تُحدَّث بعد ما تزال تستورده، وحذفُه * يكسرها في بنائها لا في اختبارها. ومن يكتب شيفرةً جديدة يقرأ من الجدول. * EN: Fixed names inside `runtime/`: the profile depends on them literally. * * **The Windows values, read from the platform table rather than written here** * (`platform.ts`). The constant stays exported because `bundle-format` is a published surface: * release tooling that has not been updated still imports it, and removing it breaks that at * build time. New code reads the table. * * @deprecated اقرأ ‎currentPlatform().runtimeFiles‎ أو صفّ المنصّة المطلوبة من ‎PLATFORMS‎. */ export declare const RUNTIME_FILES: { node: string; ffmpeg: string; ffprobe: string; }; /** مدخل كل خدمة داخل حزمتها، نسبةً إلى جذر التثبيت. */ export declare const SERVICE_ENTRY: { readonly core: string; readonly live: string; }; /** * AR: مدخل المُشرِف المشحون، نسبةً إلى جذر الحزمة. تقرؤه الشيمة والإقلاع التجريبي معًا. * * كان ‎cli\bin\run.js‎ حتى ٠٢٦، حين خرجت الواجهة من الحزمة. والاسم تغيّر مع ما يشير إليه: * ثابتٌ اسمه ‎CLI_ENTRY‎ يشير إلى مُشرِف يكذب على قارئه بعد سنة. * EN: The shipped supervisor's entry point, relative to the bundle root. Read by the shim and the * smoke boot alike. * * It was `cli\bin\run.js` until 026, when the CLI left the bundle. The name changed with what it * points at: a constant called `CLI_ENTRY` aiming at a supervisor lies to its reader a year on. */ export declare const SUPERVISOR_ENTRY: string; /** * AR: مدخل المُحدِّث المشحون، نسبةً إلى جذر الحزمة. * * **وُجد لأن اللوحة لا تستطيع أن تنادي الواجهة العالمية.** النواة تعمل بحساب الجهاز — وقد تكون * ‎SYSTEM‎ حين تُطلقها مهمّة الإقلاع — والواجهة العالمية تعيش في ‎%AppData%\Roaming\npm‎ الخاصّ * **بمستخدمٍ بعينه**: مسارٌ لا يجده حسابٌ آخر. وهو نفس السبب الذي أبقى المُشرِف في الحزمة. * * **ولا يُنادى ‎fantastic.cmd‎ بوسائط.** تلك شيمة المُشرِف: تصل إلى حلقة الإشراف ولا تعرف أمرًا * اسمه ‎update‎، فتمريرُه إليها يُشغّل إشرافًا بدل تحديث — بلا خطأٍ ظاهر. مدخلان منفصلان لأن * البرنامجين مختلفان. * EN: The shipped updater's entry point, relative to the bundle root. * * **It exists because the dashboard cannot call the global CLI.** The core runs as the machine's * account — possibly SYSTEM when the boot task launches it — and the global CLI lives under one * particular user's `%AppData%\Roaming\npm`: a path another account cannot find. This is the same * reason the supervisor stayed in the bundle. * * **And `fantastic.cmd` is not called with arguments.** That is the supervisor's shim: it reaches * the supervision loop, which knows no command called `update`, so passing one starts supervision * instead of an update — with no visible error. Two entries because they are two programs. */ export declare const UPDATER_ENTRY: string; /** * AR: مدخل الصيانة المشحون — النسخ الاحتياطي والاستعادة وتصفير القاعدة (٠٢٧). * * **برنامجٌ ثالث لنفس سبب الثاني.** الاستعادة تستبدل ‎data/‎ والنواة تمسك ‎fantastic.db‎ * مفتوحة؛ وعمليةٌ لا تستطيع استبدال ما تعمل عليه. فالنواة تُسلّم وتُخلي سبيله، وهو يقتلها * ويستعيد ويعيد تشغيلها. * * **ووضعٌ واحدٌ منه لا يقتل شيئًا**: النسخ يعمل والخدمات تعمل (‎VACUUM INTO‎ لا يحتاج * إيقافًا)، وبقي معهما في مدخلٍ واحد لأن الثلاثة تتشارك القفل وملفّ التقدّم ومنطق الأرشفة — * وفصلُها كان يعني ثلاث شيمات وثلاثة أسطر في حارس الاعتماديات مقابل وسيطٍ واحد. * EN: The shipped maintenance entry — backup, restore and database reset (027). * * **A third program for the second one's reason.** A restore replaces `data/` while the core * holds `fantastic.db` open, and a process cannot replace what it is running on. So the core * hands off and lets go, and this kills it, restores, and starts it again. * * **One of its modes kills nothing**: a backup runs while the services run (`VACUUM INTO` needs * no stop), and it stayed with the other two because all three share the lock, the progress file * and the archiving logic — splitting them would have meant three shims and three lines in the * dependency guard in exchange for one argument. */ export declare const MAINTENANCE_ENTRY: string; /** * AR: أسماء الشيمات. ‎.cmd‎ لا ‎.ps1‎: سياسة ويندوز الافتراضية ‎Restricted‎ تمنع الثانية، وقد قِيس * ذلك ميدانيًّا — ورفع السياسة تغييرٌ في أمان جهاز العميل لا يجوز أن يكون ثمن تثبيت منتجنا * (القرار D-018-03). و‎.cmd‎ تعمل في PowerShell و cmd معًا. * EN: The shim names. `.cmd` and not `.ps1`: Windows' default `Restricted` policy blocks the latter, * as measured in the field — and raising the policy is a change to the customer's machine * security that must not be the price of installing our product (decision D-018-03). A `.cmd` * works in both PowerShell and cmd. */ export declare const SHIM_FILES: { command: string; updater: string; maintenance: string; }; /** * AR: الإضافات الأصلية التي **يجب** أن توجد في شجرة اعتماديات كل خدمة — قيم ويندوز. * * غيابها لا يُفشل البناء ولا بدء العملية: يظهر عند أول استعلام قاعدة أو أول مصغّرة — أي عند * العميل. لذلك تُفحَص صراحةً قبل الأرشفة (017/FR-019) وبعد كل فكّ. * * ولكل منصّة قائمتها: ‎win32-x64-msvc‎ هنا، و‎linux-x64-gnu‎ مع حزمتَي ‎sharp‎ هناك. * EN: The native addons that **must** exist in each service's dependency tree — the Windows values. * * Their absence fails neither the build nor process start: it surfaces at the first database * query or the first thumbnail — that is, at the customer's site. Hence the explicit check * before archiving (017/FR-019) and after every extraction. * * Each platform has its own list: `win32-x64-msvc` here, `linux-x64-gnu` and both `sharp` * packages there. * * @deprecated اقرأ صفّ المنصّة من ‎PLATFORMS‎. */ export declare const REQUIRED_NATIVE: { core: readonly string[]; live: readonly string[]; }; /** حِزَم المستودع الداخلية. تُنسَخ نسخًا فعليًا لأن الوصلة الرمزية تنكسر عند النقل. */ /** * AR: حِزَم هذا المستودع. **تُحذَف من قائمة التثبيت وتُنسَخ يدويًا بعده** — ليست على السِّجل * العامّ، فمحاولةُ تثبيتها ترجع ‎404‎. * * **و‎license-protocol‎ كانت ناقصة من هنا، فتوقّف بناء الحزم كلّه.** أُضيفت إلى اعتماديات * النواة في P4.2 ولم تُسجَّل في هذه القائمة، فصار `fantastic bundle` يفشل عند تثبيت * اعتماديات النواة بـ‎404 @fantastic/license-protocol‎ — أي أن **آخر حزمة أُنتجت كانت قبل * وصول الترخيص**، ولا شيء يستطيع أن يصل عميلًا. وُجد بمحاولة بناء حزمة في P5.4، ولم يكن * ليظهر بغير محاولة البناء: الاختبارات والـ‎typecheck‎ كلّها تمرّ لأن الوصلة الرمزية في * المستودع تعمل تمامًا. * * أيّ حزمة تُضاف إلى ‎packages/‎ وتصير اعتمادًا لخدمة **يجب أن تُسجَّل هنا في نفس الالتزام**. * EN: This repository's own packages. **Removed from the install list and copied in afterwards** — * they are not on the public registry, so trying to install them returns `404`. * * **`license-protocol` was missing from here, and it stopped bundle builds entirely.** It was * added to the core's dependencies in P4.2 and never registered in this list, so * `fantastic bundle` failed installing the core's dependencies with * `404 @fantastic/license-protocol` — meaning **the last bundle ever produced predates * licensing**, and nothing could reach a customer. Found by attempting a bundle in P5.4, and it * could not have surfaced any other way: tests and typecheck all pass because the workspace * symlink works perfectly in the repository. * * Any package added to `packages/` that becomes a service dependency **must be registered here * in the same commit**. */ export declare const WORKSPACE_PACKAGES: readonly ["@fantastic/shared-types", "@fantastic/token-codec", "@fantastic/license-protocol"]; /** * حِزَم تُستبعَد من شجرة الإنتاج لأن الحزمة تشحن محتواها في مكان آخر. * * **قِيس في 017/T034:** حزمتا مُثبِّت ffmpeg/ffprobe اعتماديّتان للنواة ولخدمة البث معًا، فكانت * الثنائيّات تُشحن **ثلاث مرّات** — 140 ميغابايت في شجرة كل خدمة و139 في ‎runtime/‎، أي 419 لملفّات * يلزم منها نسخة واحدة. مجموع اعتماديات الإنتاج كان 393 ميغابايت مقابل تقدير 70–90 في الخطة. * * تُستبعَد هنا، وتُضبَط ‎FFMPEG_PATH‎ و‎FFPROBE_PATH‎ على نسخة ‎runtime/‎، وكلا الخدمتين ترجع إلى * حزمة المُثبِّت إن لم يُضبَط المتغيّر — فلا ينكسر التطوير في المستودع. */ export declare const EXCLUDED_FROM_BUNDLE: readonly ["@ffmpeg-installer/ffmpeg", "@ffprobe-installer/ffprobe"]; //# sourceMappingURL=layout.d.ts.map