import { User } from "../types/user.types.js";
import { AccessKeyData, OAuth2Access, Project } from "../types/project.types.js";
import { Types } from "mongoose";

//#region src/services/projectAccessKey.service.d.ts

/**
 * Adds a new access key to a project.
 *
 * @param accessKeyData - The access key data.
 * @param projectId - The ID of the project to add the access key to.
 * @param user - The user adding the access key.
 * @returns The new access key.
 *
 */
declare const addNewAccessKey: (accessKeyData: AccessKeyData, projectId: string | Types.ObjectId, user: User) => Promise<OAuth2Access>;
declare const deleteAccessKey: (clientId: string | Types.ObjectId, project: Project, userId: string | Types.ObjectId) => Promise<OAuth2Access>;
declare const refreshAccessKey: (clientId: string | Types.ObjectId, projectId: string | Types.ObjectId, userId: string | Types.ObjectId) => Promise<OAuth2Access>;
//#endregion
export { addNewAccessKey, deleteAccessKey, refreshAccessKey };
//# sourceMappingURL=projectAccessKey.service.d.ts.map