import { r as DictionaryAPI } from "./dictionary.types-D2UBLKDw.js";
import { FastifyReply, FastifyRequest } from "fastify";

//#region src/controllers/eventListener.controller.d.ts
type Object$1 = 'DICTIONARY';
type Status = 'ADDED' | 'UPDATED' | 'DELETED' | 'CREATED';
type MessageEventData = {
  object: Object$1;
  status: Status;
  data: any;
};
type SendDictionaryUpdateArg = {
  dictionary: DictionaryAPI;
  status: 'ADDED' | 'UPDATED' | 'DELETED' | 'CREATED';
};
declare const sendDictionaryUpdate: (args: SendDictionaryUpdateArg[]) => void;
type CheckDictionaryChangeSSEParams = {
  accessToken: string;
};
/**
 * SSE to check the email verification status
 */
declare const listenChangeSSE: (request: FastifyRequest<{
  Params: CheckDictionaryChangeSSEParams;
}>, reply: FastifyReply) => Promise<void>;
//#endregion
export { Status as a, SendDictionaryUpdateArg as i, MessageEventData as n, listenChangeSSE as o, Object$1 as r, sendDictionaryUpdate as s, CheckDictionaryChangeSSEParams as t };
//# sourceMappingURL=eventListener.controller-DyLpIje6.d.ts.map