ai-youtube-transcript
Version:
Fetch and process transcripts from YouTube videos with support for multiple languages, translation, and formatting
36 lines (35 loc) • 888 B
TypeScript
/**
* Base interface for proxy configurations
*/
export interface ProxyConfig {
/**
* Get the proxy URL for HTTP requests
*/
getHttpProxyUrl(): string | undefined;
/**
* Get the proxy URL for HTTPS requests
*/
getHttpsProxyUrl(): string | undefined;
}
/**
* Generic proxy configuration
*/
export declare class GenericProxyConfig implements ProxyConfig {
private readonly httpUrl?;
private readonly httpsUrl?;
/**
* Creates a new GenericProxyConfig instance
*
* @param httpUrl - The HTTP proxy URL
* @param httpsUrl - The HTTPS proxy URL
*/
constructor(httpUrl?: string, httpsUrl?: string);
/**
* Get the HTTP proxy URL
*/
getHttpProxyUrl(): string | undefined;
/**
* Get the HTTPS proxy URL
*/
getHttpsProxyUrl(): string | undefined;
}