import type { ManifestJson } from "./types.js";
/**
 * Validate optional skill-docs metadata before consumers read it.
 *
 * Throws `ManifestValidationError` on malformed references because stale or
 * misspelled reference lists change what the installer copies.
 *
 * @param json - Parsed manifest JSON to validate.
 */
export declare function validateSkillReferenceSchema(json: ManifestJson): void;
/**
 * Read and skill-docs-validate the on-disk `workflow/manifest.json`.
 *
 * @returns the parsed manifest JSON - throws on a missing or malformed file, or
 *   when `skills.references` is structurally invalid (`ManifestValidationError`).
 */
export declare function readManifestJson(): ManifestJson;
/**
 * Resolved (label, pattern) pairs built from the manifest's required_sections.
 * Harness checks import this instead of hand-rolling their own section list.
 *
 * Reads the raw manifest JSON rather than the validated/cached `loadManifest`
 * result: `required_sections` is a straight passthrough field, so the value is
 * identical, and reading it here keeps this module free of the harness-check
 * import that would re-form the cycle described in the file header.
 *
 * @returns One entry per required section - its manifest label and the
 *   case-insensitive heading regex used to detect it in instruction files.
 */
export declare function getRequiredInstructionSections(): {
    label: string;
    pattern: RegExp;
}[];
//# sourceMappingURL=manifest-json.d.ts.map