import type { ContentConfig } from './types';
/**
 * Resolves the project root and the target file for the `content` command and
 * normalizes the shared build config so the build `Run` can consume it.
 *
 * Root selection:
 *  - the directory of the resolved `-c` config if provided;
 *  - otherwise the current working directory;
 *  - if the target file lives outside that root, the file's own directory is
 *    used as a fallback (so includes/presets resolution does not break).
 *
 * The original `-c` output (`config.output`) is preserved as `config.outputFile`
 * before `output` is repurposed as a project scope. Mutates and returns `config`.
 */
export declare function resolveContentConfig(config: ContentConfig, cwd?: string): ContentConfig;
