import type { SkillManager, SkillMiddlewareSet } from "./types"; import type { DispatchPipelineMiddlewareFn, TurnPipelineMiddlewareFn } from "../../types"; /** Options for the standalone skills middleware factories. */ export interface SkillMiddlewareOptions { /** Re-discover the catalog before hydrating each non-empty turn. */ readonly autoRefresh?: boolean; } /** Create the turn-input middleware that refreshes and projects loaded skills. */ export declare const skillsTurnInputMiddleware: (manager: SkillManager, options?: SkillMiddlewareOptions) => TurnPipelineMiddlewareFn; /** Create the turn-output middleware that removes this set's skill projections. */ export declare const skillsTurnOutputMiddleware: (manager: SkillManager, options?: SkillMiddlewareOptions) => TurnPipelineMiddlewareFn; /** Create the dispatch-input middleware that reconciles skill projections. */ export declare const skillsDispatchInputMiddleware: (manager: SkillManager, options?: SkillMiddlewareOptions) => DispatchPipelineMiddlewareFn; /** Create the dispatch-output middleware that observes and reconciles skill state. */ export declare const skillsDispatchOutputMiddleware: (manager: SkillManager, options?: SkillMiddlewareOptions) => DispatchPipelineMiddlewareFn; /** Build the stable four-middleware skills integration surface. */ export declare const createSkillMiddlewareSet: (manager: SkillManager, options?: SkillMiddlewareOptions) => SkillMiddlewareSet; export type { SkillMiddlewareSet };