export { getAllExamples, getAllKnowledge, getExample, getExampleFiles, getKnowledge, getKnowledgeFiles } from '@directive-run/knowledge'; interface DetectedTool { name: string; id: "cursor" | "claude" | "copilot" | "windsurf" | "cline"; outputPath: string; } declare function detectTools(rootDir: string): DetectedTool[]; /** * Generate llms.txt (no size limit). * Content: complete reference + all 7 examples + full 26-file knowledge base. */ declare function generateLlmsTxt(): string; declare function getTemplate(toolId: DetectedTool["id"]): string; interface MonorepoInfo { isMonorepo: boolean; rootDir: string; tool?: "pnpm" | "turbo" | "npm" | "yarn"; } declare function detectMonorepo(startDir: string): MonorepoInfo; /** * Replace the Directive section within existing content, or append it. * Section markers: ... */ declare function mergeSection(existingContent: string, newSection: string): string; /** * Check if content already has a Directive section. */ declare function hasDirectiveSection(content: string): boolean; /** * Loads a Directive system from a user's TypeScript file. * * Uses tsx to handle TypeScript imports. Looks for: * 1. Default export of a System instance * 2. Named "system" export * * Returns the live System object for inspection/explain/graph commands. * * Note: Returns `any` intentionally — the loaded module is user code with * unknown types. Duck-type validation via `isSystem()` ensures the returned * object has the required shape (start, stop, inspect, facts). */ declare function loadSystem(filePath: string): Promise; declare const CLI_NAME = "directive"; declare const PACKAGE_NAME = "@directive-run/cli"; declare const SECTION_START = ""; declare const SECTION_END = ""; export { CLI_NAME, type DetectedTool, type MonorepoInfo, PACKAGE_NAME, SECTION_END, SECTION_START, detectMonorepo, detectTools, generateLlmsTxt, getTemplate, hasDirectiveSection, loadSystem, mergeSection };