import { PrivateWithIDAPIMethod } from "../APIMethod"; import { APIResponse, Product } from "../../data-model"; export declare class Invest extends PrivateWithIDAPIMethod { protected path: string; protected method: string; protected body: string; /** * @param savings_account This param is obtained from {@link AllSavingsAccounts} * @param opt_code This param is obtained from {@link ValidateFnOTP} */ request(savings_account_id: number, fund: Product, cash_amount: number, opt_code: string): Promise; } export declare class InvestResult { success: boolean; failure_reason?: string; order_id?: string; constructor(values: APIResponse); }