///
///
///
import type { RequestListener } from 'node:http';
import https from 'node:https';
import type { HttpsServerOptions } from './types';
/**
* 解析 HTTPS 配置
*/
export declare function resolveHttpsConfig(httpsConfig: HttpsServerOptions): Promise<{
key: string;
cert: string;
}>;
/**
* 创建 HTTPS 服务器
*/
export declare function createHttpsServer(app: RequestListener, httpsConfig: HttpsServerOptions): Promise>;