import { SearchEngine } from '../../app/search-engine/search-engine.js';
import { QueryError, QueryErrorState } from '../core/query-error/headless-core-query-error.js';
export type { QueryError, QueryErrorState };
/**
 * Creates a `QueryError` controller instance.
 *
 * @param engine - The headless engine.
 *
 * @group Controllers
 * @category QueryError
 */
export declare function buildQueryError(engine: SearchEngine): QueryError;
