
import { CopilotRuntimeChatCompletionRequest, CopilotRuntimeChatCompletionResponse, CopilotServiceAdapter } from "../service-adapter.cjs";
import { LanguageModel } from "ai";
import { Groq } from "groq-sdk";

//#region src/service-adapters/groq/groq-adapter.d.ts
interface GroqAdapterParams {
  /**
   * An optional Groq instance to use.
   */
  groq?: Groq;
  /**
   * The model to use.
   */
  model?: string;
  /**
   * Whether to disable parallel tool calls.
   * You can disable parallel tool calls to force the model to execute tool calls sequentially.
   * This is useful if you want to execute tool calls in a specific order so that the state changes
   * introduced by one tool call are visible to the next tool call. (i.e. new actions or readables)
   *
   * @default false
   */
  disableParallelToolCalls?: boolean;
}
declare class GroqAdapter implements CopilotServiceAdapter {
  model: string;
  provider: string;
  private disableParallelToolCalls;
  private _groq;
  get groq(): Groq;
  get name(): string;
  constructor(params?: GroqAdapterParams);
  getLanguageModel(): LanguageModel;
  private ensureGroq;
  process(request: CopilotRuntimeChatCompletionRequest): Promise<CopilotRuntimeChatCompletionResponse>;
}
//#endregion
export { GroqAdapter, GroqAdapterParams };
//# sourceMappingURL=groq-adapter.d.cts.map