/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
export interface SandboxProxyConfig {
    socketPath: string;
    idleTimeoutMs?: number;
}
export interface SandboxProxyHandle {
    stop(): Promise<void>;
}
/**
 * Creates and starts the credential proxy server for sandbox communication.
 *
 * This should be called by the host process before spawning the sandbox container.
 * The returned handle's socketPath should be passed to the sandbox via
 * LLXPRT_CREDENTIAL_SOCKET environment variable.
 *
 * @plan PLAN-20250217-CREDPROXY-REMEDIATION.P08 - Wires real OAuth providers
 */
export declare function createAndStartProxy(config: SandboxProxyConfig): Promise<SandboxProxyHandle>;
/**
 * Stops the credential proxy server and cleans up resources.
 */
export declare function stopProxy(): Promise<void>;
/**
 * Returns the active socket path, if a proxy is running.
 */
export declare function getProxySocketPath(): string | undefined;
