import type { Scaffold, ScaffoldGenerateOptions, ScaffoldGenerateResult } from './types.js';
/**
 * Options for resolving output directory.
 */
export interface ResolveOutputDirectoryOptions {
    /** Explicit output directory override */
    outputDir?: string;
    /** Scaffold with potential defaultOutputDir */
    scaffold?: Scaffold;
    /** Project root directory (defaults to cwd) */
    projectRoot?: string;
}
/**
 * Resolve output directory with priority:
 * 1. Explicit outputDir option
 * 2. Scaffold's defaultOutputDir
 * 3. Project root / cwd
 *
 * @param options - Resolution options
 * @returns Resolved absolute output directory path
 */
export declare function resolveOutputDirectory(options: ResolveOutputDirectoryOptions): string;
/**
 * Generate files from a scaffold
 * @param scaffold - The scaffold to use
 * @param options - Generation options
 * @returns Generation result
 */
export declare function generateFromScaffold(scaffold: Scaffold, options?: ScaffoldGenerateOptions): Promise<ScaffoldGenerateResult>;
/**
 * Preview scaffold generation without writing files
 * @param scaffold - The scaffold to preview
 * @param options - Generation options
 * @returns Preview result
 */
export declare function previewScaffold(scaffold: Scaffold, options?: Omit<ScaffoldGenerateOptions, 'dryRun'>): Promise<ScaffoldGenerateResult>;
