//#region src/domains/run/stream/stream-buffer-registry.d.ts
interface StreamScope {
  tenantId: string;
  projectId: string;
  conversationId: string;
}
declare class PgStreamBufferRegistry {
  private writeBuffers;
  private decoder;
  private static bufferKey;
  register(scope: StreamScope): void;
  push(scope: StreamScope, chunk: Uint8Array): void;
  complete(scope: StreamScope): Promise<void>;
  createReadable(scope: StreamScope, afterIdx?: number): ReadableStream<Uint8Array>;
  hasChunks(scope: StreamScope): Promise<boolean>;
  private flush;
}
declare const streamBufferRegistry: PgStreamBufferRegistry;
//#endregion
export { streamBufferRegistry };