/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import React, { type PropsWithChildren } from 'react';
import { clearActiveModelParam, deleteProfileByName, getActiveModelName, getActiveModelParams, getActiveProviderMetrics, getActiveProviderName, getActiveProviderStatus, getActiveToolFormatState, getCliOAuthManager, getCliProviderManager, getCliRuntimeServices, getEphemeralSetting, getEphemeralSettings, getRuntimeDiagnosticsSnapshot, listAvailableModels, listProviders, listSavedProfiles, loadProfileByName, registerCliProviderInfrastructure, saveProfileSnapshot, saveLoadBalancerProfile, setActiveModel, setActiveModelParam, setActiveToolFormatOverride, setDefaultProfileName, setEphemeralSetting, switchActiveProvider, updateActiveProviderApiKey, updateActiveProviderBaseUrl, getSessionTokenUsage, getLoadBalancerStats, getLoadBalancerLastSelected, getAllLoadBalancerStats } from '../../runtime/runtimeSettings.js';
/**
 * @plan PLAN-20251018-STATELESSPROVIDER2.P15
 * @requirement REQ-SP2-003
 * @pseudocode cli-runtime-isolation.md lines 4-10
 * React bridge that binds CLI runtime helpers to the active runtime scope so UI commands remain isolated.
 */
declare const runtimeFunctions: {
    readonly switchActiveProvider: typeof switchActiveProvider;
    readonly listProviders: typeof listProviders;
    readonly getActiveProviderName: typeof getActiveProviderName;
    readonly setActiveModel: typeof setActiveModel;
    readonly listAvailableModels: typeof listAvailableModels;
    readonly getActiveModelName: typeof getActiveModelName;
    readonly getActiveProviderStatus: typeof getActiveProviderStatus;
    readonly getActiveModelParams: typeof getActiveModelParams;
    readonly getEphemeralSettings: typeof getEphemeralSettings;
    readonly setEphemeralSetting: typeof setEphemeralSetting;
    readonly setActiveModelParam: typeof setActiveModelParam;
    readonly clearActiveModelParam: typeof clearActiveModelParam;
    readonly saveProfileSnapshot: typeof saveProfileSnapshot;
    readonly saveLoadBalancerProfile: typeof saveLoadBalancerProfile;
    readonly loadProfileByName: typeof loadProfileByName;
    readonly deleteProfileByName: typeof deleteProfileByName;
    readonly listSavedProfiles: typeof listSavedProfiles;
    readonly setDefaultProfileName: typeof setDefaultProfileName;
    readonly updateActiveProviderBaseUrl: typeof updateActiveProviderBaseUrl;
    readonly updateActiveProviderApiKey: typeof updateActiveProviderApiKey;
    readonly getCliProviderManager: typeof getCliProviderManager;
    readonly getCliOAuthManager: typeof getCliOAuthManager;
    readonly registerCliProviderInfrastructure: typeof registerCliProviderInfrastructure;
    readonly getRuntimeDiagnosticsSnapshot: typeof getRuntimeDiagnosticsSnapshot;
    readonly getActiveToolFormatState: typeof getActiveToolFormatState;
    readonly setActiveToolFormatOverride: typeof setActiveToolFormatOverride;
    readonly getActiveProviderMetrics: typeof getActiveProviderMetrics;
    readonly getSessionTokenUsage: typeof getSessionTokenUsage;
    readonly getCliRuntimeServices: typeof getCliRuntimeServices;
    readonly getEphemeralSetting: typeof getEphemeralSetting;
    readonly getLoadBalancerStats: typeof getLoadBalancerStats;
    readonly getLoadBalancerLastSelected: typeof getLoadBalancerLastSelected;
    readonly getAllLoadBalancerStats: typeof getAllLoadBalancerStats;
};
type RuntimeFunctions = typeof runtimeFunctions;
type RuntimeApi = {
    [K in keyof RuntimeFunctions]: RuntimeFunctions[K];
};
interface RuntimeContextBridge {
    runtimeId: string;
    metadata: Record<string, unknown>;
    api: RuntimeApi;
    runWithScope<T>(callback: () => T): T;
    enterScope(): void;
}
export declare const RuntimeContextProvider: React.FC<PropsWithChildren<unknown>>;
export declare function useRuntimeBridge(): RuntimeContextBridge;
export declare function useRuntimeApi(): RuntimeApi;
export declare function getRuntimeBridge(): RuntimeContextBridge;
export declare function getRuntimeApi(): RuntimeApi;
export {};
