import { z } from "zod"; /** Required, trimmed text */ export declare const req: (max?: number) => z.ZodString; /** Optional, trimmed text (empty string when missing) */ export declare const text: (max?: number) => z.ZodDefault; export declare const idSchema: z.ZodCoercedNumber; export declare const slugSchema: z.ZodString; export declare const iconNameSchema: z.ZodString; /** Image stored by URL inside section content */ export declare const imageRefSchema: z.ZodObject<{ url: z.ZodString; alt: z.ZodDefault; }, z.core.$strip>; export type ImageRef = z.infer; export declare const linkSchema: z.ZodObject<{ label: z.ZodString; href: z.ZodString; }, z.core.$strip>; /** Field validation issue as returned by the API (`path` is dot-joined) */ export interface ValidationIssue { path: string; message: string; } export declare const toIssues: (error: z.ZodError) => ValidationIssue[]; /** Convert latin digits to Persian digits */ export declare const faNum: (v: number | string) => string; //# sourceMappingURL=common.d.ts.map