import { PrivateWithIDAPIMethod } from "../APIMethod"; import { APIResponse, Order } from "../../data-model"; export declare class CancelOrder 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, order: Order, opt_code: string): Promise; } export declare class CancelResult { success: boolean; failure_reason?: string; constructor(values: APIResponse); }