/**
 * headless-pdd-check.d.ts — Type declarations for the ADR-0000 PDD purpose gate.
 *
 * Purpose: let TypeScript callers in src/headless.ts import the JS validator
 * without weakening root compile safety.
 *
 * Consumer: src/headless.ts (new-milestone entry point) and the vitest test
 * for the validator itself.
 */

export interface PddCheckReport {
	ok: boolean;
	missing: string[];
	sparse: string[];
	spineSatisfied: boolean;
	spineMissing: string[];
	summary: string;
}

export function checkPddFields(content: string): PddCheckReport;

export function formatPddRefusal(report: PddCheckReport): string;

export const PDD_FIELD_NAMES: readonly string[];
export const PDD_MIN_FIELD_BODY_CHARS: number;
