import { m as CurrencyType, i as PayinPaymentMethod, S as StablecoinToken, k as PayerRules, B as BlindpayApiResponse, j as Currency } from '../../index.d-Gvol1faW.js';
import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';

type CreatePayinQuoteInput = {
    blockchain_wallet_id: string;
    currency_type: CurrencyType;
    payment_method: PayinPaymentMethod;
    request_amount: number;
    token: StablecoinToken;
    is_otc?: boolean | null;
    cover_fees: boolean;
    partner_fee_id: string | null;
    payer_rules?: PayerRules | null;
};
type CreatePayinQuoteResponse = {
    id: string;
    expires_at: number;
    commercial_quotation: number;
    blindpay_quotation: number;
    receiver_amount: number;
    sender_amount: number;
    partner_fee_amount?: number | null;
    flat_fee: number;
    is_otc?: boolean | null;
};
type GetPayinFxRateInput = {
    currency_type: CurrencyType;
    from: Currency;
    to: Currency;
    request_amount: number;
};
type GetPayinFxRateResponse = {
    commercial_quotation: number;
    blindpay_quotation: number;
    result_amount: number;
    instance_flat_fee: number;
    instance_percentage_fee: number;
};
declare function createPayinQuotesResource(instanceId: string, client: InternalApiClient): {
    create({ ...data }: CreatePayinQuoteInput): Promise<BlindpayApiResponse<CreatePayinQuoteResponse>>;
    getFxRate({ ...data }: GetPayinFxRateInput): Promise<BlindpayApiResponse<GetPayinFxRateResponse>>;
};

export { type CreatePayinQuoteInput, type CreatePayinQuoteResponse, type GetPayinFxRateInput, type GetPayinFxRateResponse, createPayinQuotesResource };
