import type { TABLE_NAMES } from '@mastra/core/storage'; /** * Generate a Redis key from table name and key parts. * * @example * ```typescript * getKey('mastra_threads', { id: 'thread-123' }); * // Returns: 'mastra_threads:id:thread-123' * * getKey('mastra_messages', { threadId: 'thread-123', id: 'msg-456' }); * // Returns: 'mastra_messages:threadId:thread-123:id:msg-456' * ``` */ export declare function getKey(tableName: TABLE_NAMES, keys: Record): string; /** * Process a record for storage, generating the appropriate key and serializing dates. */ export declare function processRecord(tableName: TABLE_NAMES, record: Record): { key: string; processedRecord: { createdAt: string | undefined; updatedAt: string | undefined; }; }; //# sourceMappingURL=utils.d.ts.map