import { FactoryStorageDomain } from '@mastra/core/storage'; import type { CollectionSchema } from '@mastra/core/storage'; /** A saved custom model pack: one model per mode (build / plan / fast). */ export interface ModelPackRecord { id: string; orgId: string; createdBy: string; name: string; models: { build: string; plan: string; fast: string; }; createdAt: Date; updatedAt: Date; } export interface UpsertModelPackInput { name: string; models: { build: string; plan: string; fast: string; }; } export interface ActiveModelPackRecord { orgId: string; userId: string; packId: string; models: { build: string; plan: string; fast: string; }; updatedAt: Date; } export declare const MODEL_PACKS_SCHEMA: CollectionSchema; export declare const ACTIVE_MODEL_PACKS_SCHEMA: CollectionSchema; export declare class ModelPacksStorage extends FactoryStorageDomain { #private; constructor(); init(): Promise; dangerouslyClearAll(): Promise; /** Create or replace a pack by `(orgId, name)` — mirrors the settings.json upsert semantics. */ upsert({ orgId, userId, input, }: { orgId: string; userId: string; input: UpsertModelPackInput; }): Promise; list({ orgId }: { orgId: string; }): Promise; get({ orgId, id }: { orgId: string; id: string; }): Promise; setActive({ orgId, userId, packId, models, }: { orgId: string; userId: string; packId: string; models: ActiveModelPackRecord['models']; }): Promise; getActive({ orgId, userId }: { orgId: string; userId: string; }): Promise; clearActive({ orgId, userId }: { orgId: string; userId: string; }): Promise; delete({ orgId, id }: { orgId: string; id: string; }): Promise; } //# sourceMappingURL=base.d.ts.map