import { G as TranslationDownloadGroupPlan, Rt as TranslationModelDownloadPlan } from "./translator-BgCkaOkw.mjs"; //#region src/local-download-profiles.d.ts declare const LOCAL_MODEL_PROFILE_DEFINITIONS: readonly [{ readonly id: "q1"; readonly label: "q1"; readonly dtype: "q1"; readonly suffix: "_q1"; readonly description: "1-bit quantized ONNX profile."; }, { readonly id: "q1f16"; readonly label: "q1f16"; readonly dtype: "q1f16"; readonly suffix: "_q1f16"; readonly description: "1-bit block quantized fp16 ONNX profile."; }, { readonly id: "q2"; readonly label: "q2"; readonly dtype: "q2"; readonly suffix: "_q2"; readonly description: "2-bit quantized ONNX profile."; }, { readonly id: "q2f16"; readonly label: "q2f16"; readonly dtype: "q2f16"; readonly suffix: "_q2f16"; readonly description: "2-bit block quantized fp16 ONNX profile."; }, { readonly id: "q4"; readonly label: "q4"; readonly dtype: "q4"; readonly suffix: "_q4"; readonly description: "4-bit quantized ONNX profile."; }, { readonly id: "q4f16"; readonly label: "q4f16"; readonly dtype: "q4f16"; readonly suffix: "_q4f16"; readonly description: "4-bit block quantized fp16 ONNX profile."; }, { readonly id: "bnb4"; readonly label: "bnb4"; readonly dtype: "bnb4"; readonly suffix: "_bnb4"; readonly description: "bitsandbytes 4-bit ONNX profile."; }, { readonly id: "q8"; readonly label: "q8"; readonly dtype: "q8"; readonly suffix: "_quantized"; readonly description: "8-bit quantized ONNX profile."; }, { readonly id: "int8"; readonly label: "int8"; readonly dtype: "int8"; readonly suffix: "_int8"; readonly description: "int8 ONNX profile."; }, { readonly id: "uint8"; readonly label: "uint8"; readonly dtype: "uint8"; readonly suffix: "_uint8"; readonly description: "uint8 ONNX profile."; }, { readonly id: "fp16"; readonly label: "fp16"; readonly dtype: "fp16"; readonly suffix: "_fp16"; readonly description: "fp16 ONNX profile."; }, { readonly id: "fp32"; readonly label: "fp32"; readonly dtype: "fp32"; readonly suffix: ""; readonly description: "fp32 ONNX profile."; }]; type LocalModelProfileId = (typeof LOCAL_MODEL_PROFILE_DEFINITIONS)[number]['id']; interface LocalRepositoryFile { path: string; sizeBytes?: number; etag?: string; revision?: string; sourceUrl?: string; raw?: unknown; } interface LocalRuntimeProfileFiles { profile: LocalModelProfileId; dtype: string; files: ReadonlyArray; } declare function buildLocalDownloadPlanFromRepositoryFiles(input: { modelId: string; files: ReadonlyArray; isEncoderDecoder?: boolean; selectedGroupId?: string; }): TranslationModelDownloadPlan | null; declare function buildLocalDownloadPlanFromRuntimeProfileFiles(input: { modelId: string; groups: ReadonlyArray; selectedGroupId?: string; }): TranslationModelDownloadPlan | null; declare function selectLocalDownloadGroup(plan: TranslationModelDownloadPlan | null, selectedGroupId: string | undefined): TranslationDownloadGroupPlan | null; //#endregion export { buildLocalDownloadPlanFromRepositoryFiles as a, LocalRuntimeProfileFiles as i, LocalModelProfileId as n, buildLocalDownloadPlanFromRuntimeProfileFiles as o, LocalRepositoryFile as r, selectLocalDownloadGroup as s, LOCAL_MODEL_PROFILE_DEFINITIONS as t };