import { PromptBlocksStorage } from '@mastra/core/storage'; import type { StoragePromptBlockType, StorageCreatePromptBlockInput, StorageUpdatePromptBlockInput, StorageListPromptBlocksInput, StorageListPromptBlocksOutput, CreateIndexOptions } from '@mastra/core/storage'; import type { PromptBlockVersion, CreatePromptBlockVersionInput, ListPromptBlockVersionsInput, ListPromptBlockVersionsOutput } from '@mastra/core/storage/domains/prompt-blocks'; import type { PgDomainConfig } from '../../db/index.js'; export declare class PromptBlocksPG extends PromptBlocksStorage { #private; static readonly MANAGED_TABLES: readonly ["mastra_prompt_blocks", "mastra_prompt_block_versions"]; constructor(config: PgDomainConfig); /** * Returns default index definitions for the prompt blocks domain tables. * @param schemaPrefix - Prefix for index names (e.g. "my_schema_" or "") */ static getDefaultIndexDefs(schemaPrefix: string): CreateIndexOptions[]; /** * Returns all DDL statements for this domain: tables and indexes. * Used by exportSchemas to produce a complete, reproducible schema export. */ static getExportDDL(schemaName?: string): string[]; getDefaultIndexDefinitions(): CreateIndexOptions[]; createDefaultIndexes(): Promise; init(): Promise; createCustomIndexes(): Promise; 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 parseBlockRow; private parseVersionRow; } //# sourceMappingURL=index.d.ts.map