import { FlexpriceCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { FlexPriceError } from "../sdk/models/flex-price-error.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/http-client-errors.js"; import { ResponseValidationError } from "../sdk/models/response-validation-error.js"; import { SDKValidationError } from "../sdk/models/sdk-validation-error.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Get invoice PDF * * @remarks * Use when delivering an invoice PDF to the customer (e.g. email attachment or download). Use url=true for a presigned URL instead of binary. Use force_generate=true to regenerate and re-upload the PDF even if one already exists in S3. */ export declare function invoicesGetInvoicePdf(client: FlexpriceCore, id: string, url?: boolean | undefined, forceGenerate?: boolean | undefined, options?: RequestOptions): APIPromise, FlexPriceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>; //# sourceMappingURL=invoices-get-invoice-pdf.d.ts.map