import { IDatabasesGenerator, SupportedLanguage } from "./base.js"; import { LanguageDetectionResult } from "./language-detector.js"; export { IDatabasesGenerator, SupportedLanguage, GenerateResult, GenerateOptions, } from "./base.js"; export { LanguageDetector, LanguageDetectionResult, } from "./language-detector.js"; /** * Create a database generator for the specified language. * @param language - The target language * @returns The appropriate generator instance * @throws Error if the language is not supported */ export declare function createGenerator(language: SupportedLanguage): IDatabasesGenerator; /** * Create a database generator by auto-detecting the project language. * @param cwd - The working directory to detect language from (defaults to process.cwd()) * @returns Object containing the generator and detection result * @throws Error if no supported language is detected */ export declare function createGeneratorFromDetection(cwd?: string): { generator: IDatabasesGenerator; detection: LanguageDetectionResult; }; /** * Get all supported languages. */ export declare function getSupportedLanguages(): SupportedLanguage[]; //# sourceMappingURL=index.d.ts.map