/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * @plan:PLAN-20250218-STATELESSPROVIDER.P03
 * @requirement:REQ-SP-002.1
 * Derived from pseudocode/provider-invocation.md:2 and pseudocode/cli-runtime.md:5.
 */
import { SettingsService } from '../settings/SettingsService.js';
import type { Config } from '../config/config.js';
export interface ProviderRuntimeContext {
    settingsService: SettingsService;
    config?: Config;
    runtimeId?: string;
    metadata?: Record<string, unknown>;
}
export interface ProviderRuntimeContextInit {
    settingsService?: SettingsService;
    config?: Config;
    runtimeId?: string;
    metadata?: Record<string, unknown>;
}
export declare function createProviderRuntimeContext(init?: ProviderRuntimeContextInit): ProviderRuntimeContext;
export declare function setActiveProviderRuntimeContext(context: ProviderRuntimeContext | null): void;
export declare function clearActiveProviderRuntimeContext(): void;
export declare function peekActiveProviderRuntimeContext(): ProviderRuntimeContext | null;
export declare function getActiveProviderRuntimeContext(): ProviderRuntimeContext;
export declare function setProviderRuntimeContextFallback(factory: (() => ProviderRuntimeContext) | null): void;
