export declare const MY_CHANGE_TOPIC = "my-change"; export interface MyChangePayload { domainId: string; /** The kind of record - the module says, e.g. `inquiry`, `announcement`. */ kind: string; id: string; userIds: string[]; } /** Whether one subscriber hears it - the same domain, one of the people it names, one of the kinds asked for. */ export declare function hearsMyChange(payload: MyChangePayload, domainId: string | undefined, userId: string | undefined, kinds: string[]): boolean; /** * Tells `userIds` that the record changed - once the request's transaction has committed, at once where there is none * (a timer, a script). `context` is a request's, or `{ state: { domain } }`. */ export declare function tellChange(context: { state: { domain: { id: string; }; afterCommit?: any; }; }, change: { kind: string; id: string; userIds: (string | null | undefined)[]; }): void;