import { ZohoBooksApi } from "../../api";
import { ApiClient } from "common/api-client";
import { Payment, PaymentResponse, PaymentListResponse } from "./types";
export declare class Payments extends ApiClient {
    constructor(baseApi: ZohoBooksApi);
    create(data: Partial<Payment>): Promise<PaymentResponse>;
    list(): Promise<PaymentListResponse>;
    get(paymentId: string): Promise<PaymentResponse>;
    update(paymentId: string, data: Partial<Payment>): Promise<PaymentResponse>;
    delete(paymentId: string): Promise<{
        code: number;
        message: string;
    }>;
    refund(paymentId: string, amount: number, date: string): Promise<any>;
}
