export interface RememPaths { configDir: string; dataDir: string; configFile: string; composeFile: string; environmentFile: string; backupDir: string; } export declare function rememPaths(environment?: NodeJS.ProcessEnv): RememPaths; export declare function openCodeConfigPath(environment?: NodeJS.ProcessEnv): string; /** * Resolves this installed remem package's own root directory (the directory * containing this package's `package.json`) at runtime, regardless of * whether the caller is running from `src/...` (tests) or the built * `dist/...` (production) -- both sit two directories below the package * root for `src/cli/index.ts`/`src/cli/doctor.ts` (see `tsconfig.build.json` * `rootDir`/`outDir`). */ export declare function packageRoot(fromFileUrl: string): string; /** * Global Pi settings file path. Pi has no separate "config file" env var like * OpenCode's `OPENCODE_CONFIG`; it exposes `PI_CODING_AGENT_DIR` to relocate * its whole `~/.pi/agent` directory (see Pi's environment-variables.md), * under which `settings.json` lives. */ export declare function piSettingsPath(environment?: NodeJS.ProcessEnv): string;