import { DictionaryAPI } from "../types/dictionary.types.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 { CheckDictionaryChangeSSEParams, MessageEventData, Object$1 as Object, SendDictionaryUpdateArg, Status, listenChangeSSE, sendDictionaryUpdate };
//# sourceMappingURL=eventListener.controller.d.ts.map