UNPKG

jsx-email

Version:

Render JSX email components to HTML email

19 lines 1.34 kB
import type React from 'react'; import { type InferOutput as Infer } from 'valibot'; export type Flags = Record<string, string | boolean | undefined>; export type CommandFn = (flags: Flags, inputs: string[]) => Promise<boolean>; export declare const PreviewCommandOptionsStruct: import("valibot").ObjectSchema<{ readonly basePath: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>; readonly buildPath: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>; readonly exclude: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>; readonly host: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>; readonly open: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>; readonly port: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").NumberSchema<undefined>, import("valibot").StringSchema<undefined>], undefined>, undefined>; }, undefined>; export type PreviewCommandOptions = Infer<typeof PreviewCommandOptionsStruct>; export interface PreviewCommonParams { argv: PreviewCommandOptions; targetPath: string; } export type TemplateFn = (props: {}) => React.JSX.Element; //# sourceMappingURL=types.d.mts.map