/**
 * Legacy Anchor Detector for backward compatibility.
 *
 * This module provides parser functions to detect legacy JSON anchors
 * ({"_type":"anchor"}) alongside trailer-based anchors for backward
 * compatibility in E-plane traversals.
 *
 * Both functions accept `unknown` because they are parser boundaries: they // nosemgrep: ts-no-unknown-outside-adapters -- 0025B
 * consume raw, untrusted input (commit messages from git) and narrow it
 * through runtime type checks to a concrete `boolean` result.
 *
 * @module domain/services/LegacyAnchorDetector
 * @see WARP Spec Section 17 - Backward Compatibility
 */
export declare function isLegacyAnchor(message: unknown): boolean;
/**
 * Detects if a commit is any type of anchor (legacy JSON or trailer).
 *
 * This function provides unified anchor detection that works across
 * both protocol versions, ensuring anchors are correctly filtered
 * from E-plane traversals regardless of format.
 *
 * @example
 * isAnyAnchor('warp:anchor\n\neg-kind: anchor\neg-graph: test'); // true
 * isAnyAnchor('{"_type":"anchor"}');                             // true
 * isAnyAnchor('Some node content');                              // false
 */
export declare function isAnyAnchor(message: unknown): boolean;
