mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 19:01:44 +00:00
25 lines
598 B
TypeScript
25 lines
598 B
TypeScript
declare module "node-edge-tts" {
|
|
export type EdgeTTSOptions = {
|
|
voice?: string;
|
|
lang?: string;
|
|
outputFormat?: string;
|
|
saveSubtitles?: boolean;
|
|
proxy?: string;
|
|
rate?: string;
|
|
pitch?: string;
|
|
volume?: string;
|
|
timeout?: number;
|
|
};
|
|
|
|
export class EdgeTTS {
|
|
constructor(options?: EdgeTTSOptions);
|
|
ttsPromise(text: string, outputPath: string): Promise<void>;
|
|
}
|
|
}
|
|
|
|
declare module "node-edge-tts/dist/drm.js" {
|
|
export const CHROMIUM_FULL_VERSION: string;
|
|
export const TRUSTED_CLIENT_TOKEN: string;
|
|
export function generateSecMsGecToken(): string;
|
|
}
|