import type { MemoryProvenanceVerifyResult } from './types.js';
/**
 * Verify the Ed25519 signature on a memory_provenance envelope.
 * Returns `{ valid: true }` only when every shape check passes AND the
 * signature verifies against envelope.ingester_id. A failure carries a
 * reason naming the specific shape or cryptographic failure.
 *
 * Accepts unknown and narrows internally so a malformed input does not
 * throw; returns a structured failure instead. Reason codes are listed
 * in types.ts on MemoryProvenanceVerifyResult.
 *
 * Check order is deliberate: top-level shape and memory_ref first,
 * then ingester_id format, then timestamps, then source structure,
 * then source_ref format, then signature format, then crypto. This
 * matches the order specified for v0.1 reason codes and keeps the
 * shape errors deterministic against malformed inputs.
 */
export declare function verifyMemoryProvenance(envelope: unknown): MemoryProvenanceVerifyResult;
//# sourceMappingURL=verify.d.ts.map