import type { Profile } from "../profiles/types.js"; export interface SuperviseOptions { /** تشغيل الخدمات عند الدخول. ‎false‎ تعني الإشراف على ما يعمل أصلًا. */ boot: boolean; /** أين تُكتب السطور. الأمر يمرّر ‎this.log‎، والمُشرِف المشحون يمرّر ‎console.log‎. */ log: (line: string) => void; } export declare function supervise(profile: Profile, options: SuperviseOptions): Promise; /** * AR: مدخل المُشرِف المشحون. **يستنتج جذر التثبيت من موقع الملفّ نفسه**، لا من ‎cwd‎ ولا من متغيّر * بيئة: مهمّة جدولة ويندوز تبدأ بمجلد عملٍ لا نتحكّم به (‎C:\Windows\system32‎ غالبًا)، * وبيئةٍ لا تحمل ما يحمله حساب من ثبّت. المسار الصاعد من ‎\supervisor\bin\‎ يصدق دائمًا، * ويتحرّك مع التثبيت إن نُقل بـ‎--root‎ — وهي نفس الحيلة التي تعتمدها الشيمة. * EN: The shipped supervisor's entry point. **It infers the install root from the file's own * location**, not from `cwd` and not from an environment variable: a Windows scheduled task * starts with a working directory we do not control (usually `C:\Windows\system32`) and an * environment that carries none of what the installer's account carried. Climbing from * `\supervisor\bin\` is always true, and travels with the installation when `--root` * moves it — the same trick the shim relies on. */ export declare function main(bundleRoot: string): Promise; //# sourceMappingURL=entry.d.ts.map