/// import { z } from 'zod'; /** * Config of this Eleventy plugin. * * @hidden */ export declare const config: z.ZodObject<{ /** * Name of the 11ty collection created by this plugin. * * @remarks * If you register this plugin more than once, you will need to use a * different name every time (otherwise 11ty would throw an Error). */ collectionName: z.ZodDefault; /** * Rules that determine which texts to convert into speech. */ rules: z.ZodArray], z.ZodUnknown>, z.ZodString>>; /** * Name of the 11ty transform created by this plugin. * * @remarks * If you register this plugin more than once, you will need to use a * different name every time (11ty would NOT throw an Error, but this plugin * will not work as expected). */ cssSelectors: z.ZodDefault, string[], string[]>>; hosting: z.ZodObject<{ config: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; write: z.ZodFunction, z.ZodPromise; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodObject<{ href: z.ZodString; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; href: string; }, { message: string; href: string; }>; }, "strip", z.ZodTypeAny, { value: { message: string; href: string; }; error?: undefined; }, { value: { message: string; href: string; }; error?: undefined; }>]>>>; }, "strip", z.ZodTypeAny, { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }, { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }>; regex: z.ZodDefault>; synthesis: z.ZodObject<{ config: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; extension: z.ZodString; synthesize: z.ZodFunction, z.ZodPromise; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodType; }, "strip", z.ZodTypeAny, { value: import("stream").Readable; error?: undefined; }, { value: import("stream").Readable; error?: undefined; }>]>>>; }, "strip", z.ZodTypeAny, { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: import("stream").Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }, { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: import("stream").Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }>; xPathExpressions: z.ZodDefault, string[], string[]>>; }, "strip", z.ZodTypeAny, { cssSelectors: string[]; hosting: { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }; regex: RegExp; synthesis: { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: import("stream").Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }; xPathExpressions: string[]; audioInnerHTML?: ((args_0: string[], ...args_1: unknown[]) => string) | undefined; }, { hosting: { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }; synthesis: { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: import("stream").Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }; audioInnerHTML?: ((args_0: string[], ...args_1: unknown[]) => string) | undefined; cssSelectors?: string[] | undefined; regex?: RegExp | undefined; xPathExpressions?: string[] | undefined; }>, "many">; /** * Name of the 11ty transform created by this plugin. * * @remarks * If you register this plugin more than once, you will need to use a * different name every time (11ty would NOT throw an Error, but this plugin * will not work as expected). */ transformName: z.ZodDefault; }, "strip", z.ZodTypeAny, { rules: { cssSelectors: string[]; hosting: { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }; regex: RegExp; synthesis: { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: import("stream").Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }; xPathExpressions: string[]; audioInnerHTML?: ((args_0: string[], ...args_1: unknown[]) => string) | undefined; }[]; collectionName: string; transformName: string; }, { rules: { hosting: { config: {} & { [k: string]: unknown; }; write: (...args: unknown[]) => Promise<{ value: { message: string; href: string; }; error?: undefined; } | { error: Error; value?: undefined; }>; }; synthesis: { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: import("stream").Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }; audioInnerHTML?: ((args_0: string[], ...args_1: unknown[]) => string) | undefined; cssSelectors?: string[] | undefined; regex?: RegExp | undefined; xPathExpressions?: string[] | undefined; }[]; collectionName?: string | undefined; transformName?: string | undefined; }>; /** * Configuration for this Eleventy plugin. * * @public * @interface */ export type Config = z.input; //# sourceMappingURL=plugin.d.ts.map