/** * AI Config File Generator * * Generates tool-specific AI context files during `openlore analyze`: * - .cursorrules (Cursor IDE) * - .clinerules/openlore.md (Cline / Roo Code / Kilocode) * - CLAUDE.md (Claude Code) * - .github/copilot-instructions.md (GitHub Copilot) * - .windsurf/rules.md (Windsurf) * * Files are NEVER overwritten — if a file already exists it is skipped silently. * Returns the list of paths that were actually created. */ /** Supported AI assistant targets */ export type AiTool = 'claude' | 'cursor' | 'cline' | 'copilot' | 'windsurf' | 'vibe' | 'agents'; export interface AiConfigOptions { /** Absolute path to the project root */ rootDir: string; /** Relative path to the analysis output directory (e.g. ".openlore/analysis") */ analysisDir: string; /** Project name shown in the generated header */ projectName: string; /** * Which tools to generate configs for. * Defaults to all tools if omitted. */ tools?: AiTool[]; } interface ToolTarget { tool: AiTool; /** Display label shown in the interactive prompt */ label: string; /** Relative path from project root */ rel: string; /** Use @-import syntax (Claude Code) vs HTML comment */ forClaude: boolean; } export declare const AI_TOOL_TARGETS: ToolTarget[]; /** * Generate AI tool config files in the project root. * Skips any file that already exists. * * @param options.tools - Which assistants to generate for. Defaults to all. * @returns Relative paths (from rootDir) of files that were actually created. */ export interface AiConfigResult { /** Relative path from rootDir */ rel: string; /** true = created now, false = already existed */ created: boolean; } export declare function generateAiConfigs(options: AiConfigOptions): Promise; export {}; //# sourceMappingURL=ai-config-generator.d.ts.map