import type { RequestBodyBase, ServiceApiParams, ServiceDataParams } from '../../common'; import { PaymentMethodEnum } from '../../constants'; import type { DiscountTypeEnum, TransactionStatusEnum } from '../../constants'; export type CreateCarnetBankSlipsType = { Amount: number; DueDate: `${DateDayType}/${DateMonthType}/${DateYearType}`; Message: Tuple; DiscountAmount: number; DiscountType: DiscountTypeEnum; DiscountDue: `${DateDayType}/${DateMonthType}/${DateYearType}`; }; export type PaymentObjectCreateCarnet = { PenaltyAmount: number; InterestAmount: number; BankSlips: CreateCarnetBankSlipsType[]; }; export type CreateCarnetData = RequestBodyBase & { PaymentMethod?: typeof PaymentMethodEnum.BOLETO; PaymentObject: PaymentObjectCreateCarnet; }; export type BankSlipsResponse = { IdTransaction: number; Status: TransactionStatusEnum; Message: string; Description: string; BankSlipNumber: string; DueDate: `${DateDayType}/${DateMonthType}/${DateYearType}`; DigitableLine: string; Barcode: string; BankSlipUrl: string; }; export type CreateCarnetResponse = { CarnetUrl: string; Identifier: string; }; export declare function createCarnet({ api }: ServiceApiParams, { data }: ServiceDataParams<{ data: CreateCarnetData; }>): Promise;