export type InstallMethod = 'npx-latest' | 'npx-pinned' | 'global' | 'local-path' | 'unknown';
export interface McpServerEntry {
    command?: string;
    args?: string[];
    env?: Record<string, string>;
    startup_timeout_sec?: number;
}
export interface McpConfig {
    mcpServers?: Record<string, McpServerEntry>;
}
export interface McpConfigLocation {
    /** Absolute path to the MCP config file, or null if not found. */
    configPath: string | null;
    /** Which config file was found (claudeCode, claudeDesktopMac, claudeDesktopLinux). */
    configType: 'claudeCode' | 'claudeDesktopMac' | 'claudeDesktopLinux' | null;
}
export interface PlanuInstallInfo {
    method: InstallMethod;
    /** Version from package.json at runtime. */
    currentVersion: string;
    /** Absolute path to the config file, or null if not found. */
    configPath: string | null;
    /** The mcpServers.planu entry from the config, or null. */
    mcpEntry: McpServerEntry | null;
}
export interface UpdateCheckResult {
    currentVersion: string;
    latestVersion: string | null;
    isUpToDate: boolean;
    installMethod: InstallMethod;
    updateCommand: string;
    autoUpdateActive: boolean;
}
export interface AutoUpdatePatchConfig {
    configPath: string;
    previousEntry: McpServerEntry | null;
    newEntry: McpServerEntry;
    backupPath: string;
}
export interface EnableAutoUpdateResult {
    configPath: string;
    previousEntry: McpServerEntry | null;
    newEntry: McpServerEntry;
    backupPath: string;
    alreadyOptimal: boolean;
    message: string;
}
export interface PinVersionResult {
    configPath: string;
    pinnedVersion: string;
    backupPath: string;
    message: string;
}
//# sourceMappingURL=auto-update.d.ts.map