/// import type { DigitalRiverContext, DigitalRiverProps } from "../types"; /** * `DigitalRiverContainer` is a context provider for the Digital River API. * It initializes the Digital River API, Digital River Checkout, and Dynamic Pricing based on the provided public API key and other props. * It also manages the lifecycle of Digital River elements and components. * * @param {DigitalRiverProps} props - The properties that define the behavior of the Digital River Container. * @param {string} props.publicApiKey - The public API key for the Digital River API. * @param {string} [props.locale='en-us'] - The locale to be used by the Digital River API. Defaults to 'en-us'. * @param {string|null} [props.defaultCountry=null] - The default country to be used by the Digital River API. * @param {boolean} [props.enableDigitalRiver=true] - A flag to enable or disable the Digital River API. Defaults to true. * @param {boolean} [props.enableDigitalRiverCheckout=false] - A flag to enable or disable the Digital River Checkout. Defaults to false. * @param {boolean} [props.enableDynamicPricing=false] - A flag to enable or disable Dynamic Pricing. Defaults to false. * @param {string} [props.currencySelectorElementId='DR-currencySelector'] - The ID of the HTML element where the currency selector will be mounted. Defaults to 'DR-currencySelector'. * @param {React.ReactElement | React.ReactElement[]} [props.children] - The child components to be rendered within this context. * * @returns {JSX.Element} A context provider wrapping the children components. */ export declare const DigitalRiverContainer: ({ publicApiKey, locale, defaultCountry, enableDigitalRiver, enableDigitalRiverCheckout, enableDynamicPricing, currencySelectorElementId, children }: DigitalRiverProps) => JSX.Element; export declare const useDigitalRiverContext: () => DigitalRiverContext; //# sourceMappingURL=digitalRiverContainer.d.ts.map