import type { FileWriteEvent } from './file-writer.js'; import type { SetupManifest } from './setup-health.js'; export declare const PROMPT_REGISTRY_PATH = ".generated-prompts/registry.jsonl"; export declare const PROMPT_REGISTRY_SCHEMA_VERSION = 1; export type PromptRegistrySource = { kind: 'prompt'; prompt: string; } | { kind: 'manual'; origin: string; }; export type PromptRegistryRecord = { schemaVersion: typeof PROMPT_REGISTRY_SCHEMA_VERSION; id: string; componentPath: string; componentType: string; source: PromptRegistrySource; promptDigest: string; artifactDigest: string; taskId: string | null; evidenceIds: string[]; generatedAt: string; generatorVersion: string; status: 'current' | 'superseded'; }; export type PromptRegistryFindingKind = 'empty' | 'template' | 'stale' | 'orphan' | 'missing' | 'duplicate' | 'invalid'; export type PromptRegistryFinding = { kind: PromptRegistryFindingKind; path: string; detail: string; }; export type PromptRegistryHealth = { status: 'not-applicable' | 'not-configured' | 'healthy' | 'issues'; scope: 'non-salesforce' | 'quick' | 'setup-agents-generated-only'; registryPath: string; records: number; findings: PromptRegistryFinding[]; }; export declare function promptDigest(source: PromptRegistrySource): string; export declare function registerGeneratedArtifacts(options: { cwd: string; events: readonly FileWriteEvent[]; generatorVersion: string; source?: PromptRegistrySource; taskId?: string; evidenceIds?: string[]; generatedAt?: string; }): PromptRegistryRecord[]; export declare function readPromptRegistry(cwd: string): PromptRegistryRecord[]; export declare function assessPromptRegistry(options: { cwd: string; isSalesforceProject: boolean; setupManifest: SetupManifest | null; registerFiles: readonly string[]; }): PromptRegistryHealth;