/**
* Thinking OS XML Parser
*
* Parses THINKING_OS.md to extract directive definitions.
* The Core Principle Registry in @principles/core (core-principle-registry.ts)
* is the single source of truth for directive ids/names; THINKING_OS.md
* templates mirror it and the drift test enforces alignment (PRI-607).
*
* XML structure:
*
* ...
* ...
* ...
*
*/
export interface ThinkingOsDirective {
id: string;
name: string;
layer: string;
trigger: string;
must: string;
forbidden: string;
}
/**
* Parse THINKING_OS.md content and extract all blocks.
* Returns empty array if no directives found.
*/
export declare function parseThinkingOsMd(content: string): ThinkingOsDirective[];
/**
* Load THINKING_OS.md from the plugin templates for a given language.
* Falls back to the workspace THINKING_OS.md if it exists.
*/
export declare function loadThinkingOsFromWorkspace(workspaceDir: string, language?: string): ThinkingOsDirective[];