/**
 * Self-signed TLS certificate generator for localhost.
 *
 * Generates a self-signed certificate for 127.0.0.1/localhost on first run
 * and caches it to disk so the user only needs to trust it once.
 *
 * Uses Node.js built-in crypto to generate RSA key + self-signed X.509 cert.
 */
export interface TlsCredentials {
    key: string;
    cert: string;
}
/**
 * Get or generate TLS credentials for localhost.
 * Returns { key, cert } PEM strings ready for https.createServer().
 */
export declare function getLocalhostTls(): TlsCredentials;
