import { buildCoreQuerySummary, } from '../core/query-summary/headless-core-query-summary.js';
/**
 * Creates a `QuerySummary` controller instance.
 *
 * @param engine - The headless engine instance.
 * @returns A `QuerySummary` controller instance.
 *
 * Example: [query-summary.fn.tsx](https://github.com/coveo/ui-kit/blob/main/packages/samples/headless-react/src/components/query-summary/query-summary.fn.tsx)
 *
 * @group Controllers
 * @category QuerySummary
 */
export function buildQuerySummary(engine) {
    return buildCoreQuerySummary(engine);
}
