/** * paths.ts — The layout of `~/.pi/wechat`, shared by both processes. * * State lives outside the repo because the extension is deployed by copying * its directory into `~/.pi/agent/extensions/`: anything kept beside the * source is erased by the next upgrade. * * Both processes need that layout — the worker writes credentials and * downloads into it, the extension reads, reports on and cleans it — and * each used to compute it from `homedir()` on its own. That is the same * duplication `media.ts` already removed for "how old is old": two * definitions of one shared location drift, and the failure is silent, with * one process sweeping or reporting on a directory the other never writes. * * **This module must stay side-effect free, and must import nothing from * this extension.** The worker imports it, and `settings.ts` — the other * obvious home for these — reads `config.json` at import time and produces * `CONFIG_WARNINGS`. Configuration is the extension's decision, handed to * the worker as flags; a worker that imported settings.ts would start * parsing the operator's config file behind its back. */ /** SDK credential store, media downloads, owner binding, state, log. */ export declare const WECHAT_HOME: string; export declare const MEDIA_DIR: string; export declare const LOG_FILE: string; export declare const CONFIG_FILE: string; export declare const OWNER_FILE: string; export declare const STATE_FILE: string; //# sourceMappingURL=paths.d.ts.map