export declare const isBunBinary: boolean;
/**
 * Detect if we're running from a single-file bundle produced by `bun run bundle:dev`.
 * The bundle build inlines this env var via `--define`, so it is a compile-time
 * constant there and undefined everywhere else.
 */
export declare const isBundledBuild: boolean;
/** Detect if Bun is the runtime (compiled binary or bun run) */
export declare const isBunRuntime: boolean;
export type { InstallMethod, SelfUpdateCommand } from "./config-self-update.ts";
export declare function detectInstallMethod(): import("./config-self-update.ts").InstallMethod;
export declare function getSelfUpdateCommand(packageName: string, npmCommand?: string[], updatePackageName?: string): import("./config-self-update.ts").SelfUpdateCommand | undefined;
export declare function getSelfUpdateUnavailableInstruction(packageName: string, npmCommand?: string[], updatePackageName?: string): string;
export declare function getUpdateInstruction(packageName: string): string;
/**
 * Get the base directory for resolving package assets (themes, package.json, README.md, CHANGELOG.md).
 * - For Bun binary: returns the directory containing the executable
 * - For Node.js (dist/): returns __dirname (the dist/ directory)
 * - For tsx (src/): returns parent directory (the package root)
 */
export declare function getPackageDir(): string;
/**
 * Get path to built-in themes directory (shipped with package)
 * - For Bun binary: theme/ next to executable
 * - For Node.js (dist/): dist/modes/interactive/theme/
 * - For tsx (src/): src/modes/interactive/theme/
 */
export declare function getThemesDir(): string;
/**
 * Get path to HTML export template directory (shipped with package)
 * - For Bun binary: export-html/ next to executable
 * - For Node.js (dist/): dist/core/export-html/
 * - For tsx (src/): src/core/export-html/
 */
export declare function getExportTemplateDir(): string;
/** Get path to package.json */
export declare function getPackageJsonPath(): string;
/** Get path to README.md */
export declare function getReadmePath(): string;
/** Get path to docs directory */
export declare function getDocsPath(): string;
/** Get path to examples directory */
export declare function getExamplesPath(): string;
/** Get path to CHANGELOG.md */
export declare function getChangelogPath(): string;
/**
 * Get path to built-in interactive assets directory.
 * - For Bun binary: assets/ next to executable
 * - For Node.js (dist/): dist/modes/interactive/assets/
 * - For tsx (src/): src/modes/interactive/assets/
 */
export declare function getInteractiveAssetsDir(): string;
/** Get path to a bundled interactive asset */
export declare function getBundledInteractiveAssetPath(name: string): string;
export declare const PACKAGE_NAME: string;
export declare const APP_NAME: string;
export declare const APP_TITLE: string;
export declare const CONFIG_DIR_NAME: string;
export declare const LEGACY_CONFIG_DIR_NAME = ".pi";
export declare const CONFIG_DIR_NAMES: readonly string[];
export declare const VERSION: string;
export declare const CHANGELOG_URL: string | undefined;
export declare const LEGACY_ENV_PREFIX = "PI";
export declare const ENV_AGENT_DIR: string;
export declare const ENV_SESSION_DIR: string;
export declare const ENV_PACKAGE_DIR: string;
export declare const ENV_OFFLINE: string;
export declare const ENV_SKIP_VERSION_CHECK: string;
export declare const ENV_STARTUP_BENCHMARK: string;
export declare const ENV_TELEMETRY: string;
export declare const ENV_SHARE_VIEWER_URL: string;
export declare const ENV_CLEAR_ON_SHRINK: string;
export declare const ENV_HARDWARE_CURSOR: string;
export declare const ENV_TIMING: string;
export declare const ENV_CODEX_FAST_MODE: string;
export declare const WORKFLOW_STAGE_SUBAGENT_GUARD_ENV: string;
export interface CodexFastModeEnvironmentSettings {
    chat?: boolean;
    workflow?: boolean;
}
export declare function serializeCodexFastModeEnvironmentSettings(settings: Required<CodexFastModeEnvironmentSettings>): string;
export declare function parseCodexFastModeEnvironmentSettings(value: string | undefined): CodexFastModeEnvironmentSettings | undefined;
export declare function getCodexFastModeEnvironmentSettings(): CodexFastModeEnvironmentSettings | undefined;
export declare function setCodexFastModeEnvironmentSettings(settings: Required<CodexFastModeEnvironmentSettings>): void;
export declare function getEnvNames(name: string): string[];
export declare function getEnvValue(name: string): string | undefined;
export declare function hasEnvValue(name: string): boolean;
export declare function setEnvValue(name: string, value: string): void;
export declare function expandTildePath(path: string): string;
/** Get the share viewer URL for a gist ID */
export declare function getShareViewerUrl(gistId: string): string;
/** Get the agent config directory (e.g., ~/.atomic/agent/) */
export declare function getAgentDir(): string;
/** Get the legacy pi agent config directory (e.g., ~/.pi/agent/) */
export declare function getLegacyAgentDir(): string;
/** Get agent config directories in precedence order (primary first, then legacy). */
export declare function getAgentDirs(): string[];
/** Get user config root directories in precedence order (primary first, then legacy). */
export declare function getUserConfigDirs(): string[];
/** Get project config directories in precedence order (primary first, then legacy). */
export declare function getProjectConfigDirs(cwd: string): string[];
/** Get a path inside every user config root directory. */
export declare function getUserConfigPaths(...segments: string[]): string[];
/** Get a path inside every agent config directory. */
export declare function getAgentConfigPaths(...segments: string[]): string[];
/** Get a path inside every project config directory. */
export declare function getProjectConfigPaths(cwd: string, ...segments: string[]): string[];
/** Get path to user's custom themes directory */
export declare function getCustomThemesDir(): string;
/** Get path to models.json */
export declare function getModelsPath(): string;
/** Get path to auth.json */
export declare function getAuthPath(): string;
/** Get path to settings.json */
export declare function getSettingsPath(): string;
/** Get path to tools directory */
export declare function getToolsDir(): string;
/** Get path to managed binaries directory (fd, rg) */
export declare function getBinDir(): string;
/**
 * Get path to the extension transpile cache directory (jiti fsCache).
 * Scoped by version so release upgrades never read stale transpiled output.
 */
export declare function getExtensionTranspileCacheDir(): string;
/** Get path to prompt templates directory */
export declare function getPromptsDir(): string;
/** Get path to sessions directory */
export declare function getSessionsDir(): string;
/** Get path to debug log file */
export declare function getDebugLogPath(): string;
//# sourceMappingURL=config.d.ts.map