/** * Registry-publish lint surface. * * This entry point intentionally exports only the primitives the registry * publish gate needs. It avoids the full lint barrel because that surface also * constructs workspace-settings schemas and workspace catalogs for `axm lint`. * * @experimental This API is unstable and may change without notice. * @packageDocumentation */ import type { HookRuleContext, KnowledgeRuleContext, McpServerRuleContext, PackRuleContext, RuleRuleContext, SkillRuleContext, SubagentRuleContext } from "./context.js"; import type { LintRule } from "./rule.js"; export { composePath } from "./compose-path.js"; export { evaluateContexts, type Evaluated } from "./evaluate.js"; export type { LintConfig } from "./config.js"; export type { FileAccessError, HookContent, HookFileAccessor, HookRuleContext, KnowledgeContent, KnowledgeFileAccessor, KnowledgeRuleContext, RuleContent, RuleFileAccessor, RuleRuleContext, McpServerContent, McpServerFileAccessor, McpServerRuleContext, PackContent, PackFileAccessor, PackRuleContext, SkillContent, SkillFileAccessor, SkillRuleContext, SubagentContent, SubagentFileAccessor, SubagentRuleContext, } from "./context.js"; export type { LintFinding, LintRule } from "./rule.js"; export { makeVftPackFileAccessor, type PackVFTNode } from "./catalog/pack-accessor/vft.js"; export { makeVftSkillFileAccessor, makeVftSkillFileAccessorScoped, type VFTNode, } from "./catalog/skill-accessor/vft.js"; /** * Ordered publish-safe `pack/*` rule catalog. * * This intentionally avoids `./catalog/pack.js`, whose module-load rule-id * registration imports the workspace lint config schema. */ export declare const packRules: ReadonlyArray>; /** * Ordered publish-safe `skill/*` rule catalog. * * This intentionally avoids `./catalog/skill.js`, whose module-load rule-id * registration imports the workspace lint config schema. */ export declare const skillRules: ReadonlyArray>; export declare const subagentRules: ReadonlyArray>; export declare const mcpServerRules: ReadonlyArray>; /** * Ordered publish-safe `hook//*` rule catalog. * * Identical to `catalog/hook.ts`: `hook/matcher-raw-portability` used to be * omitted here, which meant `axm publish` and `axm lint` disagreed about the * same `hook.json`. It is a pure-manifest advisory at `warning` severity, and * the publish gate fails only on `error` findings, so running it at publish * time surfaces the portability advice to the author without gating the * publish. */ export declare const hookRules: ReadonlyArray>; export declare const ruleRules: ReadonlyArray>; export declare const knowledgeRules: ReadonlyArray>; //# sourceMappingURL=publish.d.ts.map