UNPKG

@jackdbd/eleventy-plugin-text-to-speech

Version:
16 lines 618 B
import type { TextToSpeechClient } from '@google-cloud/text-to-speech'; import type { AudioEncoding, AudioInnerHTML, Rule } from './types.js'; import type { Writer } from './writers.js'; interface Config { audioEncodings: AudioEncoding[]; audioInnerHTML: AudioInnerHTML; cacheExpiration: string; rules: Rule[]; textToSpeechClient: TextToSpeechClient; transformName: string; voice: string; writer: Writer; } export declare const makeInjectAudioTagsIntoHtml: (config: Config) => (content: string, outputPath: string) => Promise<string>; export {}; //# sourceMappingURL=transforms.d.ts.map