/** * Commerce Extension Group (org.peacprotocol/commerce) * * Records payment transaction evidence. * Shipped in v0.12.0-preview.1. */ import { z } from 'zod'; export declare const COMMERCE_EXTENSION_KEY: "org.peacprotocol/commerce"; /** * Shared amount_minor string schema. Single source of truth for both * CommerceExtensionSchema.shape.amount_minor and isValidAmountMinor(). */ export declare const AmountMinorStringSchema: z.ZodString; /** * Validate an amount_minor string against the commerce extension schema. * * Uses the same shared schema as CommerceExtensionSchema.shape.amount_minor. * Returns true only if the value passes validation. Does not coerce, * normalize, or silently accept invalid values. * * @param value - Candidate amount_minor string * @returns true if valid, false otherwise */ export declare function isValidAmountMinor(value: unknown): value is string; export declare const CommerceExtensionSchema: z.ZodObject<{ payment_rail: z.ZodString; amount_minor: z.ZodString; currency: z.ZodString; reference: z.ZodOptional; asset: z.ZodOptional; env: z.ZodOptional>; event: z.ZodOptional>; }, z.core.$strict>; export type CommerceExtension = z.infer; //# sourceMappingURL=commerce.d.ts.map