0
 7    /** Default: 60s â€” ~300Ã— shorter than the 5h #850 wedge, far longer than any real main-thread block. */
export declare const DEFAULT_WATCHDOG_TIMEOUT_MS = 60000;
/**
 * Hard cap on disk-progress deferral: after this many timeouts' worth of
 * CONTINUOUS heartbeat silence the process is killed even if the watched files
 * keep advancing (a wedge coinciding with unrelated file writes, or I/O hung
 * beyond any legitimate statement). 10Ã— the 60s default â‡’ 10 minutes.
 */
export declare const PROGRESS_CAP_MULTIPLIER = 10;
/** Parse the timeout env, falling back to the default for missing/invalid values. */
export declare function parseWatchdogTimeoutMs(raw: string | undefined, fallback?: number): number;
/** Derive a heartbeat cadence that emits several beats inside the timeout window. */
export declare function deriveCheckIntervalMs(timeoutMs: number): number;
export interface WatchdogHandle {
    /** Stop heartbeating and shut the watchdog child down. Idempotent. */
    stop(): void;
}
export interface WatchdogOptions {
    /**
     * Files whose size/mtime advancing counts as forward progress (the SQLite
     * DB + `-wal` for an in-process indexer). With paths supplied, a silent
     * timeout only kills when the files did NOT advance â€” see the header. Omit
     * for pure heartbeat behavior (the daemon, whose main thread never runs
     * long synchronous work).
     */
    progressPaths?: string[];
}
/**
 * Install the main-thread liveness watchdog for a long-lived process. Returns a
 * handle to stop it, or `null` when disabled or when the child can't be spawned
 * (degraded, never throws â€” a missing watchdog must never keep a process from
 * starting).
 */
export declare function installMainThreadWatchdog(options?: WatchdogOptions): WatchdogHandle | null;
//# sourceMappingURL=liveness-watchdog.d.ts.map  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Ä603_‘I|¥‰ÓMdœv ©ƒ†ü+=ÄÃ [    ‹      Õ–]oÚ0†ïû+<_ìP¶Imâ©#•†FµLÓ4MÈØ†XMìÈ6Ðì×ï„0•V mÚ‡”›œØysÎylù•£Éd0û<½&ïg7#2ýøn4Úøt> HfIý¡ßît®Ç”Ð4„â`»Ý¶·çmëV0»…4äY|pZ„¶’²³¨šcg$J—ItÈ©ˆ]°ëàµTø_éAª�ÊWïAå�«ÜºrÞôÁX©: Šu©]¥9� NŠe`_'ZXYVå»»fÜaðÅ®bõêXR²á™^™˜[Pé|E¼1-¬ñ°È¸¹o¯ô’ž…˜~&_Q!­þf'©SË˜¾ÄãËIœP6æ¹Š€×Ü æŠ²÷�äVê¥Vò¤ø®ßéo§&µ&Q^8]mÍ£ñUØÌY_!AêUµDþl5¸x²Ó«Ûëñ,ÞÖK"«�ÝýÙÆQ6åN™@í”¨ÚƒÕU^š…/.É¾m§Wi Œ�9ªüÖµ¹7vkqq)�‚
›*lU”óL5÷¸_”™<xÖq¯Ó{Ýêv[½ét.ðINñ0ø�hÝ@Ë6ž©�Ê(Û…¶oÖùB¹¹]Î½
ž²§ãiéµàY}
îÐûÑ¬(;ñ¡�ˆ>EÃ’sô0dñXÿÙD³‘r^<!Âq�vÞÜP3e�ÍWÏ6¿F'6X¶ŽØòÒWÌ½·Bó 7:””�þ÷x¿x­ƒý…7‚ÝÍ:‚úbÿwz&S;    H   ˆl–Ü4ý(”Ëm
qAàCq§ÔÅ£“þYj5œm²Jì�R´¦öjÿŸÇÁÀÆ444_‹I|¥Žƒî4ÃVŸÆÅ ¼    ‹      mS]kÛ0}÷¯8£Ð´fÈÝsÈÝ /…Â–·1bY½rÔÊ–‘äÐ’æ¿ONâ@Ÿ$Ÿ{îÑ¹VÝ`¬GÃ=�_óÒšVmÎ{q‹e¡2U¹§æ…„T¯t"ÏÁÌ.ª²D�Ñ+oþx«ú¶†%7jI–zAŽ¡¬Š·hŒÑñýMJÃ}€ˆ÷ÿŽr¿ÈGXZ"„ÅM¨[m®×[åê¨%Lï2çá¢þ} #ÑÎ°ðR~h�ëëyäKõ£Ö—0ËÅÄ¼évÎ”ø¹%ñê $ê×#Õ¡gš;§¤¢gpžÊµa°ªS^íÆ"ÛaA$êüpž{%Òµ£®!û$±Éz‡;ö�Ý¥oÁ=µÆ¾ã‘÷mBny‡}y@ò€õ–¦›7Ñ!K<K~´½Ã~2tÀï	©½MÞ/Ê8ÿ
Ò.t_òpÔY‹Þx7hšìo˜rÓoëváªÂê;¢ö'¼Øõ9-åq¬rì…W¦Ç™œ\Ýb_ ¹Š©ÀU˜PÔÇÇÇIR
làf¾°G¡0ÎóÎÁ�9mfðu(
zKÁ3IùäfYü–¿˜NK    5   	ˆl–Ü4ý( ©¤ýÔâ�jãmÜTÅ£�þB gñ&ÂÙŸÉƒh¹ÈÇÆ      	1
     ˆÃÂÈ598ÁÇÆ V    ‹      Õ–ßoÚ0ÇßûWx~Ø�Ž­4xêH¥¡µQ¦iš¦ÊÄ†XMìÈ60ú×ÏÁi›N Q	ªöé|É7w÷qÎ?ÂwÑUoüsxŽ¾Ž//Ððû—‹~áÀ�V GþÅq½ œ0Â‰µy`¹\Ö—­ºÒ3� ±YzÆjÛ:³“£°xFŽP˜pÊœE¡6å¤/ÿƒÔ�š[#wß­0¾17ÅØò2ž)½*MÐüR1Þ(ý“ã'nÐj‡àƒ»tPæ'Š­Š2‚C¥t‘×Xt²Î\5	m‚43ÙÅVå˜„"›!£ã.+i`’Ry[Ÿ‰)F4µ]ü«ß»úít`“âkR”h>íâÏ½îàôªa2 �nÖ\:Í&ÔX”)&¦‚³­âk/¾wÛF^qk‘[¡ä£b5V©É©cýà]Uy	ûßlÐøÉdÏFçƒqÔù)aEˆÇêöð1RÍ¥E‘Ð<¶îUIçS½—“ŸÞ»¨¬]‹Yb1A¨†6*Ÿ<U)ãºŠ¼ö¾^o«UþSV³Ñl×‚ œ àc§ÑFè€õÏå­TKYpý°@ÉTHŽ‰·; 4´;�ÆV ·}{A€<Y™ße˜Tœ·Š"Š�°$Y�_Èî‹"WK®Ý¢ðvõ¿ð¢Ðn;ZG&Ã×òž�a,µam^Kù»w‘™OÊCÃ!<Œßà;çw–aâí> ^¸�Š@ìæNIn0©8‡ï©o1PÞïBX_(Cð÷Ú¿�Ú}:       ˆÃÂÈ597ÁÇÆ U    ‹      Õ–ßoÚ0ÇßûWx~Ø�Òª4xêH¥¡µQ¦iš¦ÊÄ†XMìÈ60ú×ÏÁi›NE£Z©èÓù’oîîãœ„¢«ÞøÇð}_^ á·ÏýÂ5€ï­@4Žü‹Ãz# 8`„kóÀr¹¬/[u¥g0Ab³ôŒÕ"¶uf&añŒ 0á”9‹B+lÊI_2þ©)5·F0î¾[`|!bnŠ±åd<SzUš£c�ŠñFéí§n+ÁÇvÙ LN[U;Êè¯¡èd�¸jÚ-h*f²‹­Ê1	E6CFÇ]"VÒÀ$¥ò¶>SŒhj»øg¿wõËéÀ&Å×$¤(Ñ|ÚÅŸzÝÁéU7Âd@3}^sé4g˜\PcQ¦˜˜