import { buildQueryTrigger, } from '../../../../controllers/commerce/triggers/headless-query-trigger.js';
/**
 * Defines the `QueryTrigger` controller for the purpose of server-side rendering.
 * @group Definers
 * @param options - The configurable `QueryTrigger` controller options.
 * @returns The `QueryTrigger` controller definition.
 */
export function defineQueryTrigger(options) {
    return {
        search: true,
        build: (engine) => buildQueryTrigger(engine, options),
    };
}
