import type { Server as HttpServer } from "http";
/**
 * Voice-server-mode environment configuration.
 *
 * @deprecated NEW12 — this used to mutate `process.env.NEUROLINK_DISABLE_MCP_TOOLS`
 * which is process-wide. That broke any embedder that called this function in
 * a process which ALSO used NeuroLink for non-voice work. The disable-tools
 * intent is now passed explicitly via `disableTools: true` on every NeuroLink
 * `generate()` / `stream()` call inside this server (see line ~167). Calling
 * this function is now a no-op kept for backwards compatibility.
 */
export declare function configureVoiceServerEnvironment(): void;
/**
 * Returns a copy of an outbound Soniox payload with the API key redacted.
 *
 * Use this whenever debug logging the auth frame — never JSON.stringify the
 * raw object. (C3 mitigation: prevents the Soniox API key from leaking into
 * any aggregated log sink even if a future debug statement serialises the
 * outbound payload.)
 */
export declare function redactSonioxAuth<T extends {
    api_key?: string;
}>(payload: T): T;
export declare function setupWebSocket(server: HttpServer, options?: import("../../types/index.js").ServerVoiceWebSocketOptions): void;
