import type { ApiKeyAuthContext } from "../common/auth/auth.types";
import { CreateRefundDto } from "./dto/create-refund.dto";
import { RefundService } from "./refund.service";
export declare class RefundController {
    private readonly service;
    constructor(service: RefundService);
    create(auth: ApiKeyAuthContext, dto: CreateRefundDto): Promise<{
        id: string;
        attemptId: string;
        amount: string;
        reason: string | null;
        status: import("@prisma/client").$Enums.PaymentRefundStatus;
        providerRefundId: string | null;
        createdAt: Date;
    }>;
    list(auth: ApiKeyAuthContext, limit?: string, cursor?: string, intentId?: string): Promise<{
        data: {
            id: string;
            attemptId: string;
            amount: string;
            reason: string | null;
            status: import("@prisma/client").$Enums.PaymentRefundStatus;
            providerRefundId: string | null;
            createdAt: Date;
        }[];
        nextCursor: string | null;
    }>;
    findOne(auth: ApiKeyAuthContext, id: string): Promise<{
        id: string;
        attemptId: string;
        amount: string;
        reason: string | null;
        status: import("@prisma/client").$Enums.PaymentRefundStatus;
        providerRefundId: string | null;
        createdAt: Date;
    }>;
}
