import { I as InternalApiClient, P as PaginationParams, T as TransactionStatus, N as Network, B as BlindpayApiResponse, b as TrackingTransaction, c as TrackingPayment, d as TrackingComplete, e as TrackingPartnerFee, S as StablecoinToken, f as PaginationMetadata } from '../../api-client-Cw2mNJeR.js';

type Payin = {
    receiver_id: string;
    id: string;
    pix_code?: string;
    memo_code?: string;
    clabe?: string;
    status: TransactionStatus;
    payin_quote_id: string;
    instance_id: string;
    tracking_transaction?: TrackingTransaction;
    tracking_payment?: TrackingPayment;
    tracking_complete?: TrackingComplete;
    tracking_partner_fee?: TrackingPartnerFee;
    created_at: string;
    updated_at: string;
    image_url?: string;
    first_name?: string;
    last_name?: string;
    legal_name?: string;
    type: string;
    payment_method: string;
    sender_amount: number;
    receiver_amount: number;
    token: StablecoinToken;
    partner_fee_amount: number;
    total_fee_amount: number;
    commercial_quotation: number;
    blindpay_quotation: number;
    currency: string;
    billing_fee: number;
    name: string;
    address: string;
    network: Network;
    blindpay_bank_details: {
        routing_number: string;
        account_number: string;
        account_type: string;
        swift_bic_code: string;
        ach: {
            routing_number: string;
            account_number: string;
        };
        wire: {
            routing_number: string;
            account_number: string;
        };
        rtp: {
            routing_number: string;
            account_number: string;
        };
        beneficiary: {
            name: string;
            address_line_1: string;
            address_line_2: string;
        };
        receiving_bank: {
            name: string;
            address_line_1: string;
            address_line_2: string;
        };
    };
};
type ListPayinsInput = {
    instanceId: string;
    params?: PaginationParams & {
        status?: TransactionStatus;
        receiver_id?: Network;
    };
};
type ListPayinsResponse = {
    data: Payin[];
    pagination: PaginationMetadata;
};
type CreatePayinInput = {
    instanceId: string;
    quote_id: string;
    sender_address: string;
    receiver_address: string;
    amount: number;
    token: StablecoinToken;
    network: Network;
    description?: string | null;
};
type GetPayinInput = {
    instanceId: string;
    id: string;
};
type GetPayinResponse = Payin;
type GetPayinTrackInput = {
    id: string;
};
type GetPayinTrackResponse = {
    receiver_id: string;
    id: string;
    pix_code: string;
    memo_code: string;
    clabe: string;
    status: string;
    payin_quote_id: string;
    instance_id: string;
    tracking_transaction: {
        step: string;
        status: string;
        external_id: string;
        completed_at: string;
        sender_name: string;
        sender_tax_id: string;
        sender_bank_code: string;
        sender_account_number: string;
        trace_number: string;
        transaction_reference: string;
        description: string;
    };
    tracking_payment: {
        step: string;
        provider_name: string;
        completed_at: string;
    };
    tracking_complete: {
        step: string;
        transaction_hash: string;
        completed_at: string;
    };
    tracking_partner_fee: {
        step: string;
        transaction_hash: string;
        completed_at: string;
    };
    created_at: string;
    updated_at: string;
    image_url: string;
    first_name: string;
    last_name: string;
    legal_name: string;
    type: string;
    payment_method: string;
    sender_amount: number;
    receiver_amount: number;
    token: StablecoinToken;
    partner_fee_amount: number;
    total_fee_amount: number;
    commercial_quotation: number;
    blindpay_quotation: number;
    currency: string;
    billing_fee: number;
    name: string;
    address: string;
    network: Network;
    blindpay_bank_details: {
        routing_number: string;
        account_number: string;
        account_type: string;
        swift_bic_code: string;
        ach: {
            routing_number: string;
            account_number: string;
        };
        wire: {
            routing_number: string;
            account_number: string;
        };
        rtp: {
            routing_number: string;
            account_number: string;
        };
        beneficiary: {
            name: string;
            address_line_1: string;
            address_line_2: string;
        };
        receiving_bank: {
            name: string;
            address_line_1: string;
            address_line_2: string;
        };
    };
};
type ExportPayinsInput = {
    instanceId: string;
    params?: Pick<PaginationParams, "limit" | "offset"> & {
        status: TransactionStatus;
    };
};
type ExportPayinsResponse = Payin[];
type CreateEvmPayinInput = {
    instanceId: string;
    payin_quote_id: string;
};
type CreateEvmPayinResponse = Pick<Payin, "id" | "status" | "pix_code" | "memo_code" | "clabe" | "tracking_complete" | "tracking_payment" | "tracking_transaction" | "tracking_partner_fee" | "blindpay_bank_details" | "receiver_id" | "receiver_amount">;
declare function createPayinsResource(client: InternalApiClient): {
    list({ instanceId, params, }: ListPayinsInput): Promise<BlindpayApiResponse<ListPayinsResponse>>;
    get({ instanceId, id }: GetPayinInput): Promise<BlindpayApiResponse<GetPayinResponse>>;
    getTrack({ id }: GetPayinTrackInput): Promise<BlindpayApiResponse<GetPayinTrackResponse>>;
    export({ instanceId, params, }: ExportPayinsInput): Promise<BlindpayApiResponse<ExportPayinsResponse>>;
    createEvm({ instanceId, ...data }: CreateEvmPayinInput): Promise<BlindpayApiResponse<CreateEvmPayinResponse>>;
};

export { type CreateEvmPayinInput, type CreateEvmPayinResponse, type CreatePayinInput, type ExportPayinsInput, type ExportPayinsResponse, type GetPayinInput, type GetPayinResponse, type GetPayinTrackInput, type GetPayinTrackResponse, type ListPayinsInput, type ListPayinsResponse, type Payin, createPayinsResource };
