import type { DecideCatalogJson, DecisionDialect, DecisionError, DecisionPreparedMedia, DecisionRequest, DecisionState, UnknownRecord } from "../types/index.js";
import { SystemOneDecisionProvider } from "./systemOneDecision.js";
/** A `decide` provider described entirely by its catalog entry. */
export declare class ConfiguredDecisionProvider extends SystemOneDecisionProvider {
    private readonly entry;
    private readonly apiKey;
    private readonly baseURL;
    private readonly endpoint;
    constructor(entry: DecideCatalogJson, modelName?: string, sdk?: unknown, credentials?: UnknownRecord);
    protected getDefaultModel(): string;
    protected vendorLabel(): string;
    protected vendorDisplayName(): string;
    protected decisionApiKey(): string;
    protected missingKeyMessage(): string;
    protected missingConfigMessage(): string | undefined;
    protected decisionEndpoint(): string;
    /**
     * `decide.capableModel` in place of the default, for a request that carries
     * media or one of its question types, when nobody chose a model: the call
     * names none, the model variable is unset, and the instance is on the
     * default. A model somebody chose is always the one sent.
     */
    protected resolveRequestModel(request: DecisionRequest): string;
    protected decisionHeaders(): Record<string, string>;
    /**
     * The state the dialect is given. Only an entry that sets `stateEncoding`
     * changes it, so every other entry sends exactly what the caller passed.
     */
    private encodeState;
    protected buildDecisionBody(state: DecisionState, questions: Record<string, Record<string, unknown>>, model: string, media?: DecisionPreparedMedia): Record<string, unknown>;
    protected parseDecisionError(status: number, payload: unknown, requestId: string | undefined): DecisionError;
    protected readRequestId(headers: Headers): string | undefined;
    protected resolveResponseModel(payload: Record<string, unknown>, requestedModel: string): string;
    protected dialect(): DecisionDialect;
}
