import Restful from '../../index.js'; import { CancellationSearchParams, ConfirmRefundRequest, CreateCancelRequest, RejectCancelRequest } from '../../../../types/index.js'; export default class Cancellation extends Restful { static id: string; get basePath(): string; get useIaf(): boolean; approveCancellationRequest(cancelId: string): Promise; checkCancellationEligibility(legacyOrderId: string): Promise; confirmRefundReceived(cancelId: string, payload?: ConfirmRefundRequest): Promise; createCancellation(payload: CreateCancelRequest): Promise; getCancellation(cancelId: string, fieldGroups?: string): Promise; rejectCancellationRequest(cancelId: string, payload?: RejectCancelRequest): Promise; search(params: CancellationSearchParams): Promise; }