UNPKG

@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.

18 lines 883 B
/// <reference types="11ty__eleventy" /> import type { EleventyConfig } from '@11ty/eleventy'; import type { Config } from './eleventy/plugin.js'; export { defaultAudioInnerHTML } from './audio-html.js'; export { DEBUG_PREFIX, DEFAULT_COLLECTION_NAME, DEFAULT_TRANSFORM_NAME } from './constants.js'; export { config, type Config } from './eleventy/plugin.js'; export type { Write, WriteResult, Hosting } from './hosting/index.js'; export { mediaType } from './media-type.js'; export type { Rule } from './schemas/rule.js'; export type { Synthesize, SynthesizeResult, Synthesis } from './synthesis/index.js'; export { textToAudioAsset } from './text-to-audio-asset.js'; /** * Adds Text-to-Speech functionality to an Eleventy site. * * @public */ export declare const textToSpeechPlugin: (eleventyConfig: EleventyConfig, config: Config) => void; //# sourceMappingURL=index.d.ts.map