@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
17 lines (16 loc) • 521 B
TypeScript
import tls from "node:tls";
import type { GatewayTlsConfig } from "../../config/types.gateway.js";
export type GatewayTlsRuntime = {
enabled: boolean;
required: boolean;
certPath?: string;
keyPath?: string;
caPath?: string;
fingerprintSha256?: string;
tlsOptions?: tls.TlsOptions;
error?: string;
};
export declare function loadGatewayTlsRuntime(cfg: GatewayTlsConfig | undefined, log?: {
info?: (msg: string) => void;
warn?: (msg: string) => void;
}): Promise<GatewayTlsRuntime>;