import type { Model } from "@earendil-works/pi-ai";
import type { ProviderEndpointClass, ProviderRequestCapabilities } from "./provider-attribution.js";
type OpenAICompletionsCompatDefaultsInput = {
    provider?: string;
    endpointClass: ProviderEndpointClass;
    knownProviderFamily: string;
    supportsNativeStreamingUsageCompat?: boolean;
    usesExplicitProxyLikeEndpoint?: boolean;
};
export type OpenAICompletionsCompatDefaults = {
    supportsStore: boolean;
    supportsDeveloperRole: boolean;
    supportsReasoningEffort: boolean;
    supportsUsageInStreaming: boolean;
    maxTokensField: "max_completion_tokens" | "max_tokens";
    thinkingFormat: "openai" | "openrouter" | "zai";
    supportsStrictMode: boolean;
};
export type DetectedOpenAICompletionsCompat = {
    capabilities: ProviderRequestCapabilities;
    defaults: OpenAICompletionsCompatDefaults;
};
export declare function resolveOpenAICompletionsCompatDefaults(input: OpenAICompletionsCompatDefaultsInput): OpenAICompletionsCompatDefaults;
export declare function resolveOpenAICompletionsCompatDefaultsFromCapabilities(input: Pick<ProviderRequestCapabilities, "endpointClass" | "knownProviderFamily" | "supportsNativeStreamingUsageCompat" | "usesExplicitProxyLikeEndpoint"> & {
    provider?: string;
}): OpenAICompletionsCompatDefaults;
export declare function detectOpenAICompletionsCompat(model: Pick<Model<"openai-completions">, "provider" | "baseUrl" | "id" | "compat">): DetectedOpenAICompletionsCompat;
export {};
