import "../../types.openclaw-DdC5iqF7.js";
import "../../types-DYUpU59A.js";
import { Qt as resolveApiKeyForProviderCore } from "../../acpx-BnI94i_U.js";
import "../../config-CCUs5d0i.js";
import "../../provider-auth-helpers-DdDlxNn2.js";
import { n as fetchWithTimeoutGuarded, r as postJsonRequest } from "../../shared-BP-dpI8m.js";
import "../../provider-http-CXx2gzRB.js";
//#region src/plugin-sdk/provider-auth-runtime.d.ts
type ResolveApiKeyForProvider = typeof resolveApiKeyForProviderCore;
/**
 * Resolves provider API-key auth through the runtime auth module when available.
 */
declare function resolveApiKeyForProvider(
/** Provider auth lookup params forwarded to the runtime auth module. */
params: Parameters<ResolveApiKeyForProvider>[0]): Promise<Awaited<ReturnType<ResolveApiKeyForProvider>>>;
//#endregion
//#region extensions/minimax/media-provider-runtime.d.ts
export declare const DEFAULT_MINIMAX_MEDIA_BASE_URL = "https://api.minimax.io";
export type MinimaxBaseResp = {
  status_code?: number;
  status_msg?: string;
};
export type MinimaxRequestPolicy = Pick<Parameters<typeof postJsonRequest>[0], "allowPrivateNetwork" | "dispatcherPolicy">;
export declare function resolveMinimaxMediaBaseUrl(cfg: Parameters<typeof resolveApiKeyForProvider>[0]["cfg"], providerId: string): string;
export declare function assertMinimaxBaseResp(baseResp: MinimaxBaseResp | undefined, context: string): void;
export declare function normalizeMinimaxHexAudio(data: string, label: string): string;
export declare function resolveMinimaxGuardedRequestOptions(policy: MinimaxRequestPolicy): Parameters<typeof fetchWithTimeoutGuarded>[4] | undefined;
//#endregion