import type { ServiceDataParams, ServiceApiParams, RequestBodyBase } from '../../../common'; import { PaymentMethodEnum } from '../../../constants'; import type { DiscountTypeEnum } from '../../../constants'; import type { BaseBoletoResponse } from './common'; export type PaymentObjectCreateBoleto = { DueDate: `${DateDayType}/${DateMonthType}/${DateYearType}`; Instruction: string; Message?: Tuple; PenaltyRate?: number; InterestRate?: number; CancelAfterDue?: boolean; DaysBeforeCancel?: number; IsEnablePartialPayment?: boolean; DiscountAmount?: number; DiscountType?: DiscountTypeEnum; DiscountDue?: `${DateDayType}/${DateMonthType}/${DateYearType}`; }; export type CreateBoletoData = RequestBodyBase & { PaymentMethod?: typeof PaymentMethodEnum.BOLETO; PaymentObject: PaymentObjectCreateBoleto; }; export type CreateBoletoResponse = BaseBoletoResponse; export declare function createBoleto({ payment }: ServiceApiParams, { data }: ServiceDataParams<{ data: CreateBoletoData; }>): Promise;