import { type PartialMulmoScript } from "../tools/complete_script.js";
/**
 * Search for mulmo.config.json in CWD → ~ order.
 * Returns the first found path, or null if not found.
 */
export declare const findConfigFile: (baseDirPath: string) => string | null;
export type MulmoConfigResult = {
    defaults: PartialMulmoScript;
    override: PartialMulmoScript | null;
};
/**
 * Load mulmo.config.json from baseDirPath or home directory.
 * Returns { defaults, override } or null if no config file is found.
 *
 * - defaults: applied as low-priority base (script wins)
 * - override: applied after script merge (wins over script)
 *
 * Note: kind:"path" entries are NOT resolved here.
 * They remain as relative paths and are resolved at runtime
 * relative to the script file directory (mulmoFileDirPath),
 * consistent with all other path resolution in MulmoScript.
 */
export declare const loadMulmoConfig: (baseDirPath: string) => MulmoConfigResult | null;
/**
 * Merge mulmo.config.json with a MulmoScript.
 * defaults < script < override
 */
export declare const mergeConfigWithScript: (configResult: MulmoConfigResult, script: PartialMulmoScript) => PartialMulmoScript;
