/**
 * Shared output directory resolution for all CLI commands.
 *
 * Resolution order (2-tier):
 *   1. Explicit `--output-dir <path>` — resolved relative to callerCwd
 *   2. Default — `$callerCwd/.ailf/results/latest/`
 *
 * callerCwd is `AILF_CALLER_CWD ?? process.cwd()` — the user's actual
 * working directory, not the eval package root.
 *
 * @see docs/design-docs/output-dir-routing.md
 * @see docs/work-items/W0030.json
 */
/**
 * Get the caller's working directory.
 *
 * When the CLI is invoked via `npx @sanity/ailf`, the wrapper may set
 * AILF_CALLER_CWD to preserve the real CWD before Node changes it.
 */
export declare function getCallerCwd(): string;
/**
 * Resolve the output directory for pipeline artifacts.
 *
 * @param outputDir - Explicit `--output-dir` value from the CLI (may be relative)
 * @returns Absolute path to the output directory
 */
export declare function resolveOutputDir(outputDir?: string): string;
