wcz-layout
Version:
24 lines • 925 B
text/typescript
import z, { z as z$1 } from "zod";
declare const EmailSchema: z.ZodObject<{
subject: z.ZodString;
body: z.ZodString;
to: z.ZodArray<z.ZodEmail>;
bcc: z.ZodOptional<z.ZodArray<z.ZodEmail>>;
cc: z.ZodOptional<z.ZodArray<z.ZodEmail>>;
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
appName: z.ZodString;
subId: z.ZodUUID;
}, z.core.$strip>>>;
}, z.core.$strip>;
type Email = z.infer<typeof EmailSchema>;
declare const TranslateSchema: z$1.ZodObject<{
text: z$1.ZodString;
languages: z$1.ZodArray<z$1.ZodString>;
}, z$1.core.$strip>;
type Translate = z$1.infer<typeof TranslateSchema>;
/** The text in each requested language, keyed by its code, and the code it is `detected` in. */
type Translation = {
detected: string;
} & Record<string, string>;
export { EmailSchema as a, Email as i, TranslateSchema as n, Translation as r, Translate as t };
//# sourceMappingURL=Translate-Ad784Dps.d.mts.map