import type { i18n } from '@eternal-baguette/atomic'; import React from 'react'; import { AtomicRecsInterface } from '../search/components'; type AtomicRecsInterfaceProps = React.ComponentProps; type GetRecommendations = AtomicRecsInterfaceProps['getRecommendations']; /** * The properties of the AtomicRecsInterface component */ interface WrapperProps extends Omit { /** * An optional callback function that can be used to control the execution of the first query. * * If not provided, a default function will be used, which execute the first query immediately after initialization. */ onReady?: (getRecommendations: GetRecommendations) => 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 AtomicRecsInterface. * @param props * @returns */ export declare const RecsInterfaceWrapper: (props: React.PropsWithChildren) => React.JSX.Element; export {};