/** * The paymentLinks namespace contains all the client-side functions related to payment link * operations such as starting the payment link creation flow. * * **Client-side only** - This namespace uses proxy-based authentication * (`proxyEndpointDescriptor` (preferred), or `proxyRequestFunction`). * * For server-side operations using access token, import from * `'@qonto/embed-sdk/server/payment-links'`. * * It can be accessed like this: * ```ts * import { paymentLinks } from '@qonto/embed-sdk/payment-links'; * ``` * * Then, the paymentLinks object contains the functions to perform payment link operations: * ```ts * // Preferred: Using proxyEndpointDescriptor * const url = await paymentLinks.getPaymentLinkCreationFlowUrl({ * paymentLinkSettings: { * items: [{ id: '1', title: 'Item 1', type: 'service', quantity: 1, measureUnit: 'unit', unitPrice: { currency: 'EUR', value: '10' }, vatRate: '20' }], * callbackUrl: 'https://example.com/callback', * }, * operationSettings: { proxyEndpointDescriptor } * }); * ``` */ export declare const paymentLinks: { getPaymentLinkCreationFlowUrl: ({ paymentLinkSettings, operationSettings, }: import("./index.server").PaymentLinkParams) => Promise; redirectToPaymentLinkCreationFlow: ({ paymentLinkSettings, operationSettings, }: import("./index.server").PaymentLinkParams) => Promise; }; export type * from './shared/payment-links.types'; export type { ClientOperationSettings, ClientOperationSettingsWithUI, } from '@validation/operation-settings-validation'; //# sourceMappingURL=index.d.ts.map