/**
 * This module orchestrates the installation of Harper.
 */
export { install, updateConfigEnv, setIgnoreExisting };
/**
 * Calls all the functions that are needed to install Harper.
 * @returns {Promise<void>}
 */
declare function install(): Promise<void>;
declare namespace install {
    var createSuperUser: (installParams: any) => Promise<void>;
}
/**
 * Applies the install-mode ('dev' | anything else => prod) config defaults to the given config args and
 * returns them.
 *
 * Pure: it does not read or mutate process.env, touch the filesystem, or log — the returned args are simply
 * what gets persisted to the config file. In particular a 'dev' install must NOT set process.env.DEV_MODE:
 * that flag is owned solely by the `harper dev` command (bin/harper.ts) and is the source of truth for
 * dev-only runtime behavior such as the component auto-reload watcher. Because install can run in-process
 * from `harper run .` (first-run install), setting it here would leak dev runtime behavior into a plain
 * `run` until the next restart. The dev defaults are still persisted to the config file regardless.
 *
 * @param args - config args (cmd/env values already merged with install params)
 * @param defaultsMode - the resolved DEFAULTS_MODE install param ('dev' or 'prod')
 * @returns the same args object, mutated in place, for convenience
 */
export declare function applyInstallModeDefaults(args: any, defaultsMode: any): any;
declare function updateConfigEnv(value: any): void;
declare function setIgnoreExisting(value: any): void;
