import type { i18n } from '@eternal-baguette/atomic'; import React from 'react'; import { AtomicCommerceInterface } from './components'; type AtomicCommerceInterfaceProps = React.ComponentProps; type ExecuteRequest = AtomicCommerceInterfaceProps['executeFirstRequest']; interface WrapperProps extends Omit { /** * An optional callback function that can be used to control the execution of the first request. * * If not provided, a default function will be used, which executes the first request immediately after initialization. */ onReady?: (executeFirstRequest: ExecuteRequest) => Promise; /** * An optional callback that lets you control the interface localization. * * The function receives the search interface 18n instance, which you can then modify (see [Localization](https://docs.coveo.com/en/atomic/latest/usage/atomic-localization/)). * */ localization?: (i18n: i18n) => void; } /** * This component serves as a wrapper for the core AtomicCommerceInterface. * @param props * @returns */ export declare const InterfaceWrapper: (props: React.PropsWithChildren) => React.JSX.Element; export {};