import type * as I from "./index"; import Resource from "./resource"; export default class Charges extends Resource { resource: string; constructor(payjp: any); list(query?: I.ChargeListOptions): Promise>; create(query: I.ChargeCreationOptions): Promise; retrieve(id: string): Promise; update(id: string, query?: I.ChargeUpdateOptions): Promise; refund(id: string, query?: I.RefundCreationOptions): Promise; reauth(id: string, query?: I.ChargeReauthOptions): Promise; capture(id: string, query?: I.ChargeCaptureOptions): Promise; tds_finish(id: string): Promise; }