import { ResponseData } from "../utils/responseData.js";
import { FastifyReply, FastifyRequest } from "fastify";
import { DictionaryStatus } from "@intlayer/engine/build";
import { Dictionary } from "@intlayer/types/dictionary";
import { UnmergedDictionaries } from "@intlayer/unmerged-dictionaries-entry";
//#region src/controllers/dictionary.controller.d.ts
type GetEditorDictionariesResult = ResponseData<UnmergedDictionaries>;
/**
 * Get the Intlayer configuration
 */
declare const getDictionaries: (_req: FastifyRequest, res: FastifyReply) => Promise<void>;
type WriteContentDeclarationBody = {
  dictionary: Dictionary;
};
type WriteContentDeclarationResultData = {
  status: DictionaryStatus;
  path: string;
};
type WriteContentDeclarationResult = ResponseData<WriteContentDeclarationResultData>;
/**
 * Adds a new dictionary to the database.
 */
declare const writeContentDeclaration: (req: FastifyRequest<{
  Body: WriteContentDeclarationBody;
}>, res: FastifyReply) => Promise<void>;
//#endregion
export { GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult, getDictionaries, writeContentDeclaration };
//# sourceMappingURL=dictionary.controller.d.ts.map