import type { Spec } from '../../types/index.js';
/**
 * Read the `## Technical` section body from a spec's unified `spec.md`.
 * Returns "" when the spec file is unreadable or the section is missing.
 */
export declare function readSpecTechnicalSection(spec: Pick<Spec, 'specPath'>): Promise<string>;
/**
 * Extract the body of a top-level (`## `) section from a markdown document.
 * Returns the content AFTER the heading line, up to the next top-level
 * heading or EOF, with surrounding whitespace trimmed. Returns "" when
 * the section is not present.
 *
 * Hardening (SPEC-1010 PR-B dual-Opus review):
 * - Fenced code blocks (``` and ~~~) are masked before scanning so a quoted
 *   markdown sample inside the spec body cannot match the heading regex
 *   nor the next-section terminator. Offsets are preserved (mask uses
 *   same-length placeholders) so we can slice from the original `body`.
 * - CRLF / mixed line endings are normalized to LF before scanning.
 * - The `sectionName` is regex-escaped to make this safe for future
 *   callers passing arbitrary names.
 */
export declare function extractSectionBody(body: string, sectionName: string): string;
//# sourceMappingURL=read-technical-section.d.ts.map