import type { JSX as AtomicJSX } from '@coveo/atomic';
import type { Result } from '@coveo/headless/recommendation';
import React, { type JSX } from 'react';
interface Template {
    contentTemplate: JSX.Element;
    linkTemplate: JSX.Element;
}
/**
 * The properties of the AtomicRecsList component
 */
interface WrapperProps extends AtomicJSX.AtomicRecsList {
    /**
     * A template function that takes a result item and outputs its target rendering as a JSX element.
     * It can be used to conditionally render different type of result templates based on the properties of each result.
     */
    template: (result: Result) => JSX.Element | Template;
}
/**
 * This component serves as a wrapper for the core AtomicRecsList.
 *
 * @param props
 * @returns
 */
export declare const RecsListWrapper: React.FC<WrapperProps>;
export {};
