import { ApiResponse, ExtraOptions, SearchParams } from "../../request"; import { SavingsGoal } from "../../schema/savings-goal"; export interface SavingsGoalsRequests { getSavingsGoals: (params: SearchParams, userId: string, options?: ExtraOptions) => Promise>; getSavingsGoal: ({ goalId, userId, }: { goalId: string; userId: string; }, options?: ExtraOptions) => Promise>; createSavingsGoal: ({ name, imageUrl, notes, accounts, amount, userId, targetDate, }: { name: string; imageUrl?: string; notes?: string; accounts: { id: string; }[]; amount: { value: number; currency?: string; }; userId: string; targetDate?: string; }, options?: ExtraOptions) => Promise>; updateSavingsGoal: ({ goalId, name, amount, imageUrl, notes, accounts, userId, targetDate, }: { goalId: string; name?: string; imageUrl?: string; notes?: string; accounts: { id: string; }[]; amount?: { value: number; }; userId: string; targetDate?: string; }, options?: ExtraOptions) => Promise>; deleteSavingsGoal: ({ goalId, userId, }: { goalId: string; userId: string; }, options?: ExtraOptions) => Promise; } //# sourceMappingURL=savings-goals.d.ts.map