import { completePrompt, PromptCompletionArgs } from './types'; export interface FireworksAIArgs { apiKey: string; model: string; temperature?: number; } /** * Extract JSON from a string that may be wrapped in markdown fences or prose. * Returns the original string if no JSON object/array is found. */ export declare function extractJSON(text: string): string; /** * Resolve a short Fireworks model name to the full API path. * Returns the input unchanged if not a known short name. */ export declare function resolveFireworksModel(model: string): string; /** * Build the messages array, temperature, and JSON flag for a FireworksAI request. * Pure function — no SDK dependency. */ export declare function buildFireworksRequest(args: PromptCompletionArgs, defaultTemp: number): { messages: { role: string; content: string; }[]; temperature: number; useJson: boolean; }; export declare function fireworksai(args: FireworksAIArgs): completePrompt; //# sourceMappingURL=fireworksai.d.ts.map