import { r as KlawConfig } from "../../types.klaw-xKUw_Rz7.js"; import { o as resolveApiKeyForProvider } from "../../provider-auth-runtime-DQN86Lym.js"; import * as _$vitest from "vitest"; import { vi } from "vitest"; //#region extensions/comfy/test-helpers.d.ts type FetchGuardMock = ReturnType; type ComfyCloudJobResponseOptions = { body: BodyInit; contentType: string; filename: string; outputKind: "gifs" | "images"; promptId: string; redirectLocation: string; }; declare function buildComfyConfig(config: Record): KlawConfig; declare function buildLegacyComfyConfig(config: Record): KlawConfig; declare function parseComfyJsonBody(fetchWithSsrFGuardMock: FetchGuardMock, call: number): Record; declare function mockComfyProviderApiKey(apiKey?: string): _$vitest.Mock; declare function mockComfyCloudJobResponses(fetchWithSsrFGuardMock: FetchGuardMock, options: ComfyCloudJobResponseOptions): void; //#endregion export { buildComfyConfig, buildLegacyComfyConfig, mockComfyCloudJobResponses, mockComfyProviderApiKey, parseComfyJsonBody };