import type { InsightEngine } from '../../app/insight-engine/insight-engine.js'; import type { InsightInterfaceState } from '../../features/insight-interface/insight-interface-state.js'; import { type Controller } from '../controller/headless-controller.js'; /** * The `InsightInterface` controller is responsible for retrieving the Insight interface configuration. * * @group Controllers * @category InsightInterface */ export interface InsightInterface extends Controller { /** * Fetches the Insight interface configuration. */ fetch(): void; /** * A scoped and simplified part of the headless state that is relevant to the `InsightInterface` controller. */ state: InsightInterfaceState; } /** * Creates an `InsightInterface` controller instance. * @param engine - The insight engine. * @returns An `InsightInterface controller instance. * * @group Controllers * @category InsightInterface */ export declare function buildInsightInterface(engine: InsightEngine): InsightInterface;