import type { LLMProvider, ChatRequest, ChatResponse, ProviderEmbeddingRequest, ProviderEmbeddingResult, ProviderRuntimeMetadata, ProviderRuntimeMetadataDeps } from './interface.js';
import type { ProviderCapability } from './capabilities.js';
import type { CacheHitTracker } from './cache-strategy.js';
export interface OpenAICompatOptions {
    name: string;
    baseURL: string;
    apiKey: string;
    defaultModel: string;
    models: string[];
    embeddingModel?: string | undefined;
    capabilities?: Partial<ProviderCapability> | undefined;
    /** Optional extra HTTP headers sent with every request to this provider. */
    defaultHeaders?: Record<string, string> | undefined;
    /** How to send reasoning params. Default: 'none' (don't send). */
    reasoningFormat?: 'mercury' | 'openrouter' | 'llamacpp' | 'none' | undefined;
    /** Optional env vars or secret keys that can satisfy API-key auth for this provider. */
    authEnvVars?: readonly string[] | undefined;
    /** Optional service names that expose service-owned OAuth for this provider. */
    serviceNames?: readonly string[] | undefined;
    /** Optional subscription-provider identity when this provider can use a stored OAuth session. */
    subscriptionProviderId?: string | undefined;
    /** Optional provider-owned model suppression registry keys for runtime metadata consumers. */
    suppressedModelRegistryKeys?: readonly string[] | undefined;
    /** Optional provider aliases exposed to runtime metadata consumers. */
    aliases?: readonly string[] | undefined;
    /** Optional explicit stream protocol label for diagnostics. */
    streamProtocol?: string | undefined;
    /** Optional anonymous/local access posture. */
    allowAnonymous?: boolean | undefined;
    anonymousConfigured?: boolean | undefined;
    anonymousDetail?: string | undefined;
    /** Override runtime auth posture when apiKey is an internal transport placeholder. */
    authConfigured?: boolean | undefined;
    /** Shared cache-hit tracker owned by the runtime service graph. */
    cacheHitTracker?: Pick<CacheHitTracker, 'recordTurn'> | undefined;
}
/**
 * OpenAICompatProvider — generic OpenAI-compatible provider.
 * Configured for InceptionLabs Mercury-2 with reasoning_effort and
 * reasoning_summary extensions, but usable with any OAI-compatible API.
 */
export declare class OpenAICompatProvider implements LLMProvider {
    readonly name: string;
    readonly models: string[];
    readonly capabilities?: Partial<ProviderCapability> | undefined;
    private client;
    private defaultModel;
    private embeddingModel;
    private readonly configured;
    private reasoningFormat;
    private cacheCapability;
    private readonly authEnvVars;
    private readonly serviceNames;
    private readonly subscriptionProviderId?;
    private readonly suppressedModelRegistryKeys;
    private readonly aliases;
    private readonly streamProtocol?;
    private readonly allowAnonymous;
    private readonly anonymousConfigured;
    private readonly anonymousDetail?;
    private readonly cacheHitTracker;
    private readonly baseURL;
    private readonly endpointHost;
    constructor(opts: OpenAICompatOptions);
    isConfigured(): boolean;
    chat(params: ChatRequest): Promise<ChatResponse>;
    embed(request: ProviderEmbeddingRequest): Promise<ProviderEmbeddingResult>;
    describeRuntime(deps: ProviderRuntimeMetadataDeps): Promise<ProviderRuntimeMetadata>;
}
//# sourceMappingURL=openai-compat.d.ts.map