/**
 * API Documentation configuration prompts
 * Handles OpenAPI and Postman collection settings for API projects
 *
 * @module api-docs-config
 * @since v1.0.58
 */
import type { SupportedLanguage } from '../../../core/i18n/types.js';
import { WIZARD_BACK } from './wizard-navigation.js';
/**
 * API Documentation configuration
 */
export interface ApiDocsConfig {
    /** Enable API documentation features */
    enabled: boolean;
    /** OpenAPI spec location */
    openApiPath: string;
    /** Auto-generate OpenAPI from code decorators */
    autoGenerateOpenApi: boolean;
    /** Generate Postman collection from OpenAPI */
    generatePostman: boolean;
    /** Postman collection output path */
    postmanPath: string;
    /** When to regenerate API docs */
    generateOn: 'on-increment-done' | 'on-api-change' | 'manual';
    /** API file patterns to watch */
    watchPatterns: string[];
    /** Base URL for the API */
    baseUrl: string;
}
/**
 * Detected API framework
 */
export interface DetectedApiFramework {
    name: string;
    openApiSupport: 'built-in' | 'plugin' | 'manual';
    setupInstructions: string;
}
/**
 * Detect API framework from project files
 */
export declare function detectApiFramework(targetDir: string): DetectedApiFramework | null;
/**
 * Result of API docs configuration
 */
export interface ApiDocsConfigResult {
    config: ApiDocsConfig | null;
    /** Signal to go back to previous step */
    goBack?: typeof WIZARD_BACK;
}
/**
 * Prompt user for API documentation configuration
 *
 * @param targetDir - Project directory
 * @param language - Language for translations
 * @returns API docs configuration or null if skipped
 */
export declare function promptApiDocsConfig(targetDir: string, language?: SupportedLanguage): Promise<ApiDocsConfigResult>;
/**
 * Update config.json with API docs configuration
 *
 * @param targetDir - Project directory
 * @param config - API docs configuration
 * @param language - Language for translations
 */
export declare function updateConfigWithApiDocs(targetDir: string, config: ApiDocsConfig, language?: SupportedLanguage): void;
//# sourceMappingURL=api-docs-config.d.ts.map