import { Serializable } from '../internals/serializable.js'; import { a as ChatModel, F as FullModelName } from '../chat-CfTNfR60.js'; import { EmbeddingModel } from './embedding.js'; import { ProviderName } from './constants.js'; import { OptionalExcept } from '../internals/types.js'; import '../internals/helpers/guards.js'; import './message.js'; import 'ai'; import '../context.js'; import '../emitter-kHxkUxco.js'; import '../internals/helpers/promise.js'; import '../errors.js'; import 'promise-based-task'; import '../cache/base.js'; import '../tools/base.js'; import 'ajv'; import '../internals/helpers/schema.js'; import 'zod'; import 'zod-to-json-schema'; import '../template.js'; import '../logger/logger.js'; import 'pino'; /** * Copyright 2025 © BeeAI a Series of LF Projects, LLC * SPDX-License-Identifier: Apache-2.0 */ interface BackendModels { chat: ChatModel; embedding: EmbeddingModel; } declare class Backend extends Serializable implements BackendModels { chat: ChatModel; embedding: EmbeddingModel; constructor(models: BackendModels); static fromName(input: OptionalExcept, "chat">): Promise; static fromProvider(provider: ProviderName): Promise; createSnapshot(): { chat: ChatModel; embedding: EmbeddingModel; }; loadSnapshot(snapshot: ReturnType): void; } export { Backend };