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