import { PromptBlocksStorage } from '@mastra/core/storage';
import type { StoragePromptBlockType, StorageCreatePromptBlockInput, StorageUpdatePromptBlockInput, StorageListPromptBlocksInput, StorageListPromptBlocksOutput, PromptBlockVersion, CreatePromptBlockVersionInput, ListPromptBlockVersionsInput, ListPromptBlockVersionsOutput } from '@mastra/core/storage';
import type { LibSQLDomainConfig } from '../../db/index.js';
export declare class PromptBlocksLibSQL extends PromptBlocksStorage {
    #private;
    constructor(config: LibSQLDomainConfig);
    init(): Promise<void>;
    dangerouslyClearAll(): Promise<void>;
    getById(id: string): Promise<StoragePromptBlockType | null>;
    create(input: {
        promptBlock: StorageCreatePromptBlockInput;
    }): Promise<StoragePromptBlockType>;
    update(input: StorageUpdatePromptBlockInput): Promise<StoragePromptBlockType>;
    delete(id: string): Promise<void>;
    list(args?: StorageListPromptBlocksInput): Promise<StorageListPromptBlocksOutput>;
    createVersion(input: CreatePromptBlockVersionInput): Promise<PromptBlockVersion>;
    getVersion(id: string): Promise<PromptBlockVersion | null>;
    getVersionByNumber(blockId: string, versionNumber: number): Promise<PromptBlockVersion | null>;
    getLatestVersion(blockId: string): Promise<PromptBlockVersion | null>;
    listVersions(input: ListPromptBlockVersionsInput): Promise<ListPromptBlockVersionsOutput>;
    deleteVersion(id: string): Promise<void>;
    deleteVersionsByParentId(entityId: string): Promise<void>;
    countVersions(blockId: string): Promise<number>;
}
//# sourceMappingURL=index.d.ts.map