import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "./models/index.js"; export declare class CreditNotes extends ClientSDK { /** * Create credit note * * @remarks * Use when issuing a refund or adjustment (e.g. customer dispute or proration). Links to an invoice; create as draft then finalize. */ createCreditNote(request: models.CreateCreditNoteRequest, options?: RequestOptions): Promise; /** * Get credit note * * @remarks * Use when you need to load a single credit note (e.g. for display or reconciliation). */ getCreditNote(id: string, options?: RequestOptions): Promise; /** * Finalize credit note * * @remarks * Use when locking a draft credit note and applying the credit (e.g. after approval). Once finalized, applied per billing provider. */ processCreditNote(id: string, options?: RequestOptions): Promise; /** * Void credit note * * @remarks * Use when cancelling a draft credit note (e.g. created by mistake). Only draft credit notes can be voided. */ voidCreditNote(id: string, options?: RequestOptions): Promise; } //# sourceMappingURL=credit-notes.d.ts.map