import { Product } from '@coveo/relay-event-types';
import { CommerceEngine } from '../../../app/commerce-engine/commerce-engine.js';
/**
 * The `ProductView` controller provides an interface for triggering an analytics event for a product view.
 *
 * @group Buildable controllers
 * @category ProductView
 */
export interface ProductView {
    /**
     * Trigger a view event for the product.
     * @param product - The product view event payload.
     */
    view(product: Product): void;
}
/**
 * Creates an `ProductView` controller instance.
 *
 * @param engine - The headless commerce engine.
 * @returns A `ProductView` controller instance.
 *
 * @group Buildable controllers
 * @category ProductView
 */
export declare function buildProductView(engine: CommerceEngine): ProductView;
