/** Thrown when neither copy of the registry exists — carries the fix. */ export declare class LexiconRegistryMissingError extends Error { readonly lexicon: string; constructor(lexicon: string); } /** One entry in a lexicon's generated registry. */ export interface LexiconRegistryEntry { resourceType: string; kind: string; apiVersion?: string; } /** * Read a lexicon's generated registry, dev copy first. * * `pkgDir` is the lexicon PACKAGE directory (the one holding `src/` and * `dist/`) — callers pass an `import.meta.dirname`-derived path, so this stays * free of assumptions about where it is imported from. Throws * {@link LexiconRegistryMissingError} when neither copy exists, rather than * returning an empty map that reads downstream as a lexicon with no resource * types at all. */ export declare function loadLexiconRegistry(pkgDir: string, lexicon: string): Record; //# sourceMappingURL=registry.d.ts.map