import { IntlayerConfig } from "@intlayer/types";
import { AIOptions, Messages } from "@intlayer/api";

//#region src/utils/chunkInference.d.ts
type ChunkInferenceResult = {
  fileContent: string;
  tokenUsed: number;
};
/**
 * Translates a single chunk via the OpenAI API.
 * Includes retry logic if the call fails.
 */
declare const chunkInference: (messages: Messages, aiOptions?: AIOptions, configuration?: IntlayerConfig) => Promise<ChunkInferenceResult>;
//#endregion
export { chunkInference };
//# sourceMappingURL=chunkInference.d.ts.map