import { BaseModel } from '@/models/BaseModel'; import { QRCodeRequest, QRCodeGenerationOptions, QRCodeFormat } from '@/types/qrcode'; export declare class QRCode extends BaseModel implements QRCodeRequest { webshopUrl?: string; referenceId?: string; title?: string; description?: string; purpose?: string | Record; amount?: number; currency?: string; pm?: string[]; psp?: number[]; validity?: number; successRedirectUrl?: string; failedRedirectUrl?: string; skipResultPage?: boolean; preAuthorization?: boolean; chargeOnAuthorization?: boolean; fields?: Record; constructor(data?: Partial); setWebshopUrl(webshopUrl: string): this; getWebshopUrl(): string | undefined; setReferenceId(referenceId: string): this; getReferenceId(): string | undefined; setTitle(title: string): this; getTitle(): string | undefined; setDescription(description: string): this; getDescription(): string | undefined; setPurpose(purpose: string | Record): this; getPurpose(): string | Record | undefined; setAmount(amount: number): this; getAmount(): number | undefined; setCurrency(currency: string): this; getCurrency(): string | undefined; setPm(pm: string[]): this; addPm(pm: string): this; getPm(): string[] | undefined; setPsp(psp: number[]): this; addPsp(psp: number): this; getPsp(): number[] | undefined; setValidity(validity: number): this; getValidity(): number | undefined; setSuccessRedirectUrl(url: string): this; getSuccessRedirectUrl(): string | undefined; setFailedRedirectUrl(url: string): this; getFailedRedirectUrl(): string | undefined; setSkipResultPage(skip: boolean): this; getSkipResultPage(): boolean | undefined; setPreAuthorization(preAuth: boolean): this; getPreAuthorization(): boolean | undefined; setChargeOnAuthorization(charge: boolean): this; getChargeOnAuthorization(): boolean | undefined; addCustomField(name: string, value: any): this; getFields(): Record | undefined; getApiEndpoint(): string; validate(): void; toApiFormat(): QRCodeRequest; generateQRImage(url: string, format?: QRCodeFormat, options?: QRCodeGenerationOptions): Promise; generateQRDataURL(url: string, options?: QRCodeGenerationOptions): Promise; } //# sourceMappingURL=QRCode.d.ts.map