import * as Types from '../types/Types.js'; interface RefundResponse extends Types.Refund, Types.APIResponse { } interface RefundListResponse extends Types.APIResponse { refunds: Array; meta: Types.ListMeta; } interface RefundCreateRequest { amount: string; links: Types.RefundCreateRequestLinks; metadata?: Types.JsonMap; reference?: string; total_amount_confirmation?: string; } interface RefundListRequest { after?: string; before?: string; created_at?: Types.CreatedAtFilter; limit?: string; mandate?: string; payment?: string; refund_type?: Types.RefundRefundType; } interface RefundUpdateRequest { metadata?: Types.JsonMap; } export declare class RefundService { private api; constructor(api: any); create(requestParameters: RefundCreateRequest, idempotencyKey?: string, customHeaders?: Types.JsonMap): Promise; list(requestParameters: RefundListRequest, customHeaders?: Types.JsonMap): Promise; all(requestParameters: RefundListRequest, customHeaders?: Types.JsonMap): AsyncGenerator; find(identity: string, customHeaders?: Types.JsonMap): Promise; update(identity: string, requestParameters: RefundUpdateRequest, customHeaders?: Types.JsonMap): Promise; } export {}; //# sourceMappingURL=refundService.d.ts.map