/// import { ElementEventArgument, ElementOnChangeArgument, ElementOptions } from "../../types"; /** * `Konbini` is a component for rendering the Konbini selector. * It uses the Digital River context to create and manage the Konbini element. * * @component * @see https://docs.digitalriver.com/digital-river-api/general-resources/reference/elements/konbini-elements * * @param {KonbiniProps} props - The properties that define the behavior of the Konbini component. * @param {string} [props.elementId='dr-konbini'] - The ID of the HTML element where the Konbini component will be mounted. * @param {ElementOptions} [props.konbiniOptions] - The options for the Konbini component. * @param {function} [props.onChange=()=>{}] - The function to be called when the Konbini component changes. Defaults to an empty function. * @param {function} [props.onReady=()=>{}] - The function to be called when the Konbini component is ready. Defaults to an empty function. * @param {function} [props.onFocus=()=>{}] - The function to be called when the Konbini component gains focus. Defaults to an empty function. * @param {function} [props.onBlur=()=>{}] - The function to be called when the Konbini component loses focus. Defaults to an empty function. * * @returns {JSX.Element} A span element with the specified ID where the Konbini component will be mounted. */ export declare const Konbini: ({ elementId, konbiniOptions, onChange, onReady, onFocus, onBlur, }: KonbiniProps) => JSX.Element; export interface KonbiniProps { elementId?: string; konbiniOptions?: ElementOptions | any; onChange?(data: ElementOnChangeArgument): void; onReady?(data: ElementEventArgument): void; onFocus?(data: ElementEventArgument): void; onBlur?(data: ElementEventArgument): void; } //# sourceMappingURL=konbini.d.ts.map