UNPKG

umay-render

Version:

Free, high-performance HTML to PDF and HTML to Image conversion SDK for both browser and Node.js

15 lines (14 loc) 444 B
import { z } from "zod"; declare const EnvSchema: z.ZodObject<{ API_URL: z.ZodDefault<z.ZodString>; TIMEOUT: z.ZodDefault<z.ZodNumber>; }, "strip", z.ZodTypeAny, { API_URL: string; TIMEOUT: number; }, { API_URL?: string | undefined; TIMEOUT?: number | undefined; }>; export type UmayConfig = z.infer<typeof EnvSchema>; export declare function loadConfig(env?: Record<string, string | undefined>): UmayConfig; export {};