import { Amount } from '../../../commonStateTypes/amount'; import { ID } from '../../../commonStateTypes/common'; import { ScheduleDaysOfMonth } from '../../../commonStateTypes/timePeriod'; import { AccountType } from '../../../entity/account/accountState'; import { JEScheduledTransaction, ScheduledJournalEntry } from '../../../entity/jeSchedules/jeSchedulesSelector'; import { JEScheduleOtherAttributes } from '../../../entity/jeSchedules/jeSchedulesState'; import { ScheduleJournalEntryStatusCodeType, ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes'; import { TransactionID } from '../../../entity/transaction/stateTypes/transactionID'; import { ZeniDate } from '../../../zeniDayJS'; import ZeniUrl from '../../../zeniUrl'; import { JEScheduleDetailsLocalData, JETransactionLink, ScheduleDetailsLocalData, ScheduleDetailsLocalDataFixedAssets } from './scheduleDetailState'; export declare const getPostingDateAndStatusForIndex: (schedulePostingMonth: number, schedulePostingYear: number, postingDay?: ScheduleDaysOfMonth) => { postingDate: ZeniDate; postingStatus: ScheduleJournalEntryStatusCodeType; }; export declare const createNewSchedulesHelper: (localData: ScheduleDetailsLocalData, totalAmount: Amount, vendorName: string, otherAttributes?: JEScheduleOtherAttributes) => JEScheduleDetailsLocalData[]; export declare const getInitializedJEScheduleDetailsLocalData: (scheduleType: ScheduleTypes, jeScheduleTransactionState: JEScheduledTransaction, scheduleJournalEntryData: ScheduledJournalEntry[]) => ScheduleDetailsLocalData; export declare const getInitializedFixedAssetsJEScheduleDetailsLocalData: (jeScheduleTransactionState: JEScheduledTransaction, scheduleJournalEntryData: ScheduledJournalEntry[]) => ScheduleDetailsLocalDataFixedAssets; export declare const updateAmountsInScheduleDetails: (jeSchedulesLocalData: JEScheduleDetailsLocalData[], actualPeriod: number, rowId: number, totalAmount: number) => JEScheduleDetailsLocalData[]; export declare const getQBOUrlForLink: (qboAppUrl: string, jeLink?: JETransactionLink) => ZeniUrl | undefined; export declare const getThirdPartyIDFromQBOURL: (jeLinkURL: ZeniUrl) => JETransactionLink; export declare const getJETransactionLinkFromThirdPartyId: (thirdPartyID?: ID, transactionId?: ID, recommendedTransactionID?: TransactionID) => JETransactionLink; /** * Function to get type of accounts to fetch for a given tab * @param scheduleType * @returns */ export declare const getAccountsTypesForScheduleDetails: (scheduleType: ScheduleTypes) => AccountType[];