export interface Project { id: string; repo: string; defaultBranch: string; /** Run in a fresh clone by the fix engine. */ testCommand: string; buildCommand: string; /** The product's help docs; customer questions are answered from these. */ helpDocs?: string; /** sha256 of the project key. The key itself is shown once at registration and never stored. */ keyHash: string; createdAt: string; } /** * Registered projects, one JSON file. Each project gets a secret key that the widget sends with every report. * ponytail: JSON file, whole-file rewrite; move to SQLite with the rest of the state (Phase 0). */ export declare class ProjectRegistry { private file; constructor(file?: string); private load; register(repo: string, defaultBranch?: string, testCommand?: string, buildCommand?: string, helpDocs?: string): { project: Project; key: string; }; /** The project a key belongs to, or undefined. */ verify(key: string | undefined): Project | undefined; /** List all registered projects. */ list(): Project[]; } //# sourceMappingURL=index.d.ts.map