/********************************************************************
 * @author:      Kaven
 * @email:       kaven@wuwenkai.com
 * @website:     http://blog.kaven.xyz
 * @file:        [Kaven-Utils] /src/KavenUtility.Proxy.ts
 * @create:      2022-04-22 11:02:50.040
 * @modify:      2025-10-14 22:58:04.816
 * @version:     6.1.0
 * @times:       40
 * @lines:       323
 * @copyright:   Copyright © 2022-2025 Kaven. All Rights Reserved.
 * @description: [description]
 * @license:     [license]
 ********************************************************************/
import { ILoggingAgent } from "kaven-basic";
import { GeneratedCertificateFiles } from "./GeneratedCertificateFiles.js";
import { IStartTlsProxyClientOptions, IStartTlsProxyServerOptions } from "./base/Interfaces.js";
import { TlsProxyClient } from "./net/proxy/TlsProxyClient.js";
import { TlsProxyServer } from "./net/proxy/TlsProxyServer.js";
export declare function StartTlsProxyServer(options?: IStartTlsProxyServerOptions): Promise<{
    server: TlsProxyServer;
    cert: GeneratedCertificateFiles;
}>;
export declare function StartTlsProxyClient(options: IStartTlsProxyClientOptions): Promise<TlsProxyClient>;
/**
 *
 * @param dirOrFile
 * @since 4.3.4
 * @version 2025-10-14
 */
export declare function StartProxy(dirOrFile: string, logger?: ILoggingAgent): Promise<{
    server: TlsProxyServer | undefined;
    client: TlsProxyClient | undefined;
}>;
