/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/aggregate" />
/// <reference types="mongoose/types/callback" />
/// <reference types="mongoose/types/collection" />
/// <reference types="mongoose/types/connection" />
/// <reference types="mongoose/types/cursor" />
/// <reference types="mongoose/types/document" />
/// <reference types="mongoose/types/error" />
/// <reference types="mongoose/types/expressions" />
/// <reference types="mongoose/types/helpers" />
/// <reference types="mongoose/types/middlewares" />
/// <reference types="mongoose/types/indexes" />
/// <reference types="mongoose/types/models" />
/// <reference types="mongoose/types/mongooseoptions" />
/// <reference types="mongoose/types/pipelinestage" />
/// <reference types="mongoose/types/populate" />
/// <reference types="mongoose/types/query" />
/// <reference types="mongoose/types/schemaoptions" />
/// <reference types="mongoose/types/schematypes" />
/// <reference types="mongoose/types/session" />
/// <reference types="mongoose/types/types" />
/// <reference types="mongoose/types/utility" />
/// <reference types="mongoose/types/validation" />
/// <reference types="mongoose/types/virtuals" />
/// <reference types="mongoose" />
/// <reference types="mongoose/types/inferschematype" />
import { IFinancialComplianceBorrowerDocument, IFinancialComplianceBorrowerDocumentWithEmailingStatus, IFinancialComplianceBorrowerSettings } from '../models/FinancialComplianceBorrower.model';
import { IFinancialComplianceSettings, IFinancialComplianceSettingsDocument } from '../models/FinancialCompliance.model';
import { NodemailerService } from './nodemailer.service';
import { GlobalsRepository } from '../repositories/globals.repository';
import { GlobalsService } from './globals.service';
import { LoanStatementService } from './loan-statement.service';
import { OrganizationsService } from './organizations.service';
export declare class FinancialComplianceService {
    private readonly globalsRepository;
    private readonly globalsService;
    private readonly getLoanStatementService;
    private readonly getNodemailerService;
    private readonly organizationsService;
    constructor(globalsRepository: GlobalsRepository, globalsService: GlobalsService, getLoanStatementService: () => LoanStatementService, getNodemailerService: () => NodemailerService, organizationsService: OrganizationsService);
    getFinancialComplianceSettings(): Promise<IFinancialComplianceSettingsDocument>;
    updateSettings(newSettings: IFinancialComplianceSettings): Promise<import("mongoose").Document<unknown, {}, IFinancialComplianceSettingsDocument> & IFinancialComplianceSettingsDocument & {
        _id: import("mongoose").Types.ObjectId;
    }>;
    refreshFinancial(): Promise<unknown>;
    refillFinancial(): Promise<null>;
    sendFinancialReminders(ids?: string): Promise<void>;
    sendExternalReminder(ids: string, ignoreRules: boolean): Promise<any>;
    sendInternalReminders(remindedBorrowers: any, stopFundingBorrowers: any): Promise<void>;
    createEmptyBorrower(borrowerId: string): Promise<void>;
    removeBorrower(borrowerId: string): Promise<void>;
    getAllFinancialComplianceBorrowers(): Promise<IFinancialComplianceBorrowerDocumentWithEmailingStatus[]>;
    updateBorrower(id: string, updatedBorrower: IFinancialComplianceBorrowerSettings): Promise<IFinancialComplianceBorrowerDocument>;
    updateLastReminder(financialBorrowerId: string): Promise<void>;
    sendPlaidReminders(): Promise<string[]>;
    getFinancialComplianceBorrower(borrowerId: string): Promise<import("mongoose").FlattenMaps<IFinancialComplianceBorrowerDocument> & {
        _id: import("mongoose").Types.ObjectId;
    }>;
}
