UNPKG

@hotmeshio/hotmesh

Version:

Permanent-Memory Workflows & AI Agents

20 lines (19 loc) 979 B
import { ILogger } from '../../../logger'; import { PostgresClientType } from '../../../../types/postgres'; import { ProviderClient } from '../../../../types/provider'; /** * Create a stream (no-op for PostgreSQL - streams are created implicitly). */ export declare function createStream(streamName: string): Promise<boolean>; /** * Delete a stream or all streams. */ export declare function deleteStream(client: PostgresClientType & ProviderClient, tableName: string, streamName: string, logger: ILogger): Promise<boolean>; /** * Create a consumer group (no-op for PostgreSQL - groups are created implicitly). */ export declare function createConsumerGroup(streamName: string, groupName: string): Promise<boolean>; /** * Delete a consumer group (removes all messages for that group). */ export declare function deleteConsumerGroup(client: PostgresClientType & ProviderClient, tableName: string, streamName: string, groupName: string, logger: ILogger): Promise<boolean>;