import type { StoragePromptBlockType, StorageCreatePromptBlockInput, StorageUpdatePromptBlockInput, StorageListPromptBlocksInput, StorageListPromptBlocksOutput } from '../../types.js'; import type { InMemoryDB } from '../inmemory-db.js'; import type { PromptBlockVersion, CreatePromptBlockVersionInput, ListPromptBlockVersionsInput, ListPromptBlockVersionsOutput } from './base.js'; import { PromptBlocksStorage } from './base.js'; export declare class InMemoryPromptBlocksStorage extends PromptBlocksStorage { private db; constructor({ db }: { db: InMemoryDB; }); dangerouslyClearAll(): Promise; getById(id: string): Promise; create(input: { promptBlock: StorageCreatePromptBlockInput; }): Promise; update(input: StorageUpdatePromptBlockInput): Promise; delete(id: string): Promise; list(args?: StorageListPromptBlocksInput): Promise; createVersion(input: CreatePromptBlockVersionInput): Promise; getVersion(id: string): Promise; getVersionByNumber(blockId: string, versionNumber: number): Promise; getLatestVersion(blockId: string): Promise; listVersions(input: ListPromptBlockVersionsInput): Promise; deleteVersion(id: string): Promise; deleteVersionsByParentId(entityId: string): Promise; countVersions(blockId: string): Promise; private deepCopyBlock; private deepCopyVersion; private sortBlocks; private sortVersions; } //# sourceMappingURL=inmemory.d.ts.map