import type { FileRole } from "../runtime/types.js"; import { type BackendGuidancePack } from "../config/harness-config.js"; import { type Phase0Scenario } from "./rule-catalog.js"; import { type RuleDeliveryRole, type RuleMetadata } from "./rule-frontmatter.js"; import type { RuleFrontmatterDiagnostic } from "./rule-frontmatter-diagnostics.js"; export type { Phase0Scenario } from "./rule-catalog.js"; export type LoadedRule = { readonly path: string; readonly metadata: RuleMetadata; readonly diagnostics: readonly RuleFrontmatterDiagnostic[]; readonly policies: readonly string[]; }; export declare function selectRulePaths(fileRole: FileRole, scenario?: Phase0Scenario, packs?: readonly BackendGuidancePack[]): string[]; export declare function loadRulesForRole(projectDir: string, fileRole: FileRole, targetFile?: string, deliveryRole?: RuleDeliveryRole): LoadedRule[];