/** * The paymentLinks namespace contains all the server-side functions related to payment link operations. * This version uses access token-based authentication and is designed for server environments. * * **Server-side only** - This namespace uses access token-based authentication. * * For client-side operations using proxy functions, import from `'@qonto/embed-sdk/payment-links'`. * * **Note:** The `redirectToPaymentLinkCreationFlow` function is not available in the server-side * implementation as it requires browser-specific APIs (`window.location.href`). * * It can be accessed like this: * ```ts * import { paymentLinks } from '@qonto/embed-sdk/server/payment-links'; * ``` * * Then, the paymentLinks object contains the functions to perform payment link operations: * ```ts * 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: { * accessToken: 'your-access-token', * } * }); * ``` */ export declare const paymentLinks: { getPaymentLinkCreationFlowUrl: ({ paymentLinkSettings, operationSettings, }: import("./index.server").PaymentLinkParams) => Promise; }; export type * from './shared/payment-links.types'; export type { ServerOperationSettings } from '@validation/operation-settings-validation'; //# sourceMappingURL=index.server.d.ts.map