import * as _ai_sdk_provider0 from "@ai-sdk/provider";
import { LanguageModelV2, LanguageModelV2CallOptions, LanguageModelV2StreamPart } from "@ai-sdk/provider";

//#region src/utils/mock-provider.d.ts
declare class MockLanguageModel implements LanguageModelV2 {
  readonly specificationVersion: "v2";
  readonly defaultObjectGenerationMode: undefined;
  readonly supportsImageUrls = false;
  readonly supportedUrls: {};
  readonly provider = "mock";
  readonly modelId: string;
  constructor(modelId: string);
  doGenerate(options: LanguageModelV2CallOptions): Promise<{
    content: {
      type: "text";
      text: string;
    }[];
    finishReason: "stop";
    usage: {
      inputTokens: number;
      outputTokens: number;
      totalTokens: number;
    };
    rawCall: {
      rawPrompt: _ai_sdk_provider0.LanguageModelV2Prompt;
      rawSettings: {};
    };
    warnings: never[];
  }>;
  doStream(options: LanguageModelV2CallOptions): Promise<{
    stream: ReadableStream<LanguageModelV2StreamPart>;
    rawCall: {
      rawPrompt: _ai_sdk_provider0.LanguageModelV2Prompt;
      rawSettings: {};
    };
    warnings: never[];
  }>;
}
declare function createMockModel(modelId: string): MockLanguageModel;
//#endregion
export { MockLanguageModel, createMockModel };