import type { CoreEngine } from '../../app/engine.js'; import type { ContextPayload, ContextValue } from '../../features/context/context-state.js'; import type { ContextInitialState } from './../core/context/headless-core-context.js'; import { type Context, type ContextProps, type ContextState } from '../core/context/headless-core-context.js'; export type { Context, ContextInitialState, ContextPayload, ContextProps, ContextState, ContextValue, }; /** * Creates a `Context` controller instance. * * @param engine - The headless engine. * @param props - The configurable `Context` controller properties. * * @returns A `Context` controller instance. * * @object Controllers * @category Context */ export declare function buildContext(engine: CoreEngine, props?: ContextProps): Context;