/** * Parser backend selection for @liendev/parser (ADR-013 / native-parser.md). * * Self-contained: parser must NOT import @liendev/core, so this mirrors the * validation shape of core's config/global-config.ts loadConfigFromEnv * (throw a clear Error naming the bad value and the valid set) without * depending on it. * * ADR-013 Phase 4-B: `native` (@liendev/parser-native) is now the only * backend -- `legacy` (node-tree-sitter) was removed one release after the * default flipped to native. LIEN_PARSER=native remains valid (a no-op, * since it's also the default) so existing explicit opt-ins don't need to * change. */ export type ParserBackend = 'native'; /** * Resolve which parser backend to use from LIEN_PARSER, read at call time * (not module load) so tests can flip it between assertions. * * @throws Error if LIEN_PARSER is set to a retired value ('legacy') or to * anything else that isn't 'native'. */ export declare function resolveParserBackend(): ParserBackend; //# sourceMappingURL=backend.d.ts.map