UNPKG

@mastra/core

Version:

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

28 lines 1.64 kB
import type { FilesystemDB } from '../../filesystem-db.js'; import type { StorageMCPClientType, StorageCreateMCPClientInput, StorageUpdateMCPClientInput, StorageListMCPClientsInput, StorageListMCPClientsOutput } from '../../types.js'; import type { MCPClientVersion, CreateMCPClientVersionInput, ListMCPClientVersionsInput, ListMCPClientVersionsOutput } from './base.js'; import { MCPClientsStorage } from './base.js'; export declare class FilesystemMCPClientsStorage extends MCPClientsStorage { private helpers; constructor({ db }: { db: FilesystemDB; }); init(): Promise<void>; dangerouslyClearAll(): Promise<void>; getById(id: string): Promise<StorageMCPClientType | null>; create(input: { mcpClient: StorageCreateMCPClientInput; }): Promise<StorageMCPClientType>; update(input: StorageUpdateMCPClientInput): Promise<StorageMCPClientType>; delete(id: string): Promise<void>; list(args?: StorageListMCPClientsInput): Promise<StorageListMCPClientsOutput>; createVersion(input: CreateMCPClientVersionInput): Promise<MCPClientVersion>; getVersion(id: string): Promise<MCPClientVersion | null>; getVersionByNumber(mcpClientId: string, versionNumber: number): Promise<MCPClientVersion | null>; getLatestVersion(mcpClientId: string): Promise<MCPClientVersion | null>; listVersions(input: ListMCPClientVersionsInput): Promise<ListMCPClientVersionsOutput>; deleteVersion(id: string): Promise<void>; deleteVersionsByParentId(entityId: string): Promise<void>; countVersions(mcpClientId: string): Promise<number>; } //# sourceMappingURL=filesystem.d.ts.map