@jackdbd/eleventy-plugin-text-to-speech
Version:
Eleventy plugin that uses text-to-speech to generate audio assets for your website, then injects audio players in your HTML.
15 lines • 595 B
TypeScript
import { z } from 'zod';
export declare const asset_name: z.ZodString;
export declare const file_extension: z.ZodString;
/**
* URL or subpath (if the asset is self hosted) where the audio asset will be
* hosted.
*
* @remarks
* Do NOT add `.url()` in the Zod schema: self-hosted audio assets will be
* something like /assets/foo.opus and NOT a URL.
*/
export declare const href: z.ZodString;
export declare const output_path: z.ZodString;
export declare const string_or_uint8: z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>;
//# sourceMappingURL=common.d.ts.map