export declare const PROJECT_CONTEXT_VERSION: 1; export interface ProjectTruthSource { area: string; path: string; description: string; } export interface ProjectContextManifest { schemaVersion: typeof PROJECT_CONTEXT_VERSION; name: string; purpose: string; truth: readonly ProjectTruthSource[]; readFirst: readonly string[]; verify: readonly string[]; rules: readonly string[]; /** Files or directories that are generated, historical, or otherwise not authoritative. */ nonAuthoritative: readonly string[]; } export interface ContextFile { path: string; content: string; } export interface ContextCheck { ok: boolean; problems: string[]; } export declare class ProjectContextError extends Error { constructor(message: string); } export declare function parseProjectContext(value: unknown): ProjectContextManifest; export declare function defaultProjectContext(root?: string): ProjectContextManifest; export declare function renderProjectContext(manifest: ProjectContextManifest): string; export declare function projectContextFiles(manifestInput: ProjectContextManifest): ContextFile[]; export declare function initializeProjectContext(rootInput: string, manifestInput?: ProjectContextManifest, options?: { force?: boolean; }): ContextFile[]; export declare function syncProjectContext(rootInput: string): ContextFile[]; export declare function checkProjectContext(rootInput: string): ContextCheck;