import { z } from "zod"; import type { HeapDiff } from "./heap-diff.js"; declare const signatureSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; nextRange: z.ZodString; cause: z.ZodString; issue: z.ZodURL; historical: z.ZodBoolean; match: z.ZodObject<{ chainIncludes: z.ZodOptional; typeDeltaAbove: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strict>; export type Signature = z.infer; export declare function loadSignatures(raw?: unknown[]): Signature[]; export type MatchedSignature = Pick; /** * Matches signatures against a diff, gated by the measured app's Next.js * version. Unknown version or no matching range → no annotations, no errors. */ export declare function matchSignatures(diff: HeapDiff, nextVersion: string | null, signatures?: Signature[]): MatchedSignature[]; /** Reads the measured app's Next.js version from its standalone bundle. */ export declare function readNextVersion(appDir: string): Promise; export {};