import { o as OAuth2Access, t as AccessKeyData } from "./project.types-DzF_1upP.js";
import { n as ResponseData } from "./responseData-U7Jr-usN.js";
import { FastifyReply, FastifyRequest } from "fastify";

//#region src/controllers/projectAccessKey.controller.d.ts
type AddNewAccessKeyBody = AccessKeyData;
type AddNewAccessKeyResponse = ResponseData<OAuth2Access>;
/**
 * Adds a new access key to a project.
 */
declare const addNewAccessKey: (request: FastifyRequest<{
  Body: AddNewAccessKeyBody;
}>, reply: FastifyReply) => Promise<void>;
type DeleteAccessKeyBody = {
  clientId: string;
};
type DeleteAccessKeyResponse = ResponseData<null>;
/**
 * Deletes an access key from a project.
 */
declare const deleteAccessKey: (request: FastifyRequest<{
  Body: DeleteAccessKeyBody;
}>, reply: FastifyReply) => Promise<void>;
type RefreshAccessKeyBody = {
  clientId: string;
};
type RefreshAccessKeyResponse = ResponseData<OAuth2Access>;
/**
 * Refreshes an access key from a project.
 */
declare const refreshAccessKey: (request: FastifyRequest<{
  Body: RefreshAccessKeyBody;
}>, reply: FastifyReply) => Promise<void>;
//#endregion
export { RefreshAccessKeyBody as a, deleteAccessKey as c, DeleteAccessKeyResponse as i, refreshAccessKey as l, AddNewAccessKeyResponse as n, RefreshAccessKeyResponse as o, DeleteAccessKeyBody as r, addNewAccessKey as s, AddNewAccessKeyBody as t };
//# sourceMappingURL=projectAccessKey.controller-CsopiTtZ.d.ts.map