/** * Apply the declarative patches under patches/exe/ to aces.exe: locate every site and verify * every original byte first, then write. A site that is missing or ambiguous is reported, * never guessed. The same locating (sites with captures) serves the native hook library's * definitions. Authoring patches (building signatures, assembling) is development-side work * done in tools/. */ export { applyWrites } from './apply.ts'; export { formatBytePattern, formatBytes, parseBytePattern, patternMatches, type BytePattern } from './byte-pattern.ts'; export { CAPTURE_TYPES, type Captures, type CaptureSpec, type CaptureType } from './captures.ts'; export { loadPatches, type PatchDefinition, type PatchEdit, type PatchVariant } from './definition.ts'; export { DefinitionError, LocateError, PatchError, PeFormatError, VerifyError } from './errors.ts'; export { asObject, readJsonObject, rejectUnknownKeys, requiredString, stringList, variantObjects } from './json-fields.ts'; export { NO_CONTEXT, type LocateContext } from './locate/index.ts'; export { PeImage, type FunctionRange, type Section } from './pe-image.ts'; export { describePlan, planPatches, type PatchFailure, type PatchPlan, type PlannedWrite } from './plan.ts'; export { findSite, readSiteSpec, type FoundSite, type SiteSpec } from './site.ts'; export { chooseVariant, type Chosen, type Variant } from './variants.ts';