import { AuditData, AuditDocument } from "../types/audit.types.js";
import { Types } from "mongoose";

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

/**
 * Creates a new audit in the database.
 * @param audit - The audit data to create.
 * @returns The created audit.
 */
declare const createAudit: (audit: AuditData) => Promise<AuditDocument>;
/**
 * Finds an audit by its ID.
 * @param auditId - The ID of the audit to find.
 * @returns The audit matching the ID.
 */
declare const getAuditById: (auditId: string | Types.ObjectId) => Promise<AuditDocument>;
/**
 * Finds audits by user ID.
 * @param userId - The ID of the user.
 * @param limit - Number of documents to limit.
 * @param skip - Number of documents to skip.
 * @returns List of audits for the user.
 */
declare const findAuditsByUserId: (userId: string | Types.ObjectId, limit?: number, skip?: number) => Promise<AuditDocument[]>;
/**
 * Finds audits by project ID.
 * @param projectId - The ID of the project.
 * @param limit - Number of documents to limit.
 * @param skip - Number of documents to skip.
 * @returns List of audits for the project.
 */
declare const findAuditsByProjectId: (projectId: string | Types.ObjectId, limit?: number, skip?: number) => Promise<AuditDocument[]>;
//#endregion
export { createAudit, findAuditsByProjectId, findAuditsByUserId, getAuditById };
//# sourceMappingURL=audit.service.d.ts.map