/// import type { ElementClasses } from "../../types"; /** * `Compliance` is a component for rendering the Compliance component. * It provides a method to create a source for the payment. * * @component * @see https://docs.digitalriver.com/digital-river-api/general-resources/reference/elements/compliance-elements * * @param {ComplianceProps} props - The properties that define the behavior of the Compliance component. * @param {string} [props.elementId='dr-compliance'] - The ID of the HTML element where the Compliance component will be mounted. * @param {ComplianceOptions} [props.complianceOptions] - The options for the Compliance component. * * @returns {JSX.Element} A span element with the specified ID. */ export declare const Compliance: ({ elementId, complianceOptions }: ComplianceProps) => JSX.Element; /** * @typedef ComplianceProps * @property {string} elementId - The ID of the HTML element where the Compliance component will be mounted. * @property {ComplianceOptions} complianceOptions - The options for the Compliance component. */ export interface ComplianceProps { elementId?: string; complianceOptions?: ComplianceOptions | any; } /** * @typedef ComplianceOptions * @property {ElementClasses} classes - The classes for the Compliance component. * @property {Object} compliance - The compliance options for the Compliance component. */ export interface ComplianceOptions { classes?: ElementClasses; compliance?: { businessEntityCode?: string; locale?: string; country?: string; language?: string; jpCommerceLawPageUrl?: string; }; } //# sourceMappingURL=compliance.d.ts.map