import { HttpClient } from '../../client/http-client'; import { RefundCreateInput, RefundResponse, RefundListQuery, RefundListResponse, RefundUpdateInput } from '../../types/v2/refunds'; import { BaseResource } from '../base.resource'; /** * Refunds endpoints for API v2 * * @see {@link https://apidocs.culqi.com/#tag/Devoluciones Documentation}. * */ export declare class Refunds extends BaseResource { constructor(http: HttpClient, apiVersion: string); /** * Create refund * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/refunds/create.ts Usage Example} * */ create(data: RefundCreateInput): Promise; /** * Get refunds * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/refunds/find-by.ts Usage Example} * */ findBy(params?: RefundListQuery): Promise; /** * Get refund * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/refunds/find.ts Usage Example} * */ find(id: string): Promise; /** * Update refund metadata * * @see {@link https://github.com/iscodex/culqi-nodejs/blob/main/src/examples/refunds/update.ts Usage Example} * */ update(id: string, data: RefundUpdateInput): Promise; } //# sourceMappingURL=refunds.resource.d.ts.map