import type { ParadoxConfig } from '../config/types.js'; /*** * Searches upward from a start directory until it finds a supported Paradox config file. */ export declare function findParadoxConfigFile(startDir: string): Promise; /*** * Loads a Paradox config module and returns its default export or an empty config. */ export declare function loadParadoxConfig(configFilePath: string): Promise; /*** * Resolves and validates the package root from config and config directory. */ export declare function resolvePackageRoot(config: ParadoxConfig, configDir: string): Promise; /*** * Resolves the configured output directory and enforces that it stays inside the package root. */ export declare function resolveOutputRoot(config: ParadoxConfig, packageRoot: string): { outputDir: string; outputRoot: string; };