/** * Small, pure helpers shared by the default section renderers. No DOM or * browser APIs — these run in React Server Components. */ /** Read a string field from a section's content, with a fallback. */ export declare function str(content: Record | undefined, key: string, fallback?: string): string; /** Read a boolean field from a section's content, with a fallback. */ export declare function bool(content: Record | undefined, key: string, fallback?: boolean): boolean; /** Read a finite number field from a section's content, else `null`. */ export declare function num(content: Record | undefined, key: string): number | null; /** Read an array-of-records field (e.g. `stats`, `images`) defensively. */ export declare function rows(content: Record | undefined, key: string): Array>; /** Vertical padding utility class from a section's `paddingY` setting. */ export declare function paddingClass(settings: Record | undefined): string; export declare function backgroundClass(settings: Record | undefined): string; /** True when a section uses a dark (purple) background — drives button tone. */ export declare function isDark(settings: Record | undefined): boolean; /** Format an ISO date for a post header; empty string when missing/invalid. */ export declare function formatHeaderDate(value?: string | null): string; //# sourceMappingURL=utils.d.ts.map