import { ChatModelSchemaType, ParamsType, ProviderV1, ChatModelV1, EmbeddingModelSchemaType, EmbeddingModelV1 } from '@adaline/provider'; import { z } from 'zod'; import { BaseChatModel } from '@adaline/openai'; import { MessageType, ChatModelPriceType } from '@adaline/types'; declare const BaseChatModelOptions: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; }, { modelName: string; apiKey: string; }>; type BaseChatModelOptionsType = z.infer; declare class BaseChatModelGroq extends BaseChatModel { readonly version: "v1"; modelSchema: ChatModelSchemaType; readonly modelName: string; private readonly groqApiKey; constructor(modelSchema: ChatModelSchemaType, options: BaseChatModelOptionsType); transformMessages(messages: MessageType[]): ParamsType; getModelPricing(): ChatModelPriceType; } declare const Gpt_Oss_20bLiteral: "openai/gpt-oss-20b"; declare const Gpt_Oss_20bSchema: { name: string; description: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gpt_Oss_20b_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; }, { modelName: string; apiKey: string; }>; type Gpt_Oss_20b_OptionsType = z.infer; declare class Gpt_Oss_20b extends BaseChatModelGroq { constructor(options: Gpt_Oss_20b_OptionsType); } declare const Gpt_Oss_120bLiteral: "openai/gpt-oss-120b"; declare const Gpt_Oss_120bSchema: { name: string; description: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gpt_Oss_120b_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; }, { modelName: string; apiKey: string; }>; type Gpt_Oss_120b_OptionsType = z.infer; declare class Gpt_Oss_120b extends BaseChatModelGroq { constructor(options: Gpt_Oss_120b_OptionsType); } declare const Llama_3_1_8bLiteral: "llama-3.1-8b-instant"; declare const Llama_3_1_8bSchema: { name: string; description: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Llama_3_1_8b_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; }, { modelName: string; apiKey: string; }>; type Llama_3_1_8b_OptionsType = z.infer; declare class Llama_3_1_8b extends BaseChatModelGroq { constructor(options: Llama_3_1_8b_OptionsType); } declare const Llama_3_3_70b_VersatileLiteral: "llama-3.3-70b-versatile"; declare const Llama_3_3_70b_VersatileSchema: { name: string; description: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Llama_3_3_70b_Versatile_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; }, { modelName: string; apiKey: string; }>; type Llama_3_3_70b_Versatile_OptionsType = z.infer; declare class Llama_3_3_70b_Versatile extends BaseChatModelGroq { constructor(options: Llama_3_3_70b_Versatile_OptionsType); } declare const Gpt_Oss_Safeguard_20bLiteral: "openai/gpt-oss-safeguard-20b"; declare const Gpt_Oss_Safeguard_20bSchema: { name: string; description: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Gpt_Oss_Safeguard_20b_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; }, { modelName: string; apiKey: string; }>; type Gpt_Oss_Safeguard_20b_OptionsType = z.infer; declare class Gpt_Oss_Safeguard_20b extends BaseChatModelGroq { constructor(options: Gpt_Oss_Safeguard_20b_OptionsType); } declare const Qwen3_6_27bLiteral: "qwen/qwen3.6-27b"; declare const Qwen3_6_27bSchema: { name: string; description: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Qwen3_6_27b_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; }, { modelName: string; apiKey: string; }>; type Qwen3_6_27b_OptionsType = z.infer; declare class Qwen3_6_27b extends BaseChatModelGroq { constructor(options: Qwen3_6_27b_OptionsType); } declare const Llama_Prompt_Guard_2_86mLiteral: "meta-llama/llama-prompt-guard-2-86m"; declare const Llama_Prompt_Guard_2_86mSchema: { name: string; description: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Llama_Prompt_Guard_2_86m_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; }, { modelName: string; apiKey: string; }>; type Llama_Prompt_Guard_2_86m_OptionsType = z.infer; declare class Llama_Prompt_Guard_2_86m extends BaseChatModelGroq { constructor(options: Llama_Prompt_Guard_2_86m_OptionsType); } declare const Llama_Prompt_Guard_2_22mLiteral: "meta-llama/llama-prompt-guard-2-22m"; declare const Llama_Prompt_Guard_2_22mSchema: { name: string; description: string; roles: Partial>; modalities: ["text" | "tool-call" | "tool-response", ...("text" | "tool-call" | "tool-response")[]]; maxInputTokens: number; maxOutputTokens: number; config: { def: Record; schema: z.ZodObject; }; price: { modelName: string; currency: string; tokenRanges: { minTokens: number; prices: { base: { inputPricePerMillion: number; outputPricePerMillion: number; }; }; maxTokens?: number | null | undefined; }[]; }; maxReasoningTokens?: number | undefined; }; declare const Llama_Prompt_Guard_2_22m_Options: z.ZodObject<{ modelName: z.ZodString; apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { modelName: string; apiKey: string; }, { modelName: string; apiKey: string; }>; type Llama_Prompt_Guard_2_22m_OptionsType = z.infer; declare class Llama_Prompt_Guard_2_22m extends BaseChatModelGroq { constructor(options: Llama_Prompt_Guard_2_22m_OptionsType); } declare class Groq = Record> implements ProviderV1 { readonly version: "v1"; readonly name = "groq"; static readonly baseUrl = "https://api.groq.com/openai/v1"; private readonly chatModelFactories; private readonly embeddingModelFactories; chatModelLiterals(): string[]; chatModelSchemas(): Record; chatModel(options: C): ChatModelV1; embeddingModelLiterals(): string[]; embeddingModelSchemas(): Record; embeddingModel(options: E): EmbeddingModelV1; } export { BaseChatModelGroq, BaseChatModelOptions, type BaseChatModelOptionsType, Gpt_Oss_120b, Gpt_Oss_120bLiteral, Gpt_Oss_120bSchema, Gpt_Oss_120b_Options, type Gpt_Oss_120b_OptionsType, Gpt_Oss_20b, Gpt_Oss_20bLiteral, Gpt_Oss_20bSchema, Gpt_Oss_20b_Options, type Gpt_Oss_20b_OptionsType, Gpt_Oss_Safeguard_20b, Gpt_Oss_Safeguard_20bLiteral, Gpt_Oss_Safeguard_20bSchema, Gpt_Oss_Safeguard_20b_Options, type Gpt_Oss_Safeguard_20b_OptionsType, Groq, Llama_3_1_8b, Llama_3_1_8bLiteral, Llama_3_1_8bSchema, Llama_3_1_8b_Options, type Llama_3_1_8b_OptionsType, Llama_3_3_70b_Versatile, Llama_3_3_70b_VersatileLiteral, Llama_3_3_70b_VersatileSchema, Llama_3_3_70b_Versatile_Options, type Llama_3_3_70b_Versatile_OptionsType, Llama_Prompt_Guard_2_22m, Llama_Prompt_Guard_2_22mLiteral, Llama_Prompt_Guard_2_22mSchema, Llama_Prompt_Guard_2_22m_Options, type Llama_Prompt_Guard_2_22m_OptionsType, Llama_Prompt_Guard_2_86m, Llama_Prompt_Guard_2_86mLiteral, Llama_Prompt_Guard_2_86mSchema, Llama_Prompt_Guard_2_86m_Options, type Llama_Prompt_Guard_2_86m_OptionsType, Qwen3_6_27b, Qwen3_6_27bLiteral, Qwen3_6_27bSchema, Qwen3_6_27b_Options, type Qwen3_6_27b_OptionsType };