import { Effect, Stream } from 'effect'; import { type ChangeNotice, type DecodedEntity, type DecodedSingleEntity } from '../../../core/index.js'; import { DatabaseError } from '../error/index.js'; import { type ContractFailure } from '../contract/index.js'; export declare const dbError: (operation: string, failure: ContractFailure, entity?: string) => DatabaseError; export declare const failReason: (reason: DatabaseError['reason']) => Effect.Effect; export declare const broadcast: (entity: DecodedEntity | DecodedSingleEntity) => Effect.Effect; export declare const changesOrEmpty: () => Stream.Stream>; export declare const subscribe: (entityName: string, filter: Partial | undefined) => Stream.Stream>; //# sourceMappingURL=effects.d.ts.map