import { GoalApi } from '../api'; import { Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from '../types'; import { GlobalStore } from './GlobalStore'; export declare class GoalStore { globalStore: GlobalStore; api: GoalApi; goals: Goal[]; goalsLoaded: boolean; retirementGoals: Goal[]; retirementGoalsLoaded: boolean; retirementGoalAccounts: RetirementGoalAccount[]; retirementGoalAccountsLoaded: boolean; monthlyCashFlowProfile: MonthlyCashFlowProfile | undefined; monthlyCashFlowProfileLoaded: boolean; newRetirementGoalAccounts: RetirementGoalAccount[]; alert: string; selectedGoal: Goal | undefined; constructor(globalStore: GlobalStore); get allGoals(): Goal[]; get orderedGoals(): Goal[]; get debtGoals(): Goal[]; get retirmentGoals(): Goal[]; get savingGoals(): Goal[]; get ongoingGoalsForMicroWidget(): Goal[]; get isAllGoalDataLoaded(): boolean; setGoals: (goals: Goal[]) => void; setRetirementGoals: (goals: Goal[]) => void; setRetirementGoalAccounts: (accounts: RetirementGoalAccount[]) => void; setMonthlyCashFlowProfile: (profile: MonthlyCashFlowProfile) => void; loadGoalData: () => Promise; loadGoals: () => Promise; loadRetirementGoals: () => Promise; loadRetirementGoalAccounts: () => Promise; loadMonthlyCashFlowProfile: () => Promise; addGoal: (goal: Goal) => Promise; addRetirementGoal: (goal: Goal) => Promise; addRetirementGoalAccount: (account: RetirementGoalAccount) => Promise; deleteGoal: (guid: string) => Promise; deleteRetirementGoal: (goal: Goal) => Promise; deleteRetirementGoalAccount: (guid: string) => Promise; reorderGoals: (goals: Goal[]) => Promise; setAlert: (alert: string) => string; setNewRetirementGoalAccounts: (accounts: RetirementGoalAccount[]) => void; setSelectedGoal: (goal: Goal | undefined) => Goal | undefined; updateGoal: (goal: Goal) => Promise; updateRetirementGoal: (goal: Goal) => Promise; updateMonthlyCashFlowProfile: (profile: MonthlyCashFlowProfile) => Promise; }