import type { Api, Model } from "@earendil-works/pi-ai";
import { getApiKeyForModel, resolveApiKeyForProvider } from "../../agents/model-auth.js";
import type { KaijiBotConfig } from "../../config/config.js";
import type { ResolvedProviderRuntimeAuth } from "./model-auth-types.js";
export { getApiKeyForModel, resolveApiKeyForProvider };
/**
 * Resolve request-ready auth for a runtime model, applying any provider-owned
 * `prepareRuntimeAuth` exchange on top of the standard credential lookup.
 */
export declare function getRuntimeAuthForModel(params: {
    model: Model<Api>;
    cfg?: KaijiBotConfig;
    workspaceDir?: string;
}): Promise<ResolvedProviderRuntimeAuth>;
