/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// import type { FilterQuery } from 'mongoose'; import type { IAction } from '~/types'; export declare function createActionMethods(mongoose: typeof import('mongoose')): { getActions: (searchParams: FilterQuery, includeSensitive?: boolean) => Promise; updateAction: (searchParams: FilterQuery, updateData: Partial) => Promise; deleteAction: (searchParams: FilterQuery) => Promise; deleteActions: (searchParams: FilterQuery) => Promise; }; export type ActionMethods = ReturnType;