/** * Interactive Location Builder * Prompts author for input and generates YAML location files */ import type { LocationYAML } from '../types/novel.js'; import type { PromptFunction } from './character-builder.js'; export interface LocationBuilderOptions { projectPath: string; outputDir?: string; } export declare class LocationBuilder { private projectPath; private outputDir; constructor(options: LocationBuilderOptions); /** * Interactive location creation - prompts for all fields */ createInteractive(promptFn: PromptFunction): Promise; /** * Create location from object (programmatic API) */ createFromObject(location: LocationYAML, filename?: string): Promise; /** * Write location to YAML file */ private writeLocationFile; /** * Generate properly formatted YAML */ private generateYAML; /** * Create location from object (programmatic API - main API) */ create(location: LocationYAML, filename?: string): Promise; /** * Validate location data */ validate(locationData: Partial): string[]; /** * List all location files */ list(): Promise; /** * Generate safe filename from location name */ private generateFilename; } //# sourceMappingURL=location-builder.d.ts.map